This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [thockin@cobaltnet.com] libc/1206: thread stack is misaligned on mips


Andreas Jaeger <aj@arthur.rhein-neckar.de> writes:

|> 1999-07-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
| >
|> 	* internals.h: Align _pthread_descr_struct to 32
|> 	bytes.  We need to align it to 16 bytes for MIPS64 and 8 bytes
|> 	for MIPS, 32 bytes might give better cache utilization.
|> 	Reported by Tim Hockin <thockin@cobaltnet.com>, closes PR
|> 	libc/1206.

Just a note: such comments (I'm refering to the second sentence) are
better to be put in the code, not the ChangeLog.  Everything should be
understandable just by reading the code, even if the ChangeLogs are
missing.

Andreas.

-- 
Andreas Schwab                                  "And now for something
schwab@suse.de                                   completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]