Re: Reduce struct page by 8 bytes on 64bit

David S. Miller
2003-04-16T14:55:46Z

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 :-)