Page MenuHomeFreeBSD

LinuxKPI: allocate current before taking shrinkers lock
ClosedPublic

Authored by wulf on Sep 23 2021, 12:39 AM.
Tags
None
Referenced Files
F167940280: D32066.id95974.diff
Tue, Aug 25, 1:03 PM
Unknown Object (File)
Mon, Aug 24, 6:16 PM
Unknown Object (File)
Mon, Aug 24, 4:24 PM
Unknown Object (File)
Sun, Aug 23, 2:51 PM
Unknown Object (File)
Sat, Aug 22, 7:33 PM
Unknown Object (File)
Thu, Aug 20, 1:54 AM
Unknown Object (File)
Wed, Aug 12, 6:13 PM
Unknown Object (File)
Mon, Aug 10, 4:45 PM

Details

Summary

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)

Test Plan

Run drm-kmod in low-memory conditions

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable