]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit20cbc972617069c1ed434f62151e4de57d26ea46
tree067d4d64badaa772a8c132c03f4e42875e35e3c4
parentfbe0825752dc34b505777fd59cde4a6ce832eb16
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