On Fri, Sep 09, 2005 at 07:51:23AM -0700, Roland Dreier wrote: > 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()? Not at all (as you indicated below..) > 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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
- From: Anton Altaparmakov <[email protected]>
- Re: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
- References:
- [2.6-GIT] NTFS: Release 2.1.24.
- From: Anton Altaparmakov <[email protected]>
- [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
- From: Anton Altaparmakov <[email protected]>
- Re: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
- From: Roland Dreier <[email protected]>
- [2.6-GIT] NTFS: Release 2.1.24.
- Prev by Date: Re: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
- Next by Date: Re: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
- Previous by thread: Re: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
- Next by thread: Re: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version.
- Index(es):