]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: stop printing kernel addresses
authorMatteo Croce <mcroce@redhat.com>
Mon, 18 Mar 2019 01:32:36 +0000 (02:32 +0100)
committerDennis Zhou <dennis@kernel.org>
Mon, 18 Mar 2019 17:36:36 +0000 (10:36 -0700)
commit6b632da71f20158e82d9af92d0d2c1882a59b119
treeaff33d24414c64630fd8b83e0c5672c91ca845dc
parente34ba0d7c8ee128a8a7cc0a1d0345206aeb6a4e5
percpu: stop printing kernel addresses

Since commit c50104c2c22fe576 ("printk: hash addresses printed with %p"),
at boot "____ptrval____" is printed instead of actual addresses:

    percpu: Embedded 38 pages/cpu @(____ptrval____) s124376 r0 d31272 u524288

Instead of changing the print to "%px", and leaking kernel addresses,
just remove the print completely, cfr. e.g. commit d348227135b3b59c
("arm64: Stop printing the virtual memory layout").

Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Dennis Zhou <dennis@kernel.org>
mm/percpu.c