vm_glue.c (177368) | vm_glue.c (178272) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 43 unchanged lines hidden (view full) --- 52 * Carnegie Mellon University 53 * Pittsburgh PA 15213-3890 54 * 55 * any improvements or extensions that they make and grant Carnegie the 56 * rights to redistribute these changes. 57 */ 58 59#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * The Mach Operating System project at Carnegie-Mellon University. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 43 unchanged lines hidden (view full) --- 52 * Carnegie Mellon University 53 * Pittsburgh PA 15213-3890 54 * 55 * any improvements or extensions that they make and grant Carnegie the 56 * rights to redistribute these changes. 57 */ 58 59#include <sys/cdefs.h> |
60__FBSDID("$FreeBSD: head/sys/vm/vm_glue.c 177368 2008-03-19 06:19:01Z jeff $"); | 60__FBSDID("$FreeBSD: head/sys/vm/vm_glue.c 178272 2008-04-17 04:20:10Z jeff $"); |
61 62#include "opt_vm.h" 63#include "opt_kstack_pages.h" 64#include "opt_kstack_max_pages.h" 65 66#include <sys/param.h> 67#include <sys/systm.h> 68#include <sys/limits.h> --- 661 unchanged lines hidden (view full) --- 730 731 /* 732 * Nothing to do, back to sleep. 733 */ 734 if ((p = pp) == NULL) { 735 thread_lock(&thread0); 736 if (!proc0_rescan) { 737 TD_SET_IWAIT(&thread0); | 61 62#include "opt_vm.h" 63#include "opt_kstack_pages.h" 64#include "opt_kstack_max_pages.h" 65 66#include <sys/param.h> 67#include <sys/systm.h> 68#include <sys/limits.h> --- 661 unchanged lines hidden (view full) --- 730 731 /* 732 * Nothing to do, back to sleep. 733 */ 734 if ((p = pp) == NULL) { 735 thread_lock(&thread0); 736 if (!proc0_rescan) { 737 TD_SET_IWAIT(&thread0); |
738 mi_switch(SW_VOL, NULL); | 738 mi_switch(SW_VOL | SWT_IWAIT, NULL); |
739 } 740 proc0_rescan = 0; 741 thread_unlock(&thread0); 742 goto loop; 743 } 744 PROC_LOCK(p); 745 746 /* --- 300 unchanged lines hidden --- | 739 } 740 proc0_rescan = 0; 741 thread_unlock(&thread0); 742 goto loop; 743 } 744 PROC_LOCK(p); 745 746 /* --- 300 unchanged lines hidden --- |