[PATCH] Remove cond_resched in gather_stats()
commit602e0343a69b4300de4b889d644f95983dfdc9cd
authorChristoph Lameter <clameter@sgi.com>
Thu, 20 Apr 2006 09:43:12 +0000 (20 02:43 -0700)
committerChris Wright <chrisw@sous-sol.org>
Sat, 20 May 2006 22:00:32 +0000 (20 15:00 -0700)
treeb0c918d82735e1df06f621dbdb6b257bf59d7160
parentdc0f369552b491d1578e8a8c6f6512e17246241c
[PATCH] Remove cond_resched in gather_stats()

gather_stats() is called with a spinlock held from check_pte_range.  We
cannot reschedule with a lock held.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
mm/mempolicy.c