On Thu, Feb 23, 2006 at 09:28:58AM -0800, Badari Pulavarty wrote: > How about doing this ? Change b_state to u32 and change b_size > to "size_t". This way, we don't increase the overall size of > the structure on 64-bit machines. Isn't it ? I was thinking of that too, but that doesn't work with the bit operations on big endian machines (which require unsigned long). Oh well, I guess that even with adding an extra 8 bytes on x86-64 we're still at the 96 bytes, or 92 bytes if the atomic_t is put at the end of the struct. -ben -- "Ladies and gentlemen, I'm sorry to interrupt, but the police are here and they've asked us to stop the party." Don't Email: <[email protected]>. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] change b_size to size_t
- From: Badari Pulavarty <[email protected]>
- Re: [PATCH] change b_size to size_t
- References:
- [PATCH 0/3] map multiple blocks in get_block() and mpage_readpages()
- From: Badari Pulavarty <[email protected]>
- Re: [PATCH 0/3] map multiple blocks in get_block() and mpage_readpages()
- From: christoph <[email protected]>
- Re: [PATCH 0/3] map multiple blocks in get_block() and mpage_readpages()
- From: Badari Pulavarty <[email protected]>
- Re: [PATCH 0/3] map multiple blocks in get_block() and mpage_readpages()
- From: christoph <[email protected]>
- Re: [PATCH 0/3] map multiple blocks in get_block() and mpage_readpages()
- From: Nathan Scott <[email protected]>
- Re: [PATCH 0/3] map multiple blocks in get_block() and mpage_readpages()
- From: Andrew Morton <[email protected]>
- [PATCH] change b_size to size_t
- From: Badari Pulavarty <[email protected]>
- Re: [PATCH] change b_size to size_t
- From: Benjamin LaHaise <[email protected]>
- Re: [PATCH] change b_size to size_t
- From: Badari Pulavarty <[email protected]>
- [PATCH 0/3] map multiple blocks in get_block() and mpage_readpages()
- Prev by Date: Re: [OT] portable Makefiles (was: CD writing in future Linux (stirring up a hornets' nest))
- Next by Date: Re: [PATCH 4/7] ppc64 - Specify amount of kernel memory at boot time
- Previous by thread: Re: [PATCH] change b_size to size_t
- Next by thread: Re: [PATCH] change b_size to size_t
- Index(es):