Thread (27 messages) flat view 27 messages, 4 authors, 2007-09-13

Re: [PATCH 08/15] Use spufs_coredump_num_notes everywhere, and don't NULL terminate

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-09-12 08:59:16
Also in: lkml

On Wednesday 12 September 2007, Michael Ellerman wrote:
The spufs_coredump_read array is NULL terminated, and we also store the size.
We only need one or the other, and storing the size should save a teensy bit
of memory vs NULL terminating, so do that.
Given that we have another array in there with almost the same contents
and that is NULL terminated, I'd vote for doing it the other way and also
use NULL-termination instead of the count here.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help