linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* balance_dirty_pages ratelimiting
@ 2018-05-21  5:53 Benjamin Peterson
  0 siblings, 0 replies; only message in thread
From: Benjamin Peterson @ 2018-05-21  5:53 UTC (permalink / raw)
  To: linux-mm

The comment for balance_dirty_pages_ratelimited explains rate limiting is necessary because "On really big machines, get_writeback_state is expensive". This comment is stale, since get_writeback_state has not existed for more than 10 years. I gather, however, that its expense arose from aggregating vmstats over all cpus. These days, global vmstats are simply a memory load. Is there a modern reason for rate limiting balance_dirty_pages?

Thanks,
Benjamin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-21  5:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-21  5:53 balance_dirty_pages ratelimiting Benjamin Peterson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox