summaryrefslogtreecommitdiffstats
path: root/Documentation/fb
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2008-02-06 10:39:10 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 19:41:15 +0100
commit529e55b6a57bda6df9e45eb268589efc70f63303 (patch)
tree6f9424043fa47f4c0a6f59e79fa7094ec10da6d1 /Documentation/fb
parentfbmon: cleanup trailing whitespaces (diff)
downloadlinux-529e55b6a57bda6df9e45eb268589efc70f63303.tar.xz
linux-529e55b6a57bda6df9e45eb268589efc70f63303.zip
fb: defio nopage
Convert fb defio from nopage to fault. Switch from OOM to SIGBUS if the resource is not available. Signed-off-by: Nick Piggin <npiggin@suse.de> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Jaya Kumar <jayakumar.lkml@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/fb')
-rw-r--r--Documentation/fb/deferred_io.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/fb/deferred_io.txt b/Documentation/fb/deferred_io.txt
index 63883a892120..748328370250 100644
--- a/Documentation/fb/deferred_io.txt
+++ b/Documentation/fb/deferred_io.txt
@@ -7,10 +7,10 @@ IO. The following example may be a useful explanation of how one such setup
works:
- userspace app like Xfbdev mmaps framebuffer
-- deferred IO and driver sets up nopage and page_mkwrite handlers
+- deferred IO and driver sets up fault and page_mkwrite handlers
- userspace app tries to write to mmaped vaddress
-- we get pagefault and reach nopage handler
-- nopage handler finds and returns physical page
+- we get pagefault and reach fault handler
+- fault handler finds and returns physical page
- we get page_mkwrite where we add this page to a list
- schedule a workqueue task to be run after a delay
- app continues writing to that page with no additional cost. this is