Date: Wed, 18 Apr 2001 13:24:18 -0700 (PDT) From: Alfred Perlstein <alfred@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm device_pager.c phys_pager.c swap_pager.c Message-ID: <200104182024.f3IKOIs44106@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
alfred 2001/04/18 13:24:18 PDT
Modified files:
sys/vm device_pager.c phys_pager.c swap_pager.c
Log:
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.
Revision Changes Path
1.49 +15 -12 src/sys/vm/device_pager.c
1.6 +17 -13 src/sys/vm/phys_pager.c
1.153 +14 -11 src/sys/vm/swap_pager.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104182024.f3IKOIs44106>
