]> git.baikalelectronics.ru Git - kernel.git/commit
fb_defio: redo fix for non-dirty ptes
authorAlbert Herranz <albert_herranz@yahoo.es>
Fri, 4 Jun 2010 21:14:57 +0000 (14:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jun 2010 22:21:45 +0000 (15:21 -0700)
commit2d5985760d4df2f9d487978ffa1c83fe01e3328f
treeb853410433ef654e6a152804aa5dd2837cc0a2d7
parentae3c393aca432166add2e87ccd2b65b37f57ca49
fb_defio: redo fix for non-dirty ptes

As pointed by Nick Piggin, ->page_mkwrite provides a way to keep a page
locked until the associated PTE is marked dirty.

Re-implement the fix by using this mechanism.

Signed-off-by: Albert Herranz <albert_herranz@yahoo.es>
Acked-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Acked-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fb_defio.c