Re: [PATCH v2 0/2] blk-iocost: fix hweight cache publication and donation fail-safe

From: Tao Cui

Date: Tue Oct 20 2026 - 05:23:24 EST


Hi Kunhai,

在 2026/10/19 20:54, Kunhai Dai 写道:
> This series fixes the blk-iocost hweight cache publication race and adds a
> fail-safe for invalid donation weights.
>
> Previous version:
> https://lists.openwall.net/linux-kernel/2026/10/15/1954
> Replies:
> https://lists.openwall.net/linux-kernel/2026/10/16/1431
> https://lists.openwall.net/linux-kernel/2026/10/16/2798

I re-ran the injection tests on my side (linux-next 20261019):
two runs with a 30ms kprobe
hold on every refresh of current_hweight() and one with the hold on every
50th refresh, same rt/s1..C topology and 1 <-> 10000 weight alternation
load as before. No WARN or oops, and the tracepoint hweight fields decoded
within [1, 65536] in every run.

For the series:

Tested-by: Tao Cui <cuitao@xxxxxxxxxx>
Reviewed-by: Tao Cui <cuitao@xxxxxxxxxx>

Thanks,
Tao