Date: Sat, 30 Jul 2011 14:13:57 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/vm device_pager.c Message-ID: <201107301414.p6UEEASl061302@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2011-07-30 14:13:57 UTC
FreeBSD src repository
Modified files:
sys/vm device_pager.c
Log:
SVN rev 224522 on 2011-07-30 14:13:57Z by kib
Fix a race in the device pager allocation. If another thread won and
allocated the device pager for the given handle, then the object
fictitious pages list and the object membership in the global object
list still need to be initialized. Otherwise, dev_pager_dealloc() will
traverse uninitialized pointers.
Reported and tested by: pho
Reviewed by: jhb
Approved by: re (kensmith)
MFC after: 1 week
Revision Changes Path
1.100 +9 -2 src/sys/vm/device_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107301414.p6UEEASl061302>
