process_32.c (57b8628bb0ac4e47c806e45c5bbd89282e93869b) | process_32.c (2c1cfb2db61474040a394962872f4cde613f89fb) |
---|---|
1/* linux/arch/sparc/kernel/process.c 2 * 3 * Copyright (C) 1995, 2008 David S. Miller (davem@davemloft.net) 4 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) 5 */ 6 7/* 8 * This file handles the architecture-dependent parts of process handling.. --- 86 unchanged lines hidden (view full) --- 95 count += HZ; 96 faults = sun4c_kernel_faults; 97 fps = (fps + (faults - last_faults)) >> 1; 98 last_faults = faults; 99#if 0 100 printk("kernel faults / second = %ld\n", fps); 101#endif 102 if (fps >= SUN4C_FAULT_HIGH) { | 1/* linux/arch/sparc/kernel/process.c 2 * 3 * Copyright (C) 1995, 2008 David S. Miller (davem@davemloft.net) 4 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) 5 */ 6 7/* 8 * This file handles the architecture-dependent parts of process handling.. --- 86 unchanged lines hidden (view full) --- 95 count += HZ; 96 faults = sun4c_kernel_faults; 97 fps = (fps + (faults - last_faults)) >> 1; 98 last_faults = faults; 99#if 0 100 printk("kernel faults / second = %ld\n", fps); 101#endif 102 if (fps >= SUN4C_FAULT_HIGH) { |
103 sun4c_grow_kernel_ring(); | 103 /*sun4c_grow_kernel_ring();*/ |
104 } 105 } 106 local_irq_enable(); 107 } 108 109 if (pm_idle) { 110 while (!need_resched()) 111 (*pm_idle)(); --- 603 unchanged lines hidden --- | 104 } 105 } 106 local_irq_enable(); 107 } 108 109 if (pm_idle) { 110 while (!need_resched()) 111 (*pm_idle)(); --- 603 unchanged lines hidden --- |