Marvell MV6436xx ethernet driver patch

Christoph Hellwig hch at lst.de
Wed Aug 31 05:09:39 EST 2005


On Tue, Aug 30, 2005 at 08:07:33PM +0100, Nicolas DET wrote:
> By the way, I noticed that page_address() sometimes returns NULL when using
> highmem (with a lot of mem).

You can only use page_address() on kernel-mapped memory.  For
non-GFP_KERNEL allocation you need to use kmap/kmap_atomic to map it
into kernel-virtual memory space.




More information about the Linuxppc-dev mailing list