From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754283AbYJFNU6 (ORCPT ); Mon, 6 Oct 2008 09:20:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752987AbYJFNUu (ORCPT ); Mon, 6 Oct 2008 09:20:50 -0400 Received: from one.firstfloor.org ([213.235.205.2]:37125 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752618AbYJFNUu (ORCPT ); Mon, 6 Oct 2008 09:20:50 -0400 Date: Mon, 6 Oct 2008 15:26:51 +0200 From: Andi Kleen To: "Kirill A. Shutemov" Cc: Andi Kleen , Ingo Molnar , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton Subject: Re: [PATCH] x86_64: Implement personality ADDR_LIMIT_32BIT Message-ID: <20081006132651.GG3180@one.firstfloor.org> References: <1223017469-5158-1-git-send-email-kirill@shutemov.name> <20081003080244.GC25408@elte.hu> <20081003092550.GA8669@localhost.localdomain> <87abdintds.fsf@basil.nowhere.org> <20081006081717.GA20072@localhost.localdomain> <20081006084246.GC3180@one.firstfloor.org> <20081006091709.GB20852@localhost.localdomain> <20081006095628.GE3180@one.firstfloor.org> <20081006101221.GA21183@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081006101221.GA21183@localhost.localdomain> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Linux interfaces are not supposed to be "interfaces for qemu" but generally > > applicable interfaces. > > I know. What about adding both personality() and flag for shmat()? I can > prepare patch that implement flag for shmat(). It would be better to just fix all calls in qemu than to add a new personality. There aren't that many anyways. personality is really more a kludge for bug-to-bug compatibility with old binaries (that is where the 3GB personality came from to work around bugs in some old JVMs that could not deal with a full 4GB address space), it shouldn't be really used for anything new. -Andi -- ak@linux.intel.com