Re: [PATCH v2] lib/Makefile: Make union-find compilation conditional on CONFIG_CPUSETS

Christoph Hellwig
2024-10-14T05:55:48Z

On Fri, Oct 11, 2024 at 10:12:14PM +0800, Kuan-Wei Chiu wrote:
> Currently, cpuset is the only user of the union-find implementation.
> Compiling union-find in all configurations unnecessarily increases the
> code size when building the kernel without cgroup support. Modify the
> build system to compile union-find only when CONFIG_CPUSETS is enabled.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>