Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752085AbbL1JE4 (ORCPT ); Mon, 28 Dec 2015 04:04:56 -0500 Received: from www62.your-server.de ([213.133.104.62]:60928 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751925AbbL1JEQ (ORCPT ); Mon, 28 Dec 2015 04:04:16 -0500 Message-ID: <5680FB0E.7010400@iogearbox.net> Date: Mon, 28 Dec 2015 10:04:14 +0100 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Ming Lei , linux-kernel@vger.kernel.org, Alexei Starovoitov CC: "David S. Miller" , netdev@vger.kernel.org Subject: Re: [PATCH 2/3] bpf: hash: move select_bucket() out of htab's spinlock References: <1451122294-16524-1-git-send-email-tom.leiming@gmail.com> <1451122294-16524-3-git-send-email-tom.leiming@gmail.com> In-Reply-To: <1451122294-16524-3-git-send-email-tom.leiming@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: daniel@iogearbox.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 495 Lines: 12 On 12/26/2015 10:31 AM, Ming Lei wrote: > The spinlock is just used for protecting the per-bucket > hlist, so it isn't needed for selecting bucket. > > Signed-off-by: Ming Lei Acked-by: Daniel Borkmann -- 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/