Deleted Added
full compact
sched_ule.c (166557) sched_ule.c (167012)
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

--- 11 unchanged lines hidden (view full) ---

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#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

--- 11 unchanged lines hidden (view full) ---

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/kern/sched_ule.c 166557 2007-02-08 01:52:25Z jeff $");
28__FBSDID("$FreeBSD: head/sys/kern/sched_ule.c 167012 2007-02-26 08:26:44Z kmacy $");
29
30#include "opt_hwpmc_hooks.h"
31#include "opt_sched.h"
32
33#include <sys/param.h>
34#include <sys/systm.h>
35#include <sys/kdb.h>
36#include <sys/kernel.h>

--- 955 unchanged lines hidden (view full) ---

992 * Initialize the tdqs.
993 */
994 for (i = 0; i < MAXCPU; i++) {
995 struct tdq *tdq;
996
997 tdq = &tdq_cpu[i];
998 tdq_setup(&tdq_cpu[i]);
999 }
29
30#include "opt_hwpmc_hooks.h"
31#include "opt_sched.h"
32
33#include <sys/param.h>
34#include <sys/systm.h>
35#include <sys/kdb.h>
36#include <sys/kernel.h>

--- 955 unchanged lines hidden (view full) ---

992 * Initialize the tdqs.
993 */
994 for (i = 0; i < MAXCPU; i++) {
995 struct tdq *tdq;
996
997 tdq = &tdq_cpu[i];
998 tdq_setup(&tdq_cpu[i]);
999 }
1000 if (smp_topology == NULL) {
1000 if (1) {
1001 struct tdq_group *tdg;
1002 struct tdq *tdq;
1003 int cpus;
1004
1005 for (cpus = 0, i = 0; i < MAXCPU; i++) {
1006 if (CPU_ABSENT(i))
1007 continue;
1008 tdq = &tdq_cpu[i];

--- 1093 unchanged lines hidden ---
1001 struct tdq_group *tdg;
1002 struct tdq *tdq;
1003 int cpus;
1004
1005 for (cpus = 0, i = 0; i < MAXCPU; i++) {
1006 if (CPU_ABSENT(i))
1007 continue;
1008 tdq = &tdq_cpu[i];

--- 1093 unchanged lines hidden ---