MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
locking
Search

[$] Shrinking shrinker locking overhead

Friday September 15, 2023. 04:51 PM , from LWN.net
Much of the kernel's performance is dependent on caching — keeping useful
information around for future use to avoid the cost of looking it up again.
The kernel aggressively caches pages of file data, directory entries,
inodes, slab objects, and much more. Without active measures, though,
caches will tend to grow without bounds, leading to memory exhaustion. The
kernel's 'shrinker' mechanism exists to be that active measure, but
shrinkers have some performance difficulties of their own. This
patch series from Qi Zheng seeks to address one of the worst of those
by removing some locking overhead.
https://lwn.net/Articles/944199/
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Apr, Sat 27 - 16:08 CEST