Re: [PATCH v1 0/2] tools/mm: slabinfo: fix inverted sorting and totals

From: Harry Yoo (Meta)

Date: Fri Dec 04 2026 - 09:47:22 EST


On Wed, 18 Nov 2026 14:03:15 +0800, Xuewen Wang wrote:
> From: Xuewen Wang <wangxuewen@xxxxxxxxxx>
>
> This series fixes two independent bugs in slabinfo:
>
> 1. Return signed comparison results for unequal numeric sort keys so
> that -i correctly reverses size, activity, loss and partial sorting.
> 2. Keep the per-cache partial-object average instead of overwriting it
> with a percentage before printing the PartObjs row.
>
> [...]

Applied to mm/slab.git slab/for-next, thanks!

[1/2] tools/mm: slabinfo: fix inverted numeric sorting
commit: 976ead817bb72861ee3f7e6c769ced846b05e05f
[2/2] tools/mm: slabinfo: preserve the average partial object count
commit: 3909121ce0942332f021b402b9beea62f6554f4e

--
Cheers,
Harry / Hyeonggon