]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Verify identity after checking for WAITFAIL in vm_page_busy_acquire().
authorMark Johnston <markj@FreeBSD.org>
Wed, 23 Oct 2019 17:58:19 +0000 (17:58 +0000)
committerMark Johnston <markj@FreeBSD.org>
Wed, 23 Oct 2019 17:58:19 +0000 (17:58 +0000)
commite6f1a58082e7117ff2334a93885b4f1f1cb752a4
treefcea41c19b872fce4f3ebc20d76fe2612c1cb282
parent92a15f946bfdba03e7a2cd8c35d205ff2655caaf
Verify identity after checking for WAITFAIL in vm_page_busy_acquire().

A caller that does not guarantee that a page's identity won't change
while sleeping for a busy lock must specify either NOWAIT or WAITFAIL.

Reported by: syzkaller
Reviewed by: alc, kib
Discussed with: jeff
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22124
sys/vm/vm_page.c