|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
c1daa6fa |
| 29-Sep-2021 |
Vladimir Kondratyev <[email protected]> |
LinuxKPI: allocate current before taking shrinkers lock
This fixes following warnings when shrinkers are invoked first time:
uma_zalloc_debug: zone "lkpicurr" with the following non-sleepable locks
LinuxKPI: allocate current before taking shrinkers lock
This fixes following warnings when shrinkers are invoked first time:
uma_zalloc_debug: zone "lkpicurr" with the following non-sleepable locks held: exclusive sleep mutex lkpi-shrinker (lkpi-shrinker)
uma_zalloc_debug: zone "lkpimm" with the following non-sleepable locks held: exclusive sleep mutex lkpi-shrinker (lkpi-shrinker)
Reviewed by: hselasky, manu Differential revision: https://reviews.freebsd.org/D32066
(cherry picked from commit 2fe9ea5d3ad69d880138d98b2ae8d2c4309eeafa)
show more ...
|
|
Revision tags: release/13.0.0 |
|
| #
4af93235 |
| 18-Jan-2021 |
Mark Johnston <[email protected]> |
linuxkpi: Fix the shrinker scan target
Use the number of items scanned to control the duration of the shrink loop. Otherwise, if a consumer like TTM is not able to free the number of items requeste
linuxkpi: Fix the shrinker scan target
Use the number of items scanned to control the duration of the shrink loop. Otherwise, if a consumer like TTM is not able to free the number of items requested for some reason, the shrinker keeps looping forever.
Reviewed by: manu Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28224
show more ...
|
| #
2c95fb75 |
| 22-Dec-2020 |
Emmanuel Vadot <[email protected]> |
linuxkpi: Add shrinker support
A driver can register a shrinker that will be called when the kernel wants to free some memory. Add support for that in linuxkpi and call the registered shrinkers when
linuxkpi: Add shrinker support
A driver can register a shrinker that will be called when the kernel wants to free some memory. Add support for that in linuxkpi and call the registered shrinkers when the lowmem event is triggered.
Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D27728
show more ...
|