[lkml]   [2012]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined
hi Domenico,

Sorry for my late reply and thanks for your attention, see below :)

On 11/30/2012 11:24 PM, Domenico Andreoli wrote:
> On Thu, Nov 29, 2012 at 02:54:58PM +0800, Lin Feng wrote:
>> Hi all,
> Hi Lin,
>> We encounter a "Resource temporarily unavailable" fail while trying
>> to offline a memory section in a movable zone. We found that there are
>> some pages can't be migrated. The offline operation fails in function
>> migrate_page_move_mapping() returning -EAGAIN till timeout because
>> the if assertion 'page_count(page) != 1' fails.
> is this something that worked before? if yes (then it's a regression)
> do you know with which kernel?

I think it's a problem exist long ago since we got the offline feature,
while I'm not sure from which version :)

It can only be reproduce by a zone-movable configured system holding
pages allocated by get_user_pages() for a long time.

Maybe we could also reproduce it by write a app just calls io_setup()
syscall and never release until it dies. Then locate the memory section
from which pages are allocated and try to offline it.

In fact if one doesn't want to use offline/hotplug memory feature,
to whom it's not a bug :)

> Thanks,
> Domenico

 \ /
  Last update: 2012-12-03 03:41    [W:0.116 / U:1.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site