> I like the idea of matching the existing attributes as closely as > possible. However, RCU provides a use case for distinguishing readers > and writers: you might have a variable that you can read if you hold > the RCU reader "lock", but you can only write if you hold a spinlock. Oh good point. What way would you prefer? I can add another parameter to the attribute, as in __attribute__((context(ctx,in,out,[read|write]))) (readwrite is implied), but that adds another parsing ambiguity. I have just sent you another patch (was offline for a few days) that probably won't apply without this, I'll fix this one and then do the other ones on top. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part