Re: [PATCH] Scalable page cache

From: David S. Miller (davem@redhat.com)
Date: Mon Nov 26 2001 - 14:57:23 EST


   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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:23 EST