mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +00:00
x86: remove over noisy debug printk
pageattr-test.c contains a noisy debug printk that people reported. The condition under which it prints (randomly tapping into a mem_map[] hole and not being able to c_p_a() there) is valid behavior and not interesting to report. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
cc13e44295
commit
81772fea41
@ -40,7 +40,6 @@ struct split_state {
|
|||||||
static int print_split(struct split_state *s)
|
static int print_split(struct split_state *s)
|
||||||
{
|
{
|
||||||
long i, expected, missed = 0;
|
long i, expected, missed = 0;
|
||||||
int printed = 0;
|
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
|
||||||
s->lpg = s->gpg = s->spg = s->exec = 0;
|
s->lpg = s->gpg = s->spg = s->exec = 0;
|
||||||
@ -53,12 +52,6 @@ static int print_split(struct split_state *s)
|
|||||||
|
|
||||||
pte = lookup_address(addr, &level);
|
pte = lookup_address(addr, &level);
|
||||||
if (!pte) {
|
if (!pte) {
|
||||||
if (!printed) {
|
|
||||||
dump_pagetable(addr);
|
|
||||||
printk(KERN_INFO "CPA %lx no pte level %d\n",
|
|
||||||
addr, level);
|
|
||||||
printed = 1;
|
|
||||||
}
|
|
||||||
missed++;
|
missed++;
|
||||||
i++;
|
i++;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user