Thread (26 messages) 26 messages, 2 authors, 2012-06-20

Re: [PATCH 07/12] mm: Add support for direct_IO to highmem pages

From: Rik van Riel <hidden>
Date: 2012-06-20 17:09:28
Also in: linux-mm, linux-nfs, lkml

On 06/20/2012 05:37 AM, Mel Gorman wrote:
The patch "mm: Add support for a filesystem to activate swap files and
use direct_IO for writing swap pages" added support for using direct_IO
to write swap pages but it is insufficient for highmem pages.

To support highmem pages, this patch kmaps() the page before calling the
direct_IO() handler. As direct_IO deals with virtual addresses an
additional helper is necessary for get_kernel_pages() to lookup the
struct page for a kmap virtual address.

Signed-off-by: Mel Gorman<mgorman@suse.de>
Acked-by: Rik van Riel<redacted>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help