Re: [RFC v2] padata: Simplify sysfs cpumask and sequencing logic

From: Daniel Jordan
Date: Wed Oct 25 2023 - 14:17:46 EST


Hello,

On Thu, Oct 12, 2023 at 10:06:40AM +0800, Wang Jinchao wrote:
> Utilizing the WQ_SYSFS from workqueue to support sysfs
> ======================================================
>
> Padata relies on workqueue, and since workqueue has already implemented
> support for cpumask through WQ_SYSFS, we can reuse this functionality
> and avoid redundant implementation.
> Link: https://docs.kernel.org/core-api/workqueue.html#affinity-scopes

Keeping the existing padata sysfs paths seems best, as mentioned in the
other thread.

> Using completion to ensure the sequencing of the 'serial()'
> ===========================================================

I responded in the other RFC thread.


Thanks.