sched_ule.c (260817) | sched_ule.c (266330) |
---|---|
1/*- 2 * Copyright (c) 2002-2007, Jeffrey Roberson <jeff@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * 32 * etymology: 33 * ULE is the last three letters in schedule. It owes its name to a 34 * generic user created for a scheduling system by Paul Mikesell at 35 * Isilon Systems and a general lack of creativity on the part of the author. 36 */ 37 38#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2002-2007, Jeffrey Roberson <jeff@freebsd.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 * 32 * etymology: 33 * ULE is the last three letters in schedule. It owes its name to a 34 * generic user created for a scheduling system by Paul Mikesell at 35 * Isilon Systems and a general lack of creativity on the part of the author. 36 */ 37 38#include <sys/cdefs.h> |
39__FBSDID("$FreeBSD: stable/10/sys/kern/sched_ule.c 260817 2014-01-17 10:58:59Z avg $"); | 39__FBSDID("$FreeBSD: stable/10/sys/kern/sched_ule.c 266330 2014-05-17 17:18:35Z ian $"); |
40 41#include "opt_hwpmc_hooks.h" 42#include "opt_kdtrace.h" 43#include "opt_sched.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/kdb.h> --- 24 unchanged lines hidden (view full) --- 72#include <sys/dtrace_bsd.h> 73int dtrace_vtime_active; 74dtrace_vtime_switch_func_t dtrace_vtime_switch_func; 75#endif 76 77#include <machine/cpu.h> 78#include <machine/smp.h> 79 | 40 41#include "opt_hwpmc_hooks.h" 42#include "opt_kdtrace.h" 43#include "opt_sched.h" 44 45#include <sys/param.h> 46#include <sys/systm.h> 47#include <sys/kdb.h> --- 24 unchanged lines hidden (view full) --- 72#include <sys/dtrace_bsd.h> 73int dtrace_vtime_active; 74dtrace_vtime_switch_func_t dtrace_vtime_switch_func; 75#endif 76 77#include <machine/cpu.h> 78#include <machine/smp.h> 79 |
80#if defined(__powerpc__) && defined(BOOKE_E500) 81#error "This architecture is not currently compatible with ULE" 82#endif 83 | |
84#define KTR_ULE 0 85 86#define TS_NAME_LEN (MAXCOMLEN + sizeof(" td ") + sizeof(__XSTRING(UINT_MAX))) 87#define TDQ_NAME_LEN (sizeof("sched lock ") + sizeof(__XSTRING(MAXCPU))) 88#define TDQ_LOADNAME_LEN (sizeof("CPU ") + sizeof(__XSTRING(MAXCPU)) - 1 + sizeof(" load")) 89 90/* 91 * Thread scheduler specific section. All fields are protected --- 2796 unchanged lines hidden --- | 80#define KTR_ULE 0 81 82#define TS_NAME_LEN (MAXCOMLEN + sizeof(" td ") + sizeof(__XSTRING(UINT_MAX))) 83#define TDQ_NAME_LEN (sizeof("sched lock ") + sizeof(__XSTRING(MAXCPU))) 84#define TDQ_LOADNAME_LEN (sizeof("CPU ") + sizeof(__XSTRING(MAXCPU)) - 1 + sizeof(" load")) 85 86/* 87 * Thread scheduler specific section. All fields are protected --- 2796 unchanged lines hidden --- |