Re: [PATCH 05/11] mm: frontswap: split frontswap_shrink further to eliminate locking games

Sasha Levin
2012-06-06T11:36:13Z

On Wed, 2012-06-06 at 07:30 -0400, Konrad Rzeszutek Wilk wrote:
>
> On Jun 6, 2012 6:55 AM, "Sasha Levin" <levinsasha928@gmail.com> wrote:
> >
> > Split frontswap_shrink to eliminate the locking issues in the
> original code.
>
> Can you describe the locking issue please?

I may have worded that wrong, it's less of an "issue" and more of a
complicated code to deal with locking, specifically the extra local
variable to keep track whether we are locking or not.