Re: [PATCH RFT v2] x86: move cacheinfo sysfs to generic cacheinfo infrastructure

From: Tejun Heo
Date: Tue Mar 03 2015 - 13:53:15 EST


Hello, Borislav.

On Tue, Mar 03, 2015 at 07:45:27PM +0100, Borislav Petkov wrote:
> Tejun, we have this change in user-visible masks formatting in sysfs
> after your bitmaps printing changes:
>
> -cpu5/cache/index3/shared_cpu_map:00000000,0000003f
> +cpu5/cache/index3/shared_cpu_map:3f
>
> What's the rationale on userspace parsing bitmaps in sysfs, we don't
> care?

We were alternating between the two forms depending on
CONFIG_CPUMASK_OFFSTACK before. Now we're always sticking to the
shorter format. Please see 513e3d2d11c9 ("cpumask: always use
nr_cpu_ids in formatting and parsing functions").

Thanks.

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