From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751146AbcGLS5X (ORCPT ); Tue, 12 Jul 2016 14:57:23 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35394 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750744AbcGLS5W (ORCPT ); Tue, 12 Jul 2016 14:57:22 -0400 Date: Tue, 12 Jul 2016 14:57:18 -0400 From: Tejun Heo To: Waiman Long Cc: Alexander Viro , Jan Kara , Jeff Layton , "J. Bruce Fields" , Christoph Lameter , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Andi Kleen , Dave Chinner , Boqun Feng , Scott J Norton , Douglas Hatch Subject: Re: [RFC PATCH v2 6/7] lib/persubnode: Introducing a simple per-subnode APIs Message-ID: <20160712185718.GH3190@htj.duckdns.org> References: <1468258332-61537-1-git-send-email-Waiman.Long@hpe.com> <1468258332-61537-7-git-send-email-Waiman.Long@hpe.com> <20160712142727.GA3190@htj.duckdns.org> <57853C33.8000705@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57853C33.8000705@hpe.com> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Tue, Jul 12, 2016 at 02:51:31PM -0400, Waiman Long wrote: > The last 2 RFC patches were created in response to Andi's comment to have > coarser granularity than per-cpu. In this particular use case, I don't think > global list traversals are frequent enough to really have any noticeable > performance impact. So I don't have any benchmark number to support this > change. However, it may not be true for other future use cases. > > These 2 patches were created to gauge if using a per-subnode API for this > use case is a good idea or not. I am perfectly happy to keep it as per-cpu > and scrap the last 2 RFC patches. My main goal is to make this patchset more > acceptable to be moved forward instead of staying in limbo. I see. I don't think it makes sense to add a whole new API for a use case which doesn't really need it without any backing data. It probably would be best to revisit this when we're dealing with an actually problematic case. Thanks. -- tejun