[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180528142127.GD2173@nanopsycho>
Date: Mon, 28 May 2018 16:21:27 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Vlad Buslov <vladbu@...lanox.com>
Cc: netdev@...r.kernel.org, jhs@...atatu.com, xiyou.wangcong@...il.com,
davem@...emloft.net, ast@...nel.org, daniel@...earbox.net,
kliteyn@...lanox.com
Subject: Re: [PATCH v3 06/11] net: sched: add 'delete' function to action ops
Sun, May 27, 2018 at 11:17:24PM CEST, vladbu@...lanox.com wrote:
>Extend action ops with 'delete' function. Each action type to implements
>its own delete function that doesn't depend on rtnl lock.
>
>Implement delete function that is required to delete actions without
>holding rtnl lock. Use action API function that atomically deletes action
>only if it is still in action idr. This implementation prevents concurrent
>threads from deleting same action twice.
>
>Signed-off-by: Vlad Buslov <vladbu@...lanox.com>
Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists