[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5777390a08cb43709615237dcd4ada83@usma1ex-dag1mb2.msg.corp.akamai.com>
Date: Thu, 18 Oct 2018 15:17:06 +0000
From: "Banerjee, Debabrata" <dbanerje@...mai.com>
To: 'Neil Horman' <nhorman@...driver.com>,
David Miller <davem@...emloft.net>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH net-next] netpoll: allow cleanup to be synchronous
> From: Neil Horman <nhorman@...driver.com>
> Agreed, this doesn't make sense. If you want a synchronous cleanup, create
> a wrapper function that creates a wait queue, calls __netpoll_free_async,
> and blocks on the wait queue completion. Modify the cleanup_work
> method(s) to complete the wait queue, and you've got what you want.
>
> Neil
Actually the patch looks bad, but it seems to turn out the rtnl is always
held by the parent when it is called, and asynchronous cleanup doesn't
seem to be necessary at all. Perhaps you could share your deadlock
test case for 2cde6acd49da?
Patch v2 coming next.
-Deb
Powered by blists - more mailing lists