On 6/8/26 17:53, Eric Chanudet wrote:
Accept only one "region value" pair entry for the dmem.max, dmem.min,
dmem.low files.

This changes the UAPI that otherwise accepted multiple lines for setting
multiple entries in one write. No existing user is known to rely on
writing multiple regions in a single write.

Processing multiple regions in dmemcg_limit_write() could quietly change
first limits before failing on a later one and returning an error to the
writer, with no indication some changes occurred.

Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Eric Chanudet <[email protected]>

Reviewed-by: Natalie Vock <[email protected]>

Thanks,
Natalie

Reply via email to