]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Protect pager object creation with sx locks.
authorAlfred Perlstein <alfred@FreeBSD.org>
Wed, 18 Apr 2001 20:24:16 +0000 (20:24 +0000)
committerAlfred Perlstein <alfred@FreeBSD.org>
Wed, 18 Apr 2001 20:24:16 +0000 (20:24 +0000)
commita9fa2c05fcc4b5cfa4734f5c18a3bce8755e6e6b
tree63fd1d2b3753a2d83261ce5665afe2efb6dad24d
parente18935281bc9c6225b23c43783b52c64a0efd1ff
Protect pager object creation with sx locks.

Protect pager object list manipulation with a mutex.

It doesn't look possible to combine them under a single sx lock because
creation may block and we can't have the object list manipulation block
on anything other than a mutex because of interrupt requests.
sys/vm/device_pager.c
sys/vm/phys_pager.c
sys/vm/swap_pager.c