Thread (12 messages) 12 messages, 4 authors, 2003-06-15

Re: [PATCH] Make xfrm subsystem optional

flat view

From: Andi Kleen <hidden>
Date: 2003-06-14 18:32:32

On Sat, Jun 14, 2003 at 04:26:36AM -0700, David S. Miller wrote:
   From: Andi Kleen [off-list ref]
   Date: Sat, 14 Jun 2003 12:18:51 +0200
   
   Allocating it at first lookup would be racy (would need a nasty
   spinlock at least). It may be possible at first policy setup, but
   it's not guaranteed you can still get two 32K continuous areas. You
   could fall back to vmalloc I guess.

Andi, you're getting rediculious.  Add a xfrm_whatever_init() call
and allocate the table there.
Did you actually read what I wrote? Allocating on init is useless
from the bloat perspective because it's 100% equivalent to an BSS 
allocation.

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