Re: [patch 3/3] mm: PageActive no testset

From: Nick Piggin
Date: Thu Jan 19 2006 - 15:01:02 EST


On Thu, Jan 19, 2006 at 02:52:22PM -0200, Marcelo Tosatti wrote:
> On Thu, Jan 19, 2006 at 03:50:08PM +0100, Nick Piggin wrote:
>
> > The test-set / test-clear operations also kind of imply that it is
> > being used for locking or without other synchronisation (usually).
>
> Non-atomic versions such as __ClearPageLRU()/__ClearPageActive() are
> not usable, though.
>

Correct. Although I was able to use them in a couple of other places
in a subsequent patch in the series. I trust you don't see a problem
with those usages?

Thanks,
Nick

-
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/