linux-mips
[Top] [All Lists]

Re: kmalloc question

To: "Finney, Steve" <Steve.Finney@SpirentCom.COM>
Subject: Re: kmalloc question
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 9 Oct 2003 10:09:40 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <DC1BF43A8FAE654DA6B3FB7836DD3A56DEB76D@iris.adtech-inc.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <DC1BF43A8FAE654DA6B3FB7836DD3A56DEB76D@iris.adtech-inc.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Wed, Oct 08, 2003 at 03:06:50PM -1000, Finney, Steve wrote:

> Is kmalloc (GFP_KERNEL) on a 32 bit HIGHMEM enabled MIPS kernel (BCM/Sibyte 
> processor) guaranteed to allocate memory from the low, KSEG0/1 addressible 
> region? I'm having trouble sorting through the slab.c code. On this 
> processor, only 256 MB of DRAM is directly addressible; with more than 256 MB 
> of RAM, there is 256 MB in zone 0, and the remainder in zone 2. Zone 1 is 
> empty.

Yes.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>