Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933064AbbGUPa0 (ORCPT ); Tue, 21 Jul 2015 11:30:26 -0400 Received: from mail-yk0-f176.google.com ([209.85.160.176]:34052 "EHLO mail-yk0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932257AbbGUPaY (ORCPT ); Tue, 21 Jul 2015 11:30:24 -0400 Date: Tue, 21 Jul 2015 11:30:19 -0400 From: Tejun Heo To: Baoquan He Cc: cl@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] percpu: add macro PCPU_CHUNK_AREA_IN_USE Message-ID: <20150721153019.GH15934@mtj.duckdns.org> References: <1437404130-5188-1-git-send-email-bhe@redhat.com> <1437404130-5188-3-git-send-email-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437404130-5188-3-git-send-email-bhe@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 618 Lines: 17 On Mon, Jul 20, 2015 at 10:55:30PM +0800, Baoquan He wrote: > chunk->map[] contains 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 idk, maybe. Can you at least go for something shorter? PCPU_MAP_BUSY or whatever? -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/