netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] devlink small improvements
@ 2020-07-21 16:53 Parav Pandit
  2020-07-21 16:53 ` [PATCH net-next 1/4] devlink: Do not hold devlink mutex when initializing devlink fields Parav Pandit
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Parav Pandit @ 2020-07-21 16:53 UTC (permalink / raw)
  To: netdev, kuba, davem; +Cc: jiri, Parav Pandit

Hi Jakub, Dave,

This short series improves the devlink code for lock commment,
simplifying checks and keeping the scope of mutex lock for necessary
fields.

Patch summary:
Patch-1 Keep the devlink_mutex for only for necessary changes.
Patch-2 Avoids duplicate check for reload flag
Patch-3 Adds missing comment for the scope of devlink instance lock
Patch-4 Constify devlink instance pointer


Parav Pandit (4):
  devlink: Do not hold devlink mutex when initializing devlink fields
  devlink: Avoid duplicate check for reload enabled flag
  devlink: Add comment for devlink instance lock
  devlink: Constify devlink instance pointer

 include/net/devlink.h | 4 +++-
 net/core/devlink.c    | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

-- 
2.25.4


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-07-21 23:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-21 16:53 [PATCH net-next 0/4] devlink small improvements Parav Pandit
2020-07-21 16:53 ` [PATCH net-next 1/4] devlink: Do not hold devlink mutex when initializing devlink fields Parav Pandit
2020-07-21 16:53 ` [PATCH net-next 2/4] devlink: Avoid duplicate check for reload enabled flag Parav Pandit
2020-07-21 16:53 ` [PATCH net-next 3/4] devlink: Add comment for devlink instance lock Parav Pandit
2020-07-21 16:53 ` [PATCH net-next 4/4] devlink: Constify devlink instance pointer Parav Pandit
2020-07-21 19:32 ` [PATCH net-next 0/4] devlink small improvements Jakub Kicinski
2020-07-21 23:15 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).