[Top] [All Lists]

Re: kmalloc/pci_alloc and skbuff's

To: Geoffrey Espin <>
Subject: Re: kmalloc/pci_alloc and skbuff's
From: "Gleb O. Raiko" <>
Date: Wed, 19 Dec 2001 12:05:23 +0300
Organization: NIISI RAN
References: <>
Geoffrey Espin wrote:
> The Markham board (Korva/VR41xx variant) which I'm trying to get
> submitted, has a PCI problem.  It doesn't allow a PCI device to
> see all the DRAM.  DMA-able data must be in a special 4MB range,
> which is currently set at 0x01c00000 (the last 4MB of a 32MB
> system). SKB's must be allocated within this area for a
> (say, Ethernet) PCI device to access. There appears to be no way
> to tell kmalloc(), used in alloc_skb(), to allocate memory from
> any special address range.

What's wrong with GFP_DMA ? Doesn't it solve exactly this problem ?


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