Re: [PATCH 01/53] workqueue: Introduce the create*_workqueue2() macros
From: Kees Cook
Date: Wed Jul 03 2024 - 18:20:24 EST
On Wed, Jul 03, 2024 at 02:28:34PM -0700, Bart Van Assche wrote:
> On 7/3/24 1:24 PM, Kees Cook wrote:
> > This can be done with the preprocessor to detect how many arguments
> > are being used, so then there is no need to do the renaming passes and
> > conversions can land via subsystems:
>
> Thanks Kees, this is very useful feedback.
>
> As one can see here, Tejun requested not to add support for a format
> string in the create*_workqueue() macros:
> https://lore.kernel.org/linux-kernel/ZoMF1ZydZUusxRcf@xxxxxxxxxxxxxxx/
Ah! I should have read the thread more fully. :)
> Hence a different approach for the SCSI create*_workqueue() macros:
> https://lore.kernel.org/linux-scsi/20240702215228.2743420-1-bvanassche@xxxxxxx/
Gotcha. Okay, well, that's a lot of flags to open-code, but I guess
that's fine? :P
--
Kees Cook