freebsd-dev/sys/compat/linuxkpi/common
Vladimir Kondratyev 2fe9ea5d3a 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
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D32066
2021-09-29 23:12:58 +03:00
..
include LinuxKPI: implement _IOC_TYPE and _IOC_NR macros in linux/ioctl.h 2021-09-29 23:12:47 +03:00
src LinuxKPI: allocate current before taking shrinkers lock 2021-09-29 23:12:58 +03:00