summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2015-03-21 15:32:59 +0000
committercognet <cognet@FreeBSD.org>2015-03-21 15:32:59 +0000
commit6ef314a10e2d46ba335403a1110f166b8615a54b (patch)
tree5a032ca39df40515b8e5e84e81937f82e7cc748c /sys/vm/vm_fault.c
parent0f36a6625486a3279a973a1a75fe7c069c0c9d34 (diff)
downloadFreeBSD-src-6ef314a10e2d46ba335403a1110f166b8615a54b.zip
FreeBSD-src-6ef314a10e2d46ba335403a1110f166b8615a54b.tar.gz
When waiting on PTE allocation, another thread could free the l2_dtable while
we're not looking at it. Fix this by increasing l2->l2_occupancy before we try to alloc (and decrease it if the allocation failed, or if another thread did a similar allocation). Submitted by: Kohji Okuno <okuno.kohji@jp.panasonic.com> MFC after: 1 week
Diffstat (limited to 'sys/vm/vm_fault.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud