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

From: Christoph Hellwig
Date: Mon Oct 14 2024 - 01:55:59 EST


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@xxxxxx>