Re: [BUG REPORT] [mm-hotplug, aio] aio ring_pages can't be offlined
From: Lin Feng <hidden>
Date: 2012-12-03 02:05:04
Also in:
linux-fsdevel, lkml
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:quoted
Hi all,Hi Lin,quoted
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, linfeng
Thanks, Domenico
-- 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>