From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH] mm: add sys_madvise2 and MADV_NAME to name vmas Date: Wed, 10 Jul 2013 16:08:36 -0700 Message-ID: <51DDE974.6060200@intel.com> References: <1372901537-31033-1-git-send-email-ccross@android.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1372901537-31033-1-git-send-email-ccross@android.com> Sender: owner-linux-mm@kvack.org To: Colin Cross Cc: linux-kernel@vger.kernel.org, Kyungmin Park , Christoph Hellwig , John Stultz , Rob Landley , Arnd Bergmann , Andrew Morton , Cyrill Gorcunov , David Rientjes , Davidlohr Bueso , Kees Cook , Al Viro , Hugh Dickins , Mel Gorman , Michel Lespinasse , Rik van Riel , Konstantin Khlebnikov , Peter Zijlstra , Rusty Russell , "Eric W. Biederman" , Oleg Nesterov , Srikar Dronamraju , KAMEZAWA Hiroyuki , Michal List-Id: linux-arch.vger.kernel.org On 07/03/2013 06:31 PM, Colin Cross wrote: > @@ -289,6 +291,7 @@ struct vm_area_struct { > #ifdef CONFIG_NUMA > struct mempolicy *vm_policy; /* NUMA policy for the VMA */ > #endif > + struct vma_name *vm_name; > }; You could probably get rid of the extra pointer by unioning this with vm_file. They should not ever get used together. We would, however, have to transition away from checking vma->vm_file for "is this vma file-backed"? We are out of VM_* flag space which is a bummer. -- 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