]> git.baikalelectronics.ru Git - kernel.git/commit
Fix clear_refs_write() use of struct mm_walk
authorAndrew Morton <akpm@linux-foundation.org>
Sat, 5 Jul 2008 19:29:05 +0000 (12:29 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 5 Jul 2008 20:07:56 +0000 (13:07 -0700)
commit96113d6bddfdb8e78ed6104aaf006313e74db836
tree067d4d64badaa772a8c132c03f4e42875e35e3c4
parent00320f83c8fb12cd6408be2003bc7f741be61d1d
Fix clear_refs_write() use of struct mm_walk

Don't use a static entry, so as to prevent races during concurrent use
of this function.

Reported-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c