>Last I checked, all the places where multiple bit state checks are
>done are safe and are guarded by other locking mechanisms already.
Yes, I agree that such optimization won't harm now but using the bitops
looks the right thing to do to me. I think if you want to mix the bitflags
you should do the thing by hand (exactly as we _just_ do in buffer_busy()
for example).
Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/