kern_exit.c (6c84de02e073a84014fd52fecb23b35c701ed390) | kern_exit.c (8ba3d077ff91f0713694522078eb6846fe18257b) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 434 unchanged lines hidden (view full) --- 443 wakeup(p->p_pptr); 444 PROC_UNLOCK(p->p_pptr); 445 PROC_UNLOCK(p); 446 447 cnt.v_swtch++; 448 binuptime(PCPU_PTR(switchtime)); 449 PCPU_SET(switchticks, ticks); 450 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 434 unchanged lines hidden (view full) --- 443 wakeup(p->p_pptr); 444 PROC_UNLOCK(p->p_pptr); 445 PROC_UNLOCK(p); 446 447 cnt.v_swtch++; 448 binuptime(PCPU_PTR(switchtime)); 449 PCPU_SET(switchticks, ticks); 450 |
451 cpu_sched_exit(td); |
|
451 cpu_throw(); 452 panic("exit1"); 453} 454 455#ifdef COMPAT_43 456/* 457 * MPSAFE. The dirty work is handled by wait1(). 458 */ --- 346 unchanged lines hidden --- | 452 cpu_throw(); 453 panic("exit1"); 454} 455 456#ifdef COMPAT_43 457/* 458 * MPSAFE. The dirty work is handled by wait1(). 459 */ --- 346 unchanged lines hidden --- |