lkml.org 
[lkml]   [2015]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] percpu: add macro PCPU_CHUNK_AREA_IN_USE
On Mon, Jul 20, 2015 at 10:55:30PM +0800, Baoquan He wrote:
> chunk->map[] contains <offset|in-use flag> of each area. Now add a
> new macro PCPU_CHUNK_AREA_IN_USE and use it as the in-use flag to
> replace all magic number '1'.
>
> Signed-off-by: Baoquan He <bhe@redhat.com>

idk, maybe. Can you at least go for something shorter? PCPU_MAP_BUSY
or whatever?

--
tejun


\
 
 \ /
  Last update: 2015-07-21 17:41    [W:0.112 / U:0.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site