From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:40241 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751667AbdJELGP (ORCPT ); Thu, 5 Oct 2017 07:06:15 -0400 Date: Thu, 5 Oct 2017 04:06:01 -0700 From: Davidlohr Bueso To: Jan Kara Cc: Waiman Long , Alexander Viro , Jan Kara , Jeff Layton , "J. Bruce Fields" , Tejun Heo , Christoph Lameter , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Andi Kleen , Dave Chinner , Boqun Feng Subject: Re: [PATCH v6 5/6] lib/dlock-list: Enable faster lookup with hashing Message-ID: <20171005110601.GA5131@linux-80c1.suse> References: <1507152007-28753-1-git-send-email-longman@redhat.com> <1507152007-28753-6-git-send-email-longman@redhat.com> <20171005091406.GD28132@quack2.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20171005091406.GD28132@quack2.suse.cz> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, 05 Oct 2017, Jan Kara wrote: >OK, this makes sense but do you have any particular user in mind? In >particular I'm not sure how big advantage this API brings over an existing >one in include/linux/list_bl.h. Sure it's a tradeoff between bitlock / >spinlock but is there a user where it matters? This was tailored with epoll nested callbacks in mind, we've been discussing offline. I have not looked at list_bl.h nonetheless. Thanks, Davidlohr