lkml.org 
[lkml]   [2023]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC v2] padata: Simplify sysfs cpumask and sequencing logic
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.

\
 
 \ /
  Last update: 2023-10-25 20:18    [W:0.037 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site