[PATCHv4 5/5] arm64: cpuinfo: print info for all CPUs
mark.rutland at arm.com
Fri Jul 18 08:58:53 PDT 2014
On Fri, Jul 18, 2014 at 04:52:37PM +0100, Peter Maydell wrote:
> On 18 July 2014 14:57, Mark Rutland <mark.rutland at arm.com> wrote:
> > Comments are added to guide userspace developers in the right direction
> > (using the hwcaps provided in auxval). Hopefully where userspace
> > applications parse /proc/cpuinfo rather than using the readily available
> > hwcaps, they limit themselves to reading said first line.
> Comments in the kernel sources aren't going to guide
> anybody except kernel developers.
That's not entirely true, some people skim the kernel sources to figure
out how they're meant to use syscalls and such (though admitedly this
isn't all that common).
> I was expecting from this commit message that you were going to emit
> actual comments in /proc/cpuinfo...
I don't think that's a good idea, and I can only see that reading when I
squint quite hard. ;)
More information about the linux-arm-kernel