diff options
author | cognet <cognet@FreeBSD.org> | 2015-03-21 15:32:59 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2015-03-21 15:32:59 +0000 |
commit | 6ef314a10e2d46ba335403a1110f166b8615a54b (patch) | |
tree | 5a032ca39df40515b8e5e84e81937f82e7cc748c /sys/vm/vm_fault.c | |
parent | 0f36a6625486a3279a973a1a75fe7c069c0c9d34 (diff) | |
download | FreeBSD-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