]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Add trylock_page and unlock_page
authorEmmanuel Vadot <manu@FreeBSD.org>
Tue, 2 Aug 2022 07:33:47 +0000 (09:33 +0200)
committerEmmanuel Vadot <manu@FreeBSD.org>
Mon, 8 Aug 2022 13:22:35 +0000 (15:22 +0200)
commitd1c3cfd79da148755ef0fa51f65cd8d0d64b9a88
tree1b73804ab607f63c416d906b7f2a1a4acceddbba
parent7d2702a1983945210a1daa30b6e09ea7eb7b24d3
linuxkpi: Add trylock_page and unlock_page

Simple wrapper around vm_page_trylock and vm_page_unlock.

Reviewed by: hselasky
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D36019
sys/compat/linuxkpi/common/include/linux/mm.h