Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755310AbaA1RFQ (ORCPT ); Tue, 28 Jan 2014 12:05:16 -0500 Received: from mail-ee0-f52.google.com ([74.125.83.52]:48556 "EHLO mail-ee0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754736AbaA1RFO (ORCPT ); Tue, 28 Jan 2014 12:05:14 -0500 Date: Tue, 28 Jan 2014 18:05:07 +0100 From: Ingo Molnar To: Linus Torvalds Cc: "H. Peter Anvin" , Richard Weinberger , "H. Peter Anvin" , Kees Cook , Cong Ding , Ingo Molnar , Linux Kernel Mailing List , Mathias Krause , Michael Davidson , Thomas Gleixner , Wei Yongjun Subject: Re: [GIT PULL] x86/kaslr for v3.14 Message-ID: <20140128170507.GA16279@gmail.com> References: <52E6954F.2060303@nod.at> <20140128062806.GA20750@gmail.com> <52E76997.40303@nod.at> <52E7D2E5.8090208@linux.intel.com> <52E7D9FF.1080506@nod.at> <52E7DB15.3090808@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Linus Torvalds wrote: > On Tue, Jan 28, 2014 at 8:30 AM, H. Peter Anvin wrote: > > > > I don't think there is any way to not break anything... we're > > introducing a new kind of object ("normalized kernel pointer") here. > > I suspect we could just drop the addresses entirely if we have a > symbolic version. It's not like the hex addresses are all that > interesting, and in commit messages I actually end up editing them > out just because they are worthless noise. Well, I often use the hex numbers to look them up and disassemble them in a vmlinux via gdb and 'list *0x1234123412341234' - where the vmlinux has no debuginfo. (Debuginfo takes longer to build so I generally build without it.) I'm quite sure other kernel developers do that as well. > So we could just do "schedule+0x45/0x368" without the actual hex > address in brackets.. AFAICS this won't work in a symbol-less vmlinux. Is there some trick to do it with gdb? Thanks, Ingo -- 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/