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

From: Sasha Levin
Date: Wed Jun 06 2012 - 07:36:19 EST


On Wed, 2012-06-06 at 07:30 -0400, Konrad Rzeszutek Wilk wrote:
>
> On Jun 6, 2012 6:55 AM, "Sasha Levin" <levinsasha928@xxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/