Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751407AbVIIOve (ORCPT ); Fri, 9 Sep 2005 10:51:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751411AbVIIOve (ORCPT ); Fri, 9 Sep 2005 10:51:34 -0400 Received: from ams-iport-1.cisco.com ([144.254.224.140]:25116 "EHLO ams-iport-1.cisco.com") by vger.kernel.org with ESMTP id S1751407AbVIIOve (ORCPT ); Fri, 9 Sep 2005 10:51:34 -0400 To: Anton Altaparmakov Cc: Linus Torvalds , linux-kernel@vger.kernel.org, linux-ntfs-dev@lists.sourceforge.net Subject: Re: [PATCH 2/25] NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version. X-Message-Flag: Warning: May contain useful information References: From: Roland Dreier Date: Fri, 09 Sep 2005 07:51:23 -0700 In-Reply-To: (Anton Altaparmakov's message of "Fri, 9 Sep 2005 10:19:52 +0100 (BST)") Message-ID: <52ek7yi9as.fsf@cisco.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 09 Sep 2005 14:51:25.0186 (UTC) FILETIME=[F3797620:01C5B54D] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 645 Lines: 14 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/