lkml.org 
[lkml]   [2005]   [Sep]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
FromRoland Dreier <>
DateFri, 09 Sep 2005 07:51:23 -0700
    Anton> fs/ntfs/malloc.h::ntfs_malloc_nofs() to do the kmalloc()
    Anton> based allocations with __GFP_HIGHMEM, analogous to how the
    Anton> vmalloc() based allocations are done.

Does it make sense to pass __GFP_HIGHMEM to kmalloc()?  kmalloc() has
to return memory from lowmem, since it gives you an address from the
direct-mapped kernel area, so at best kmalloc() ignores this flag.

 - R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-09 14:53    [from the cache]
©2003-2008