From: Keir Fraser Subject: Re: [PATCH] x86: move struct bug_frame instances out of line Date: Thu, 22 Aug 2013 19:46:17 +0100 Message-ID: References: <5216153D02000078000EDA5F@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1VCZts-0007iO-5g for xen-devel@lists.xenproject.org; Thu, 22 Aug 2013 18:46:28 +0000 Received: by mail-wg0-f46.google.com with SMTP id k13so1964120wgh.25 for ; Thu, 22 Aug 2013 11:46:26 -0700 (PDT) In-Reply-To: <5216153D02000078000EDA5F@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 22/08/2013 12:42, "Jan Beulich" wrote: > Just like Linux did many years ago, move them into a separate (data) > section, such that they no longer pollute instruction caches and TLBs. > > Assertion frames, requiring two pointers to be stored, occupy two slots > in the array, with the second slot mimicking a frame the location > pointer of which doesn't match any address within .text or .init.text > (it effectively points back to the slot itself, which - being in a data > section - can't be reached by non-buggy execution). > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser