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:	Thu, 17 Jan 2013 12:02:02 -0800
From:	"greg@...ah.com" <greg@...ah.com>
To:	"Tu, Xiaobing" <xiaobing.tu@...el.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"swetland@...gle.com" <swetland@...gle.com>,
	"Zhang, Di" <di.zhang@...el.com>,
	"Zhang, Yanmin" <yanmin.zhang@...el.com>
Subject: Re: Subject: [PATCH] [lmk]  improve ANR produce rate caused by high
 io wait on android,create a thread for lowmem killer instead of usingkswapd

On Fri, Dec 14, 2012 at 05:51:47PM +0000, Tu, Xiaobing wrote:
> Resend to fix the typo issue.
> 
> 
> Subject: [PATCH] [lmk] create a thread for low mem killer instead of using kswapd
> 
> Currently low mem killer is registered as a shrinker and will be
> invoked by kswapd. Since low mem killer and kswapd has different
> criteria to invoke to work -- kswap wakes up when watermark of some
> certain order in zone is low, and low mem killer should do its job
> when free memory is below the min free threshold. In the case that
> the kswapd isn't waked up and lmk is, the killed process selected
> by lmk will release memory so that the kswapd doesn't need towork
> any more.So it is not appropriate to mix them together. A 20 minutes
> average vmstat shows that the iowait/page fault has huge improvement.
> In this way, it can reduce the chance of ANR due to high iowait.
> 
> orignal:
> flt    wa
> 62.70 2.00
> 
> with patch
> flt    wa
> 2.32  0.01
> 
> Signed-off-by: Zhang Di <di.zhang@...el.com>
> Signed-off-by: xiaobing tu <xiaobing.tu@...el.com>
> ---
>  drivers/staging/android/lowmemorykiller.c |   87 +++++++++++++++++++++++++++--
>  mm/page_alloc.c                           |    7 ++-
>  mm/vmscan.c                               |    2 +
>  3 files changed, 89 insertions(+), 7 deletions(-)

This patch breaks the build if the android code is not selected, please
fix this up and resend if you really need this.

thanks,

greg k-h
--
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