Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH V11 4/5] vsprintf: add printk specifier %px

$
0
0
Linus Torvalds writes: (Summary) In fact, it used to be a "%08lx" - and the value we print out is "unsigned long - but then when we unified the 32- and 64-bit architectures, using "%p" and a cast was a convenient way to unify the 32-bit %08lx and the 16-bit %016lx formats.
32-bit %08lx and the 16-bit %016lx formats.
Will fix.
Will fix.

[...]

...

[...]

or is it OK to show hashes instead of pgd or pmd pointers? This is from the 1.1.7 patch, back when mm/memory.c was all about x86:
mm/memory.c was all about x86:
+ printk(KERN_ALERT "current->tss.cr3 = %08lx, %%cr3 = %08lx\n", + current->tss.cr3, user_esp);
+ user_esp = ((unsigned long *) user_esp)[address >>

Viewing all articles
Browse latest Browse all 1267

Trending Articles