Broken big-endian SMP /proc/irq/prof_cpu_mask (2.6.0-mm1)?

From: Paul Jackson
Date: Thu Jan 08 2004 - 08:41:26 EST


Are you running 2.6.0-mm1 or later on a big-endian SMP box?

If so, I probably broke your file /proc/irq/prof_cpu_mask file
(and /proc/irq/<pid>/smp_affinity files as well ...).

Could you cat out /proc/irq/prof_cpu_mask for me, if you have
such a box, and tell me if the bytes are backward? Please also
indicate your hardware architecture and number of CPUs, just
so I can be sure I am on track here.

If say you have 4 CPUs, then seeing something in the range of "1" to "f"
would be good news, but seeing some multiple of 1000000 would be bad
news.

For further details, see the lkml thread started yesterday
by joe.korty@xxxxxxxx:

Subject: seperator error in __mask_snprintf_len

If I have broken this as I suspect, I will prepare a patch for Andrew
shortly that fixes it.

Thanks for you assistance.

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/