From: Jeremy Fitzhardinge Subject: Re: [PATCH RFC V2 3/5] jump_label: if a key has already been initialized, don't nop it out Date: Thu, 06 Oct 2011 14:42:37 -0700 Message-ID: <4E8E20CD.5030207@goop.org> References: <477dead9647029012f93c651f2892ed0e86b89e7.1317506051.git.jeremy.fitzhardinge@citrix.com> <20111003150205.GB2462@redhat.com> <4E89E28C.7010700@goop.org> <20111004141011.GA2520@redhat.com> <4E8B3489.60902@zytor.com> <4E8CF348.4080405@goop.org> <4E8CF385.2080804@zytor.com> <4E8DEB19.1050509@goop.org> <20111006181055.GA2505@redhat.com> <1317925615.4729.14.camel@gandalf.stny.rr.com> <4E8DF870.6010000@redhat.com> <1317929321.4729.17.camel@gandalf.stny.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1317929321.4729.17.camel@gandalf.stny.rr.com> Sender: linux-kernel-owner@vger.kernel.org To: Steven Rostedt Cc: Richard Henderson , Jason Baron , "H. Peter Anvin" , "David S. Miller" , David Daney , Michael Ellerman , Jan Glauber , the arch/x86 maintainers , Xen Devel , Linux Kernel Mailing List , Jeremy Fitzhardinge , peterz@infradead.org List-Id: xen-devel@lists.xenproject.org On 10/06/2011 12:28 PM, Steven Rostedt wrote: >> (2) Always reserve 5 bytes of space, but if the distance is small enough >> patch in a 2-byte jump. That doesn't help with the icache footprint. > I don't think this one is worth it. I disagree. This is what I benchmarked as having a 5% improvement. If squashing out the padding helps, then that's a separate optimisation. J