Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 6 Dec 2017 09:48:12 +0100
From: Geert Uytterhoeven <>
To: Linus Torvalds <>
Cc: "Tobin C. Harding" <>, 
	"" <>, 
	"Jason A. Donenfeld" <>, "Theodore Ts'o" <>, Kees Cook <>, 
	Paolo Bonzini <>, Tycho Andersen <>, 
	"Roberts, William C" <>, Tejun Heo <>, 
	Jordan Glover <>, Greg KH <>, 
	Petr Mladek <>, Joe Perches <>, Ian Campbell <>, 
	Sergey Senozhatsky <>, Catalin Marinas <>, 
	Will Deacon <>, Steven Rostedt <>, 
	Chris Fries <>, Dave Weinstein <>, 
	Daniel Micay <>, Djalal Harouni <>, 
	Radim Krčmář <>, 
	"" <>, Network Development <>, 
	David Miller <>, Stephen Rothwell <>, 
	Andrey Ryabinin <>, Alexander Potapenko <>, 
	Dmitry Vyukov <>, Andrew Morton <>, 
	Sergei Shtylyov <>
Subject: Re: [PATCH V11 3/5] printk: hash addresses printed with %p

Hi Linus,

On Wed, Dec 6, 2017 at 12:33 AM, Linus Torvalds
<> wrote:
> On Tue, Dec 5, 2017 at 2:57 PM, Geert Uytterhoeven <> wrote:
>> Lowest 3 is good enough for all natural types, up to long long.
>> We may still receive complaints from people who care about seeing if
>> a pointer is cacheline-aligned or not. Fixing that may need up to 7 bits, I'm
>> afraid, which is a bit too much to give up.
> I really think even the lowest three is a bit too much.
> Who really cares? If it's something that is particularly _about_
> alignment (ie an alignment trap), maybe just print out those bits
> separately.

If I'm not mistaken, some architectures don't generate alignment traps, but
just zero the LSBs.

> And for everything else? It's purely about getting used to it.

Yes, we will get used to it.

I agree that for debugging during development, we will just use %px and be

Storm in a glass of water, everybody will have forgotten by the time v4.16 is



Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ