summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-04-17 17:02:17 +0000
committeralc <alc@FreeBSD.org>2010-04-17 17:02:17 +0000
commit06e8a2d9cc07fd9f1ac05866b936f2e78cc458ec (patch)
tree6f28bead74e9494fb790ce0200895ccaf9561aea /lib/libc
parente3a8d034ba069ba5a7dad2818a3994f2e52c5dff (diff)
downloadFreeBSD-src-06e8a2d9cc07fd9f1ac05866b936f2e78cc458ec.zip
FreeBSD-src-06e8a2d9cc07fd9f1ac05866b936f2e78cc458ec.tar.gz
Setting PG_REFERENCED on the requested page in swap_pager_getpages() is
either redundant or harmful, depending on the caller. For example, when called by vm_fault(), it is redundant. However, when called by vm_thread_swapin(), it is harmful. Specifically, if the thread is later swapped out, having PG_REFERENCED set on its stack pages leads the page daemon to reactivate these stack pages and delay their reclamation. Reviewed by: kib MFC after: 3 weeks
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud