Skip to content

workqueue: Have 'alloc_workqueue()' like macros accept a format specifier

Christophe JAILLET kernel-janitors linux-rdma lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2workqueue: Have 'alloc_workqueue()' like macros accept a format specifierinclude/linux/workqueue.h+7 -711 replies
2/2net/mlx5: Simplify workqueue name creationdrivers/net/ethernet/mellanox/mlx5/core/health.c+2 -80 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDmitry VyukovJann Horn
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] workqueue: Have 'alloc_workqueue()' like macros accept a format specifier

Improve 'create_workqueue', 'create_freezable_workqueue' and 'create_singlethread_workqueue' so that they accept a format specifier and a variable number of arguments.

This will put these macros more in line with 'alloc_ordered_workqueue' and the underlying 'alloc_workqueue()' function.

This will also allow further code simplification.

Patch 1 is the modification of the macro.
Patch 2 is an example of simplification possible with this patch

Christophe JAILLET (2):
workqueue: Have 'alloc_workqueue()' like macros accept a format
specifier
net/mlx5: Simplify workqueue name creation

 drivers/net/ethernet/mellanox/mlx5/core/health.c |  9 +--------
 include/linux/workqueue.h                        | 14 +++++++-------
 2 files changed, 8 insertions(+), 15 deletions(-)
Signature · 1 line
2.27.0