]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ensure that _tmppt KVA is used exclusively by providing exclusive sx
authorKonstantin Belousov <kib@FreeBSD.org>
Mon, 26 Jan 2015 10:11:55 +0000 (10:11 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 26 Jan 2015 10:11:55 +0000 (10:11 +0000)
commitad87de1c875772547faee550607cb90c291d5fc3
tree9bcc005292870b60c1bac3c35f984c0168ef2266
parent7fdb2b7a8df2933bd6b5c1c8bf189721afe03eac
Ensure that _tmppt KVA is used exclusively by providing exclusive sx
lock around the mapping and uiomove().  Before r277643, it was
partially protected by Giant (but potential sleeping in fault from
uiomove() would still allow other thread to reuse the mapping).

Noted by: ian
Reviewed by: alc, ian
Sponsored by: The FreeBSD Foundation
MFC after: 3 weeks
sys/arm/arm/mem.c