Public bug reported:

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.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Philip Cox (philcox)
         Status: In Progress

** Affects: linux (Ubuntu Jammy)
     Importance: Undecided
     Assignee: Philip Cox (philcox)
         Status: In Progress

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Jammy)
     Assignee: (unassigned) => Philip Cox (philcox)

** Changed in: linux (Ubuntu)
       Status: New => In Progress

** Changed in: linux (Ubuntu Jammy)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
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:
  In Progress
Status in linux source package in Jammy:
  In Progress

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


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to