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]
Date:	Wed, 27 May 2009 15:43:27 +0900
From:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
To:	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc:	"linux-mm@...ck.org" <linux-mm@...ck.org>,
	"balbir@...ux.vnet.ibm.com" <balbir@...ux.vnet.ibm.com>,
	"nishimura@....nes.nec.co.jp" <nishimura@....nes.nec.co.jp>,
	"hugh.dickins@...cali.co.uk" <hugh.dickins@...cali.co.uk>,
	"hannes@...xchg.org" <hannes@...xchg.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC][PATCH] memcg: fix swap account (26/May)[0/5]

On Tue, 26 May 2009 12:12:59 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com> wrote:

> [1/5] change interface of swap_duplicate()/swap_free()
>     Adds an function swapcache_prepare() and swapcache_free().
> 
> [2/5] add SWAP_HAS_CACHE flag to swap_map
>     Add SWAP_HAS_CACHE flag to swap_map array for knowing an information that
>     "there is an only swap cache and swap has no reference" 
>     without calling find_get_page().
> 
> [3/5] Count the number of swap-cache-only swaps
>     After repeating swap-in/out, there are tons of cache-only swaps.
>    (via a mapped swapcache under vm_swap_full()==false)
>     This patch counts the number of entry and show it in debug information.
>    (for example, sysrq-m)
> 
> [4/5] fix memcg's swap accounting.
>     change the memcg's swap accounting logic to see # of references to swap.
> 
> [5/5] experimental garbage collection for cache-only swaps.
>     reclaim swap enty which is not used.
> 

Thank you for all reviews. I'll repost when new mmotm comes. 
maybe
[1/5] ... nochage
[2/5] ... fix the bug Nishimura-san pointed out
[3/5] ... drop
[4/5] ... no change
[5/5] ... will use direct reclaim in get_swap_page().

Thanks,
-Kame

--
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