]> git.baikalelectronics.ru Git - kernel.git/commit
mm: debug check for the fault vs invalidate race
authorNick Piggin <npiggin@suse.de>
Mon, 16 Jul 2007 06:38:12 +0000 (23:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:35 +0000 (09:05 -0700)
commit2f9f78ad1180c5fcfa21932b3fb98eb226eaecfe
tree64c8439a53f4ca402a9d7deb2a455aa0de08c8ea
parent1880c3b13c0ba7d6a4a036e2bc3bbba54f9e5071
mm: debug check for the fault vs invalidate race

Add a bugcheck for Andrea's pagefault vs invalidate race.  This is triggerable
for both linear and nonlinear pages with a userspace test harness (using
direct IO and truncate, respectively).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c