Re: Switching TestSetPageLocked to trylock_page

From: Benjamin Herrenschmidt
Date: Tue Aug 05 2008 - 00:03:55 EST



> Yup. A mechanical rename-foo-to-bar can be prepared and merged late -
> there's little payback for the pain of maintaining it for a couple of
> months.
>
> Would prefer either that we hold off until after 2.6.27 is released or
> just do it now.

I'd like to have the performance improvement on powerpc in 2.6.27 :-)

I've always hated the way we abused bitops as locks, it's terribly
inefficient for us, so that's a nice cleanup as far as I'm concerned.

Cheers,
Ben.


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