From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753100AbcLIGiQ (ORCPT ); Fri, 9 Dec 2016 01:38:16 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:38498 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751570AbcLIGiO (ORCPT ); Fri, 9 Dec 2016 01:38:14 -0500 Date: Fri, 9 Dec 2016 06:38:04 +0000 From: Al Viro To: Michal Hocko Cc: Dave Chinner , linux-mm@kvack.org, Andrew Morton , Vlastimil Babka , David Rientjes , Mel Gorman , Johannes Weiner , Anatoly Stepanov , LKML , Paolo Bonzini , Mike Snitzer , dm-devel@redhat.com, "Michael S. Tsirkin" , "Theodore Ts'o" , kvm@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-security-module@vger.kernel.org Subject: Re: [RFC PATCH] mm: introduce kv[mz]alloc helpers Message-ID: <20161209063803.GY1555@ZenIV.linux.org.uk> References: <20161208103300.23217-1-mhocko@kernel.org> <20161209014417.GN4326@dastard> <20161209020016.GX1555@ZenIV.linux.org.uk> <20161209062224.GB12012@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161209062224.GB12012@dhcp22.suse.cz> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 09, 2016 at 07:22:25AM +0100, Michal Hocko wrote: > > Easier to handle those in vmalloc() itself. > > I think there were some attempts in the past but some of the code paths > are burried too deep and adding gfp_mask all the way down there seemed > like a major surgery. No need to propagate gfp_mask - the same trick XFS is doing right now can be done in vmalloc.c in a couple of places and that's it; I'll resurrect the patches and post them tomorrow after I get some sleep. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [RFC PATCH] mm: introduce kv[mz]alloc helpers Date: Fri, 9 Dec 2016 06:38:04 +0000 Message-ID: <20161209063803.GY1555@ZenIV.linux.org.uk> References: <20161208103300.23217-1-mhocko@kernel.org> <20161209014417.GN4326@dastard> <20161209020016.GX1555@ZenIV.linux.org.uk> <20161209062224.GB12012@dhcp22.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Dave Chinner , linux-mm@kvack.org, Andrew Morton , Vlastimil Babka , David Rientjes , Mel Gorman , Johannes Weiner , Anatoly Stepanov , LKML , Paolo Bonzini , Mike Snitzer , dm-devel@redhat.com, "Michael S. Tsirkin" , Theodore Ts'o , kvm@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-security-module@vger.kernel.org To: Michal Hocko Return-path: Content-Disposition: inline In-Reply-To: <20161209062224.GB12012@dhcp22.suse.cz> Sender: owner-linux-mm@kvack.org List-Id: linux-ext4.vger.kernel.org On Fri, Dec 09, 2016 at 07:22:25AM +0100, Michal Hocko wrote: > > Easier to handle those in vmalloc() itself. > > I think there were some attempts in the past but some of the code paths > are burried too deep and adding gfp_mask all the way down there seemed > like a major surgery. No need to propagate gfp_mask - the same trick XFS is doing right now can be done in vmalloc.c in a couple of places and that's it; I'll resurrect the patches and post them tomorrow after I get some sleep. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org