Deleted Added
full compact
37c37
< __FBSDID("$FreeBSD: head/sys/fs/tmpfs/tmpfs_vnops.c 197953 2009-10-11 07:03:56Z delphij $");
---
> __FBSDID("$FreeBSD: head/sys/fs/tmpfs/tmpfs_vnops.c 207530 2010-05-02 17:33:46Z alc $");
519c519,526
< if (vm_page_sleep_if_busy(m, FALSE, "tmfsmr"))
---
> if ((m->oflags & VPO_BUSY) != 0) {
> /*
> * Reference the page before unlocking and sleeping so
> * that the page daemon is less likely to reclaim it.
> */
> vm_page_lock_queues();
> vm_page_flag_set(m, PG_REFERENCED);
> vm_page_sleep(m, "tmfsmr");
520a528
> }
529c537,544
< if (vm_page_sleep_if_busy(m, FALSE, "tmfsmr"))
---
> if ((m->oflags & VPO_BUSY) != 0) {
> /*
> * Reference the page before unlocking and sleeping so
> * that the page daemon is less likely to reclaim it.
> */
> vm_page_lock_queues();
> vm_page_flag_set(m, PG_REFERENCED);
> vm_page_sleep(m, "tmfsmr");
530a546
> }
630c646,653
< if (vm_page_sleep_if_busy(vpg, FALSE, "tmfsmw"))
---
> if ((vpg->oflags & VPO_BUSY) != 0) {
> /*
> * Reference the page before unlocking and sleeping so
> * that the page daemon is less likely to reclaim it.
> */
> vm_page_lock_queues();
> vm_page_flag_set(vpg, PG_REFERENCED);
> vm_page_sleep(vpg, "tmfsmw");
631a655
> }