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] [day] [month] [year] [list]
Date:	Mon, 23 Jan 2012 19:53:45 +0800
From:	Hillf Danton <dhillf@...il.com>
To:	Johannes Weiner <hannes@...xchg.org>
Cc:	linux-mm@...ck.org, Michal Hocko <mhocko@...e.cz>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Ying Han <yinghan@...gle.com>, Hugh Dickins <hughd@...gle.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mm: vmscan: ensure reclaiming pages on the lru lists of zone

On Mon, Jan 23, 2012 at 7:20 PM, Johannes Weiner <hannes@...xchg.org> wrote:
> On Mon, Jan 23, 2012 at 12:47:34AM +0800, Hillf Danton wrote:
>> Hi all
>>
>> For easy review, it is re-prepared based on 3.3-rc1.
>>
>> Thanks
>> Hillf
>>
>> ===cut please===
>> From: Hillf Danton <dhillf@...il.com>
>> Subject: [PATCH] mm: vmscan: ensure reclaiming pages on the lru lists of zone
>>
>> While iterating over memory cgroup hierarchy, pages are reclaimed from each
>> mem cgroup, and reclaim terminates after a full round-trip. It is possible
>> that no pages on the lru lists of given zone are reclaimed, as termination
>> is checked after the reclaiming function.
>>
>> Mem cgroup iteration is rearranged a bit to make sure that pages are reclaimed
>> from both mem cgroups and zone.
>
> It's not only possible, it's guaranteed: with the memory controller
> enabled, the global per-zone lru lists are empty.
>
> Pages used to be linked on the global per-zone AND the memcg per-zone
> lru lists.  Nowadays, they only sit on the memcg per-zone lists, which
> is why global reclaim does a hierarchy walk.
>

Thanks for getting me up to date 8-)
Hillf
--
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