[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXApCMoT=cNtAZCB=aLjjriFF9ZsR04hT0vqASrU-z7XQ@mail.gmail.com>
Date: Sun, 5 Nov 2017 20:12:25 -0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Liu Yu <liuyu924@...il.com>
Cc: Linux Kernel Network Developers <netdev@...r.kernel.org>,
"David S. Miller <davem@...emloft.net>,Alexey Kuznetsov
<kuznet@....inr.ac.ru>,Hideaki YOSHIFUJI" <yoshfuji@...ux-ipv6.org>
Subject: Re: [PATCH] reduce the spinlock conflict during massive connect
On Sun, Nov 5, 2017 at 6:28 PM, Liu Yu <liuyu924@...il.com> wrote:
> - spin_lock_bh(&head->lock);
> + ret = spin_trylock(&head->lock);
Clearly you want spin_trylock_bh() instead.
Powered by blists - more mailing lists