Re: [PATCH RFC/RFT v2 3/8] s390: move cacheinfo sysfs to genericcacheinfo infrastructure

From: Heiko Carstens
Date: Mon Feb 10 2014 - 06:59:38 EST


On Mon, Feb 10, 2014 at 11:34:55AM +0000, Sudeep Holla wrote:
> On 10/02/14 09:50, Heiko Carstens wrote:
> > On Fri, Feb 07, 2014 at 04:49:18PM +0000, Sudeep Holla wrote:
> >> - show_cacheinfo(m);
> >> }
> >> get_online_cpus();
> >> if (cpu_online(n)) {
> >
> > You can't remove that. It's a user space visible change.
> >
> Correct, I wanted to add show_cacheinfo back as its user ABI already, missed it.
>
> Is it ok if I use cpu0 cacheinfo or to be safer as cpu0 can be offline, use
> the cacheinfo of the cpu executing this ?

Any online cpu would do, as the information is completely symmetrical.

--
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/