[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7WgzeJh54U9VGPu@nanopsycho>
Date: Wed, 4 Jan 2023 16:52:45 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, jacob.e.keller@...el.com
Subject: Re: [PATCH net-next 12/14] devlink: uniformly take the devlink
instance lock in the dump loop
Wed, Jan 04, 2023 at 05:16:34AM CET, kuba@...nel.org wrote:
>Move the lock taking out of devlink_nl_cmd_region_get_devlink_dumpit().
>This way all dumps will take the instance lock in the main iteration
>loop directly, making refactoring and reading the code easier.
>
>Reviewed-by: Jacob Keller <jacob.e.keller@...el.com>
>Signed-off-by: Jakub Kicinski <kuba@...nel.org>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists