[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171206152621.2c263569ea623dd1e0119848@linux-foundation.org>
Date: Wed, 6 Dec 2017 15:26:21 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Suren Baghdasaryan <surenb@...gle.com>
Cc: mhocko@...e.com, hannes@...xchg.org, hillf.zj@...baba-inc.com,
minchan@...nel.org, mgorman@...hsingularity.net,
ying.huang@...el.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, timmurray@...gle.com,
tkjos@...gle.com
Subject: Re: [PATCH] mm: terminate shrink_slab loop if signal is pending
On Wed, 6 Dec 2017 11:20:26 -0800 Suren Baghdasaryan <surenb@...gle.com> wrote:
> Slab shrinkers can be quite time consuming and when signal
> is pending they can delay handling of the signal. If fatal
> signal is pending there is no point in shrinking that process
> since it will be killed anyway. This change checks for pending
> fatal signals inside shrink_slab loop and if one is detected
> terminates this loop early.
Some quantification of "quite time consuming" and "delay" would be
interesting, please.
Powered by blists - more mailing lists