Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756384Ab2FNVPa (ORCPT ); Thu, 14 Jun 2012 17:15:30 -0400 Received: from mga01.intel.com ([192.55.52.88]:36729 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755286Ab2FNVP3 (ORCPT ); Thu, 14 Jun 2012 17:15:29 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="165810868" Message-ID: <4FDA5413.9080400@linux.intel.com> Date: Thu, 14 Jun 2012 14:13:55 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Rik van Riel CC: Borislav Petkov , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, sjhill@mips.com, ralf@linux-mips.org, Rob Herring , Russell King , Nicolas Pitre Subject: Re: bugs in page colouring code References: <20120613152936.363396d5@cuia.bos.redhat.com> <20120614103627.GA25940@aftab.osrc.amd.com> <4FD9DFCE.1070609@redhat.com> <4FDA5087.7090606@linux.intel.com> <4FDA519F.4080204@redhat.com> In-Reply-To: <4FDA519F.4080204@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 998 Lines: 27 On 06/14/2012 02:03 PM, Rik van Riel wrote: > On 06/14/2012 04:58 PM, H. Peter Anvin wrote: >> On 06/14/2012 05:57 AM, Rik van Riel wrote: >>> >>> However, I expect that on x86 many applications expect >>> MAP_FIXED to just work, and enforcing that would be >>> more trouble than it's worth. >>> >> >> MAP_FIXED, is well, fixed. It means that performance be screwed, if we >> can fulfill the request we MUST do so. > > My codebase now has a separate arch_align_addr function > for x86, which is surprisingly similar to the generic > one :) I am much more skeptical to disabling page coloring in the !PF_RANDOMIZE case when no address hint is proposed. I would like to at least try running without it, perhaps with a chicken bit in a sysctl. -hpa -- 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/