Re: [PATCH] Scalable page cache

David S. Miller (davem@redhat.com)
Mon, 26 Nov 2001 11:57:23 -0800 (PST)


From: Andrew Morton <akpm@zip.com.au>
Date: Mon, 26 Nov 2001 11:45:36 -0800

It would be nice to have a full complement of non-atomic
bitops. At present we have __set_bit, but no __clear_bit, etc.

So we often do buslocked RMW's in places where it's not needed.

I totally agree about fixing up bitops.

I have a patch which cleans up the filesystem bitops. Specifically,
right now we use things like "ext2_set_bit()" in places where we care
what the old value was and also in places where we don't.

So I added "ext2_test_and_set_bit()" and the like.

I therefore plan to flesh this out, and flesh out the non-atomic
bitops, then resubmit.

I did the work originally during 2.4.15-preX which made me have to
back it out of my tree temporarily while Linus was in anal patch
acceptance mode.

Ahh, speaking of bitops, what's the status of the ext3 bitops bugs I
found Andrew? :-) Those are pretty serious.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/