Searched hist:b88b6c9d80ed2e1ad85a6b928e2c9346a41aced6 (Results 1 – 4 of 4) sorted by relevance
/freebsd/sys/fs/tmpfs/ |
H A D | tmpfs_vnops.c | diff b88b6c9d80ed2e1ad85a6b928e2c9346a41aced6 Sun May 02 19:33:46 CEST 2010 Alan Cox <alc@FreeBSD.org> It makes no sense for vm_page_sleep_if_busy()'s helper, vm_page_sleep(), to unconditionally set PG_REFERENCED on a page before sleeping. In many cases, it's perfectly ok for the page to disappear, i.e., be reclaimed by the page daemon, before the caller to vm_page_sleep() is reawakened. Instead, we now explicitly set PG_REFERENCED in those cases where having the page persist until the caller is awakened is clearly desirable. Note, however, that setting PG_REFERENCED on the page is still only a hint, and not a guarantee that the page should persist.
|
/freebsd/sys/vm/ |
H A D | vm_fault.c | diff b88b6c9d80ed2e1ad85a6b928e2c9346a41aced6 Sun May 02 19:33:46 CEST 2010 Alan Cox <alc@FreeBSD.org> It makes no sense for vm_page_sleep_if_busy()'s helper, vm_page_sleep(), to unconditionally set PG_REFERENCED on a page before sleeping. In many cases, it's perfectly ok for the page to disappear, i.e., be reclaimed by the page daemon, before the caller to vm_page_sleep() is reawakened. Instead, we now explicitly set PG_REFERENCED in those cases where having the page persist until the caller is awakened is clearly desirable. Note, however, that setting PG_REFERENCED on the page is still only a hint, and not a guarantee that the page should persist.
|
H A D | vm_page.c | diff b88b6c9d80ed2e1ad85a6b928e2c9346a41aced6 Sun May 02 19:33:46 CEST 2010 Alan Cox <alc@FreeBSD.org> It makes no sense for vm_page_sleep_if_busy()'s helper, vm_page_sleep(), to unconditionally set PG_REFERENCED on a page before sleeping. In many cases, it's perfectly ok for the page to disappear, i.e., be reclaimed by the page daemon, before the caller to vm_page_sleep() is reawakened. Instead, we now explicitly set PG_REFERENCED in those cases where having the page persist until the caller is awakened is clearly desirable. Note, however, that setting PG_REFERENCED on the page is still only a hint, and not a guarantee that the page should persist.
|
/freebsd/sys/kern/ |
H A D | vfs_bio.c | diff b88b6c9d80ed2e1ad85a6b928e2c9346a41aced6 Sun May 02 19:33:46 CEST 2010 Alan Cox <alc@FreeBSD.org> It makes no sense for vm_page_sleep_if_busy()'s helper, vm_page_sleep(), to unconditionally set PG_REFERENCED on a page before sleeping. In many cases, it's perfectly ok for the page to disappear, i.e., be reclaimed by the page daemon, before the caller to vm_page_sleep() is reawakened. Instead, we now explicitly set PG_REFERENCED in those cases where having the page persist until the caller is awakened is clearly desirable. Note, however, that setting PG_REFERENCED on the page is still only a hint, and not a guarantee that the page should persist.
|