Thread (7 messages) flat view 7 messages, 2 authors, 2007-09-20

Re: [PATCH 3/3] netlink: use a statically allocated nl_table instead

From: David Miller <davem@davemloft.net>
Date: 2007-09-16 23:38:36
Also in: lkml

From: Denis Cheng <redacted>
Date: Sun,  2 Sep 2007 03:45:59 +0800
if the table is always fixed size with MAX_LINKS entries, why not use a statically
allocated table straightforwardly?

Signed-off-by: Denis Cheng <redacted>
I made the explicit decision to dynamically allocate because
many systems have limits on how large the kernel image can
be and therefore the less we statically allocate huge tables
(constant size or not) the better.

Lockdep is the worst offender, for example, it's completely awful.  It
consumes 4MB of kernel BSS space when enabled on a 64-bit platform.

Patch not applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help