]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "xen/p2m: m2p_find_override: use list_for_each_entry_safe"
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 20 Apr 2012 15:50:30 +0000 (11:50 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 20 Apr 2012 15:56:00 +0000 (11:56 -0400)
commita2330362a4070214fd136e1d475f880565145b20
tree74a155c6e4e051cf7322168c7293fbee543131c2
parent103b7a62a269328e3ded815195c3abc9506707de
Revert "xen/p2m: m2p_find_override: use list_for_each_entry_safe"

This reverts commit 3cf08e660d96a2c312112cb786135db2b19f0ddb.

If we have another thread (very likely) touched the list, we
end up hitting a problem "that the next element is wrong because
we should be able to cope with that. The problem is that the
next->next pointer would be set LIST_POISON1. " (Stefano's
comment on the patch).

Reverting for now.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c