Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934240AbbGVA4U (ORCPT ); Tue, 21 Jul 2015 20:56:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39020 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934008AbbGVA4T (ORCPT ); Tue, 21 Jul 2015 20:56:19 -0400 Date: Wed, 22 Jul 2015 08:56:14 +0800 From: Baoquan He To: Tejun Heo Cc: cl@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] percpu: clean up of schunk->map[] assignment in pcpu_setup_first_chunk Message-ID: <20150722005614.GD1834@dhcp-17-102.nay.redhat.com> References: <1437404130-5188-1-git-send-email-bhe@redhat.com> <20150721153308.GI15934@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150721153308.GI15934@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: 1340 Lines: 30 On 07/21/15 at 11:33am, Tejun Heo wrote: > On Mon, Jul 20, 2015 at 10:55:28PM +0800, Baoquan He wrote: > > The original assignment is a little redundent. > > > > Signed-off-by: Baoquan He > > Heh, I'm not sure this is actually better. Anyways, applied to > percpu/for-4.3. In general tho, I don't really think this level of > micro cleanup patches are worthwhile. If something around it changes, > sure, take the chance and clean it up but as standalone patches these > aren't that readily justifiable. Understood. They are very tiny cleanups, not inprovement. Just when trying to fix a kdump corrupted header bug where cpu information is stored in percpu variable I tried to understand the whole percpu implementation and found these. Didn't put them together because that change is kdump only in kernel/kexec.c and that patch is testing by customers on big server. Understanding percpu code is always in my TODO list, now it's done. I am fine if patch like patch 3/3 makes code messy and should not be applied. Thanks for your reviewing and suggestion. 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/