login
Header Space

 
 

Re: [PATCH 1/7] omfs: define filesystem structures

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bob Copeland <me@...>
Cc: Pavel Machek <pavel@...>, <linux-kernel@...>, <linux-fsdevel@...>
Date: Friday, March 28, 2008 - 11:15 pm

On Saturday 29 March 2008, Bob Copeland wrote:

Actually, we don't normally add the attribute((packed)) in cases like
this one, where you already have manual padding in it. Marking this
structure packed would only cause a small performance loss on accesses
of its members on certain architectures, but not have an impact on
correctness.

No architecture supported by Linux requires higher than natural alignment
for any integer types, and a lot of other code would break otherwise.

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/7] omfs: define filesystem structures, Bob Copeland, (Wed Mar 26, 8:45 pm)
Re: [PATCH 1/7] omfs: define filesystem structures, Pavel Machek, (Fri Mar 28, 4:19 pm)
Re: [PATCH 1/7] omfs: define filesystem structures, Bob Copeland, (Fri Mar 28, 7:18 pm)
Re: [PATCH 1/7] omfs: define filesystem structures, Arnd Bergmann, (Fri Mar 28, 11:15 pm)
Re: [PATCH 1/7] omfs: define filesystem structures, Jamie Lokier, (Sat Mar 29, 11:29 am)
Re: [PATCH 1/7] omfs: define filesystem structures, Bob Copeland, (Sat Mar 29, 11:16 pm)
speck-geostationary