Re: [PATCH 1/2] mm,vmscan: Kill global shrinker lock.

From: Tetsuo Handa
Date: Mon Nov 20 2017 - 05:56:37 EST

Christoph Hellwig wrote:
> On Mon, Nov 20, 2017 at 10:42:37AM +0100, Michal Hocko wrote:
> > The patch has been dropped because allnoconfig failed to compile back
> > then
> > I have problem to find the follow up discussion though. The main
> > argument was that SRC is not generally available and so the core
> > kernel should rely on it.
> Paul,
> isthere any good reason to not use SRCU in the core kernel and
> instead try to reimplement it using atomic counters?

CONFIG_SRCU was added in order to save system size. There are users who run Linux on very
small systems ( ).

Also, atomic counters are not mandatory for shrinker case; e.g. .