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

Re: [PATCH 06/12] mm: Add get_kernel_page[s] for pinning of kernel addresses for I/O

From: Rik van Riel <hidden>
Date: 2012-06-20 16:12:57
Also in: linux-nfs, lkml, netdev

On 06/20/2012 05:37 AM, Mel Gorman wrote:
This patch adds two new APIs get_kernel_pages() and get_kernel_page()
that may be used to pin a vector of kernel addresses for IO. The initial
user is expected to be NFS for allowing pages to be written to swap
using aops->direct_IO(). Strictly speaking, swap-over-NFS only needs
to pin one page for IO but it makes sense to express the API in terms
of a vector and add a helper for pinning single pages.

Signed-off-by: Mel Gorman<mgorman@suse.de>
Reviewed-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