From: "David S. Miller" Subject: Re: [PATCH] Make xfrm subsystem optional Date: Sat, 14 Jun 2003 04:26:36 -0700 (PDT) Sender: netdev-bounce@oss.sgi.com Message-ID: <20030614.042636.74749587.davem@redhat.com> References: <20030614093630.GB16993@wotan.suse.de> <20030614.023843.78709528.davem@redhat.com> <20030614101851.GA24170@wotan.suse.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@oss.sgi.com Return-path: To: ak@suse.de In-Reply-To: <20030614101851.GA24170@wotan.suse.de> Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org From: Andi Kleen 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. Oh, I see, we do that already... end of discussion I guess.