From owner-freebsd-hackers Wed Aug 12 18:26:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA16229 for freebsd-hackers-outgoing; Wed, 12 Aug 1998 18:26:30 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA16218 for ; Wed, 12 Aug 1998 18:26:27 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id SAA02535; Wed, 12 Aug 1998 18:26:18 -0700 (PDT) Message-Id: <199808130126.SAA02535@implode.root.com> To: Emmanuel Duros cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Allocating memory in a network device driver In-reply-to: Your message of "Wed, 12 Aug 1998 23:22:54 +0200." <199808122122.XAA03579@chouette.inria.fr> From: David Greenman Reply-To: dg@root.com Date: Wed, 12 Aug 1998 18:26:18 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Do we get the same result with : ? > > u_char buf[BUFSIZ]; No. That would allocate a large amount of kernel stack space which is precious and must not be wasted. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message