Skip to content

Commit

Permalink
x86: remove over noisy debug printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
KAGA-KOKO authored and Linus Torvalds committed Feb 11, 2008
1 parent cc13e44 commit 81772fe
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/x86/mm/pageattr-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ struct split_state {
static int print_split(struct split_state *s)
{
long i, expected, missed = 0;
int printed = 0;
int err = 0;

s->lpg = s->gpg = s->spg = s->exec = 0;
Expand All @@ -53,12 +52,6 @@ static int print_split(struct split_state *s)

pte = lookup_address(addr, &level);
if (!pte) {
if (!printed) {
dump_pagetable(addr);
printk(KERN_INFO "CPA %lx no pte level %d\n",
addr, level);
printed = 1;
}
missed++;
i++;
continue;
Expand Down

0 comments on commit 81772fe

Please sign in to comment.