четверг

[Bug 2052827] Re: performance: mm/memcontrol.c: remove the redundant updating of stats_flush_threshold

This bug is awaiting verification that the linux-xilinx-
zynqmp/5.15.0-1029.33 kernel in -proposed solves the problem. Please
test the kernel and update this bug with the results. If the problem is
solved, change the tag 'verification-needed-jammy-linux-xilinx-zynqmp'
to 'verification-done-jammy-linux-xilinx-zynqmp'. If the problem still
exists, change the tag 'verification-needed-jammy-linux-xilinx-zynqmp'
to 'verification-failed-jammy-linux-xilinx-zynqmp'.


If verification is not done by 5 working days from today, this fix will
be dropped from the source code, and this bug will be closed.


See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: kernel-spammed-jammy-linux-xilinx-zynqmp-v2 verification-needed-jammy-linux-xilinx-zynqmp

--
You received this bug notification because you are subscribed to linux
in Ubuntu.
Matching subscriptions: Bgg, Bmail, Nb
https://bugs.launchpad.net/bugs/2052827

Title:
performance: mm/memcontrol.c: remove the redundant updating of
stats_flush_threshold

Status in linux package in Ubuntu:
Invalid
Status in linux source package in Jammy:
Fix Released

Bug description:
This is a public version of https://bugs.launchpad.net/bugs/2034981

Backport upstream commit:

873f64b791a2 mm/memcontrol.c: remove the redundant updating of stats_flush_threshold

to jammy.


[Impact]


Remove the redundant updating of stats_flush_threshold. If the global var stats_flush_threshold has exceeded the trigger value for __mem_cgroup_flush_stats, further increment is unnecessary.

This is targeting Sapphire Rapids platforms.


[Fix]

Upstream commit 873f64b791a2 fixes this issue. The fix involves not
updating the status after a certain threshold has been hit as it is
unnecessary.

[Test Plan]

I have tested the changes, and hit no regressions.

[Where problems could occur]

As the change has been upstream since 6.0-rc1, and is reducing a stats
update which isn't needed, the change for regressions should be
minimal.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2052827/+subscriptions

Комментариев нет:

Отправить комментарий