[PATCH] Remove cond_resched in gather_stats()
authorChristoph Lameter <clameter@sgi.com>
Thu, 20 Apr 2006 09:43:12 +0000 (02:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 20 Apr 2006 14:54:03 +0000 (07:54 -0700)
commit6d472be37896b1c41b50f3da124f8b7718ba7797
treec01adec9db3c85b48e337189b4fdc1f7e6f23733
parent4409ebe9afabe7db77eaaae9eb3eb05b8315ce4a
[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>
mm/mempolicy.c