Re: [PATCH 4/3] xfs: set WQ_SYSFS on all workqueues in debug mode
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-01-27 17:05:53
From: Christoph Hellwig <hch@infradead.org>
Date: 2021-01-27 17:05:53
On Mon, Jan 25, 2021 at 09:06:19PM -0800, Darrick J. Wong wrote:
From: Darrick J. Wong <djwong@kernel.org> When CONFIG_XFS_DEBUG=y, set WQ_SYSFS on all workqueues that we create so that we (developers) have a means to monitor cpu affinity and whatnot for background workers. In the next patchset we'll expose knobs for some of the workqueues publicly and document it, but not now.
I don't really think this is a very good idea. If we want something like this it should be kernel-wide and coordinated with the workqueue maintainer, but I'm a little doubtful about the use case.