diff options
author | Jaya Kumar <jayakumar.lkml@gmail.com> | 2007-05-08 03:37:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 14:15:26 -0400 |
commit | 60b59beafba875aef6d378078bce0baf2287ae14 (patch) | |
tree | bb599c0e2ad43ee8f515a9f9af009442931b6a37 /mm | |
parent | 3a2842480bbef42c3c90e14c1f378360d8c20a0c (diff) |
fbdev: mm: Deferred IO support
This implements deferred IO support in fbdev. Deferred IO is a way to delay
and repurpose IO. This implementation is done using mm's page_mkwrite and
page_mkclean hooks in order to detect, delay and then rewrite IO. This
functionality is used by hecubafb.
[adaplas]
This is useful for graphics hardware with no directly addressable/mappable
framebuffer. Implementing this will allow the "framebuffer" to be accesible
from user space via mmap().
Signed-off-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/rmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -505,6 +505,7 @@ int page_mkclean(struct page *page) | |||
505 | 505 | ||
506 | return ret; | 506 | return ret; |
507 | } | 507 | } |
508 | EXPORT_SYMBOL_GPL(page_mkclean); | ||
508 | 509 | ||
509 | /** | 510 | /** |
510 | * page_set_anon_rmap - setup new anonymous rmap | 511 | * page_set_anon_rmap - setup new anonymous rmap |