lkml.org 
[lkml]   [2012]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined
> The best I can think of is to make changes in or around
> get_user_pages(), to steal the pages from userspace and replace them
> with non-movable ones before pinning them. The performance cost of
> something like this would surely be unacceptable for direct-io, but
> maybe OK for the aio ring and futexes.

In the aio case it seems like it could be taught to populate the mapping
with non-movable pages to begin with. It's calling get_user_pages() a
few lines after instantiating the mapping itself with do_mmap_pgoff().

- z


\
 
 \ /
  Last update: 2012-11-30 01:41    [W:0.111 / U:3.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site