Re: [PATCH v4] man2: add MPOL_WEIGHTED_INTERLEAVE documentation

Svetly Todorov
2024-03-18T14:38:52Z

Happy Monday Alex,

Thanks for looking at this over the weekend! Hopefully
not too many more changes to go.

> We should document the kernel version that added this.
> Please look for other (since ...) in the same page
>
> Have a lovely night!
> Alex

I was referencing MPOL_LOCAL in the same page and there are
two commits listed under it:

> .BR MPOL_LOCAL " (since Linux 3.8)”
> .\" commit 479e2802d09f1e18a97262c4c6f8f17ae5884bd8
> .\" commit f2a07f40dbc603c15f8b06e6ec7f768af67b424f

I want to add a similar comment for MPOL_WEIGHTED_INTERLEAVE
but I’m not sure what the equivalent would be.
I’m thinking to have something like

> .BR MPOL_WEIGHTED_INTERLEAVE " since (Linux 6.9)"
> .\" commit fa3bea4e1f8202d787709b7e3654eb0a99aed758

Where fa3bea... is the commit in the kernel git
for the weighted interleave patch:

https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?h=mm-stable-2024-03-13-20-04&id=fa3bea4e1f8202d787709b7e3654eb0a99aed758

(Forgive me, not sure if there’s a way to shorten long links like that).

I can’t tell why there are two commits listed under MPOL_LOCAL, though.
Do you think just fa3ea... would be sufficient?

Svetly