From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 29 07:37:23 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7358216A4B3 for ; Mon, 29 Sep 2003 07:37:23 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 281F743F3F for ; Mon, 29 Sep 2003 07:37:22 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h8TEbHOP001408; Mon, 29 Sep 2003 16:37:17 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: earthman From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 29 Sep 2003 17:22:47 +0300." <811112091.20030929172247@inbox.ru> Date: Mon, 29 Sep 2003 16:37:17 +0200 Message-ID: <1407.1064846237@critter.freebsd.dk> cc: freebsd-hackers@freebsd.org Subject: Re: user malloc from kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2003 14:37:23 -0000 In message <811112091.20030929172247@inbox.ru>, earthman writes: >hi > > >how to allocate some memory chunk >in user space memory from kernel code? >how to do it correctly? You shouldn't and it would be very trick to do right if at all. Try to tell us what you're trying to do and maybe we can find a better way to do that ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.