[OpenAFS-devel] [PATCH] linux kernel memory allocation and __GFP_HIGHMEM

Jeffrey Hutzelman jhutz@cmu.edu
Fri, 02 Jun 2006 11:51:03 -0400


On Friday, June 02, 2006 11:18:42 AM -0400 Joe Buehler 
<jbuehler@spirentcom.com> wrote:

> If I understand the kernel allocator correctly, the following patch
> seems appropriate to enable kmalloc calls to use high memory:

No; memory used for kernel-mode data structures must be direct-mapped in 
the kernel, and cannot be in the HIGHMEM zone.  The existing code is 
correct.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA