[lkml]   [2001]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Scalable page cache
   From: Andrew Morton <>
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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:0.072 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site