]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r360621:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 18 May 2020 09:35:42 +0000 (09:35 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Mon, 18 May 2020 09:35:42 +0000 (09:35 +0000)
commitda4f635a0d93b80ae0ea36c2dfd0e012f35ced0f
treed17744f461c185fe9e95ba3c6943476b042feb73
parent5ee389dd9a33b06a08ede8160c86c62d81096bd4
MFC r360621:
Fix warning about sleeping with non-sleepable lock when allocating
"current" from linux_cdev_pager_populate() in the LinuxKPI:

Backtrace:
witness_debugger()
witness_warn()
uma_zalloc_arg()
malloc()
linux_alloc_current()
linux_cdev_pager_populate()
vm_fault()
vm_fault_trap()
trap_pfault()
trap()
calltrap()

Suggested by: avg@
Sponsored by: Mellanox Technologies
sys/compat/linuxkpi/common/src/linux_compat.c