* [KJ] /mm/slab.c
@ 2006-03-13 20:34 Christophe Jaillet
0 siblings, 0 replies; only message in thread
From: Christophe Jaillet @ 2006-03-13 20:34 UTC (permalink / raw)
To: kernel-janitors
Hi all,
in /mm/slab.c we can find around line 263 :
struct array_cache {
unsigned int avail;
unsigned int limit;
unsigned int batchcount;
unsigned int touched;
spinlock_t lock;
void *entry[0]; /*
* Must have this definition in here for the proper
* alignment of array_cache. Also simplifies accessing
* the entries.
* [0] is for gcc 2.95. It should really be [].
*/
};
The last line of the comment seems outdated, so maybe it could be removed
and the [0] turned into [] as suggested which is IMO a bit clearer.
As far as I know (/Documentation/Changes), 2.95 is no more the reference
when building the kernel.
As I have actually no way to compile the kernel, I just point it out in case
someone wants to give it a try.
CJ
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-13 20:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-13 20:34 [KJ] /mm/slab.c Christophe Jaillet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.