All of lore.kernel.org
 help / color / mirror / Atom feed
From: "greg@kroah.com" <greg@kroah.com>
To: "Tu, Xiaobing" <xiaobing.tu@intel.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"swetland@google.com" <swetland@google.com>,
	"Zhang, Di" <di.zhang@intel.com>,
	"Zhang, Yanmin" <yanmin.zhang@intel.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
Date: Thu, 17 Jan 2013 12:02:02 -0800	[thread overview]
Message-ID: <20130117200202.GA18131@kroah.com> (raw)
In-Reply-To: <EE928378561BF1449699C96571234A740FF11D0A@SHSMSX102.ccr.corp.intel.com>

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@intel.com>
> Signed-off-by: xiaobing tu <xiaobing.tu@intel.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

  reply	other threads:[~2013-01-17 20:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-14 17:51 Subject: [PATCH] [lmk] improve ANR produce rate caused by high io wait on android,create a thread for lowmem killer instead of usingkswapd Tu, Xiaobing
2013-01-17 20:02 ` greg [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-14 16:30 Tu, Xiaobing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130117200202.GA18131@kroah.com \
    --to=greg@kroah.com \
    --cc=di.zhang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=swetland@google.com \
    --cc=xiaobing.tu@intel.com \
    --cc=yanmin.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.