Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757188Ab1DMHah (ORCPT ); Wed, 13 Apr 2011 03:30:37 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:55769 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757056Ab1DMHag (ORCPT ); Wed, 13 Apr 2011 03:30:36 -0400 Date: Wed, 13 Apr 2011 08:29:35 +0100 From: Russell King - ARM Linux To: Benjamin Herrenschmidt Cc: Alexey Dobriyan , KOSAKI Motohiro , Andrew Morton , LKML , linux-mm , Hugh Dickins , Dave Hansen , KAMEZAWA Hiroyuki , Paul Mundt Subject: Re: mm: convert vma->vm_flags to 64bit Message-ID: <20110413072935.GK7806@n2100.arm.linux.org.uk> References: <1302646024.28876.52.camel@pasglop> <20110413091301.41E1.A69D9226@jp.fujitsu.com> <20110413064432.GA4098@p183> <1302678049.28876.77.camel@pasglop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1302678049.28876.77.camel@pasglop> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 838 Lines: 18 On Wed, Apr 13, 2011 at 05:00:49PM +1000, Benjamin Herrenschmidt wrote: > On Wed, 2011-04-13 at 09:44 +0300, Alexey Dobriyan wrote: > > > Yes, I take Hugh's version because vm_flags_t is ugly to me. And > > arch > > > dependent variable size is problematic. > > > > Who said it should have arch-dependent size? > > Right, it shouldn't. My original patch did that to avoid thinking about > archs that manipulated it from asm such as ARM but that wasn't the right > thing to do. But that doesn't invalidate having a type. No, we don't manipulate it. We only test for VM_EXEC in it in asm. -- 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/