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

Tejun Heo
2015-03-03T18:53:12Z

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