Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Tejun Heo Newsgroups: linux.kernel Subject: Re: [RFC PATCH v2 6/7] lib/persubnode: Introducing a simple per-subnode APIs Date: Tue, 12 Jul 2016 21:00:01 +0200 Message-ID: References: X-Original-To: Waiman Long Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KHcn/NA4okgbXSnqSwVGczjyedIdQSIdcUzN4L8JEuQ=; b=hkPxVUmPZTV5I9BR7rb4FEoyJaFjmzudJt/e0ap53pEVdw3upMJKgPQfXfXigd5ama bAXmsSblNYC5xud/3KHBYFhIukcpEy9xs4TP5KyR4w0UyHSb32k5bwX1v6nULR3Q6IOm RIei/5MY4Ghrx8bxm9R2eImfiFcO8Mk3S5SgX2vi0w8X2YZv1nH4UGgSHCX3yEpuZmBj dtwRwf+wMKTW4SEz2NSrfDg/DeemxZaCIGmIedspvZ6XXu0/TzCYulQZcBckX+JAzhHA LRR4nuEtbS8UzjES41q+VkmC2pjcDRmndIM7Jd7/FIQFYEOmfITJkQTDDLqFQaw/2yDd Dnhw== X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=KHcn/NA4okgbXSnqSwVGczjyedIdQSIdcUzN4L8JEuQ=; b=Ge1Fksm8Dkq2V3oq/xkM1EZlTv5cmAkTsva9oo3Qe0cN8esSCLC7QRFwk+KudfXaei eb9yw5WRrlwUzL8fEuTQgN8iXZvobt/7jiHgE7m9e8eZLMncFtwviR9YWQ3R8aCI2wui Ui2jWXdJyyc+GD9je3+ZHZZ18DUpLESCzxJeTCLb/aC42k55vp145hXzWXlfAgSmJpbK NzNPreDQaln59L0cH9sNDuO2ZNpPa1nJGYIQwDC4zpZe6Sf8h/8eiYzEe+d1M8whrC8t NofhcNDZLO2tLAr8MJLIR0vNMrmOX75eT5u4dO8MOiXhu9wUy2fshjdNeXb/QFDzc9l9 HJrA== X-Gm-Message-State: ALyK8tJwUyBHR/qPs+Ft9KoxjPxfc3LLzczkSSWW2iRz7NcJIS3O9QOiKyxIJ0YpIcp6zQ== X-Received: by 10.66.154.232 with SMTP id vr8mr6477189pab.104.1468349840783; Tue, 12 Jul 2016 11:57:20 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.6.1 (2016-04-27) Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 23 Organization: linux.* mail to news gateway X-Original-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 X-Original-Date: Tue, 12 Jul 2016 14:57:18 -0400 X-Original-Message-ID: <20160712185718.GH3190@htj.duckdns.org> X-Original-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> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1441656 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