[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240622051315.GB11303@lst.de>
Date: Sat, 22 Jun 2024 07:13:15 +0200
From: Christoph Hellwig <hch@....de>
To: Daniel Wagner <dwagner@...e.de>
Cc: Jens Axboe <axboe@...nel.dk>, Keith Busch <kbusch@...nel.org>,
Sagi Grimberg <sagi@...mberg.me>,
Thomas Gleixner <tglx@...utronix.de>,
Christoph Hellwig <hch@....de>,
Frederic Weisbecker <fweisbecker@...e.com>,
Mel Gorman <mgorman@...e.de>, Hannes Reinecke <hare@...e.de>,
Sridhar Balaraman <sbalaraman@...allelwireless.com>,
"brookxu.cn" <brookxu.cn@...il.com>, Ming Lei <ming.lei@...hat.com>,
linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
linux-nvme@...ts.infradead.org
Subject: Re: [PATCH 3/3] lib/group_cpus.c: honor housekeeping config when
grouping CPUs
Shouldn't this go before the current patch 2?
> + io_queue_mask = housekeeping_cpumask(HK_TYPE_IO_QUEUE);
> + if (!cpumask_empty(io_queue_mask))
> + return group_mask_cpus_evenly(numgrps, io_queue_mask);
> + else
> + return group_possible_cpus_evenly(numgrps);
> +}
No need for an else after the return above.
Powered by blists - more mailing lists