Re: [RFC][PATCH] printk: Add %pb to print bitmaps

From: Ingo Molnar
Date: Thu May 10 2012 - 03:45:37 EST



* Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> > So perhaps it would be better to avoid consuming `b' for
> > bitmaps?
>
> With %.*pb not actually working I could use %pC to mean a
> cpumask and skip the generic bitmap stuff.

I'd suggest to try that, all the objections came from trying to
support variable size bitmaps. Lets just solve the scheduler
bitmask problem and let others worry about the generic case?

You are trying to be too nice ;-)

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/