Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934213AbbGVA2q (ORCPT ); Tue, 21 Jul 2015 20:28:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57928 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934138AbbGVA2o (ORCPT ); Tue, 21 Jul 2015 20:28:44 -0400 Date: Wed, 22 Jul 2015 08:28:39 +0800 From: Baoquan He To: Tejun Heo 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: <20150722002839.GC1834@dhcp-17-102.nay.redhat.com> References: <1437404130-5188-1-git-send-email-bhe@redhat.com> <1437404130-5188-3-git-send-email-bhe@redhat.com> <20150721153019.GH15934@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150721153019.GH15934@mtj.duckdns.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 808 Lines: 25 Hi Tejun, On 07/21/15 at 11:30am, Tejun Heo wrote: > 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? Thanks for suggestion. I know this change makes code longer. PCPU_MAP_BUSY is better, I am gonna repost with it. Thanks Baoquan -- 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/