Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756647Ab1DMHBc (ORCPT ); Wed, 13 Apr 2011 03:01:32 -0400 Received: from gate.crashing.org ([63.228.1.57]:42190 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755295Ab1DMHBb (ORCPT ); Wed, 13 Apr 2011 03:01:31 -0400 Subject: Re: mm: convert vma->vm_flags to 64bit From: Benjamin Herrenschmidt To: Alexey Dobriyan Cc: KOSAKI Motohiro , Andrew Morton , LKML , linux-mm , Hugh Dickins , Dave Hansen , KAMEZAWA Hiroyuki , Paul Mundt , Russell King In-Reply-To: <20110413064432.GA4098@p183> References: <1302646024.28876.52.camel@pasglop> <20110413091301.41E1.A69D9226@jp.fujitsu.com> <20110413064432.GA4098@p183> Content-Type: text/plain; charset="UTF-8" Date: Wed, 13 Apr 2011 17:00:49 +1000 Message-ID: <1302678049.28876.77.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 20 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. Cheers, Ben. -- 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/