lkml.org 
[lkml]   [2015]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RFT v2] x86: move cacheinfo sysfs to generic cacheinfo infrastructure
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


\
 
 \ /
  Last update: 2015-03-03 20:01    [W:0.153 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site