lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50BC08D0.5070006@cn.fujitsu.com>
Date:	Mon, 03 Dec 2012 10:05:04 +0800
From:	Lin Feng <linfeng@...fujitsu.com>
To:	cavokz@...il.com
CC:	akpm@...ux-foundation.org, viro@...iv.linux.org.uk, bcrl@...ck.org,
	kamezawa.hiroyu@...fujitsu.com, mhocko@...e.cz, hughd@...gle.com,
	cl@...ux.com, mgorman@...e.de, minchan@...nel.org,
	isimatu.yasuaki@...fujitsu.com, laijs@...fujitsu.com,
	wency@...fujitsu.com, tangchen@...fujitsu.com,
	linux-fsdevel@...r.kernel.org, linux-aio@...ck.org,
	linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [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,
linfeng
> 
> Thanks,
> Domenico
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ