Messages in this thread | | | Date | Wed, 16 Apr 2003 08:00:44 -0700 (PDT) | Subject | Re: Reduce struct page by 8 bytes on 64bit | From | "David S. Miller" <> |
| |
From: Andi Kleen <ak@muc.de> Date: Wed, 16 Apr 2003 17:04:27 +0200
Sure, but you use a 64bit read/store in set_bit/clear_bit etc., right?
If yes then you can't use this unless you rewrite them to use 32bit store - otherwise it will conflict with the atomic_t counter in the 64bit slot which is not protected.
It will be protected by the same spinlock, look at how the thing works :-) - 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/
| |