From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 15 14:48:43 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1E7B106566C for ; Thu, 15 Jul 2010 14:48:43 +0000 (UTC) (envelope-from kalash.nainwal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 70BA48FC08 for ; Thu, 15 Jul 2010 14:48:43 +0000 (UTC) Received: by bwz12 with SMTP id 12so557708bwz.13 for ; Thu, 15 Jul 2010 07:48:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YhboQVI2HBvfzYcWUPW/gb5HxFbqof7JC7Mu47HfkjE=; b=hCwxNMW/tQXFRRy87T6EtjwYiutZ6HHbGb3kWkDujdHKQ/En+GkvnXssNH8VTigO/7 VrPZtNuQQuIpMI0weZ4q3LOgyUNfBr02nT22zZRe0C3Kl7WYgkpDF/yjS7x+9B93KN+e cQCUgnZaWWLVHM9Z8hbl1OdVzYLhiw/+4Ffps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FuUIKH5n5BKqaLxZRDnKcxG8A5iqcz4RbUpyULKccmp4V82rQp1+sZ8/493yND4JiA dfARgY8Ei/bE1ciEZupx2uoYxv8y4rYes8WF8Kbjik1ihujzcKfjodY8mX+5mfds97d7 OboqWSZpmGkWV96onMn/Kh2lAJgD7ByZ+EBV4= MIME-Version: 1.0 Received: by 10.103.197.5 with SMTP id z5mr3127648mup.107.1279205322161; Thu, 15 Jul 2010 07:48:42 -0700 (PDT) Received: by 10.220.192.8 with HTTP; Thu, 15 Jul 2010 07:48:41 -0700 (PDT) In-Reply-To: <20100715111622.77770@gmx.net> References: <20100715111622.77770@gmx.net> Date: Thu, 15 Jul 2010 20:18:41 +0530 Message-ID: From: kalash nainwal To: =?ISO-8859-1?Q?Marc_L=F6rner?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: how to do page level mem alloc in freebsd kernel? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2010 14:48:44 -0000 On Thu, Jul 15, 2010 at 4:46 PM, "Marc L=F6rner" wrote: > Hello, > what about using contigmalloc(9), there you can specify > alignment and boundary. > > HTH, > Marc > Thanks Marc. I had thought of using contigmalloc, but was not sure what would be the other args (boundary, low, high etc.) in my case. So was looking for a simpler interface. Regards, -Kalash