aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-03 17:00:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-03 17:00:15 -0400
commitc84a1e32ee58fc1cc9d3fd42619b917cce67e30a (patch)
treed3e5bed273f747e7c9e399864219bea76f4c30ea /arch/ia64/include
parent3d521f9151dacab566904d1f57dcb3e7080cdd8f (diff)
parent096aa33863a5e48de52d2ff30e0801b7487944f4 (diff)
Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next
Pull scheduler updates from Ingo Molnar: "The main scheduling related changes in this cycle were: - various sched/numa updates, for better performance - tree wide cleanup of open coded nice levels - nohz fix related to rq->nr_running use - cpuidle changes and continued consolidation to improve the kernel/sched/idle.c high level idle scheduling logic. As part of this effort I pulled cpuidle driver changes from Rafael as well. - standardized idle polling amongst architectures - continued work on preparing better power/energy aware scheduling - sched/rt updates - misc fixlets and cleanups" * 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (49 commits) sched/numa: Decay ->wakee_flips instead of zeroing sched/numa: Update migrate_improves/degrades_locality() sched/numa: Allow task switch if load imbalance improves sched/rt: Fix 'struct sched_dl_entity' and dl_task_time() comments, to match the current upstream code sched: Consolidate open coded implementations of nice level frobbing into nice_to_rlimit() and rlimit_to_nice() sched: Initialize rq->age_stamp on processor start sched, nohz: Change rq->nr_running to always use wrappers sched: Fix the rq->next_balance logic in rebalance_domains() and idle_balance() sched: Use clamp() and clamp_val() to make sys_nice() more readable sched: Do not zero sg->cpumask and sg->sgp->power in build_sched_groups() sched/numa: Fix initialization of sched_domain_topology for NUMA sched: Call select_idle_sibling() when not affine_sd sched: Simplify return logic in sched_read_attr() sched: Simplify return logic in sched_copy_attr() sched: Fix exec_start/task_hot on migrated tasks arm64: Remove TIF_POLLING_NRFLAG metag: Remove TIF_POLLING_NRFLAG sched/idle: Make cpuidle_idle_call() void sched/idle: Reflow cpuidle_idle_call() sched/idle: Delay clearing the polling bit ...
Diffstat (limited to 'arch/ia64/include')
-rw-r--r--arch/ia64/include/asm/thread_info.h3
-rw-r--r--arch/ia64/include/asm/topology.h24
2 files changed, 2 insertions, 25 deletions
diff --git a/arch/ia64/include/asm/thread_info.h b/arch/ia64/include/asm/thread_info.h
index 5957cf61f898..5b17418b4223 100644
--- a/arch/ia64/include/asm/thread_info.h
+++ b/arch/ia64/include/asm/thread_info.h
@@ -107,6 +107,7 @@ struct thread_info {
107#define TIF_MCA_INIT 18 /* this task is processing MCA or INIT */ 107#define TIF_MCA_INIT 18 /* this task is processing MCA or INIT */
108#define TIF_DB_DISABLED 19 /* debug trap disabled for fsyscall */ 108#define TIF_DB_DISABLED 19 /* debug trap disabled for fsyscall */
109#define TIF_RESTORE_RSE 21 /* user RBS is newer than kernel RBS */ 109#define TIF_RESTORE_RSE 21 /* user RBS is newer than kernel RBS */
110#define TIF_POLLING_NRFLAG 22 /* idle is polling for TIF_NEED_RESCHED */
110 111
111#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) 112#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
112#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) 113#define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT)
@@ -118,6 +119,7 @@ struct thread_info {
118#define _TIF_MCA_INIT (1 << TIF_MCA_INIT) 119#define _TIF_MCA_INIT (1 << TIF_MCA_INIT)
119#define _TIF_DB_DISABLED (1 << TIF_DB_DISABLED) 120#define _TIF_DB_DISABLED (1 << TIF_DB_DISABLED)
120#define _TIF_RESTORE_RSE (1 << TIF_RESTORE_RSE) 121#define _TIF_RESTORE_RSE (1 << TIF_RESTORE_RSE)
122#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
121 123
122/* "work to do on user-return" bits */ 124/* "work to do on user-return" bits */
123#define TIF_ALLWORK_MASK (_TIF_SIGPENDING|_TIF_NOTIFY_RESUME|_TIF_SYSCALL_AUDIT|\ 125#define TIF_ALLWORK_MASK (_TIF_SIGPENDING|_TIF_NOTIFY_RESUME|_TIF_SYSCALL_AUDIT|\
@@ -125,7 +127,6 @@ struct thread_info {
125/* like TIF_ALLWORK_BITS but sans TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT */ 127/* like TIF_ALLWORK_BITS but sans TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT */
126#define TIF_WORK_MASK (TIF_ALLWORK_MASK&~(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT)) 128#define TIF_WORK_MASK (TIF_ALLWORK_MASK&~(_TIF_SYSCALL_TRACE|_TIF_SYSCALL_AUDIT))
127 129
128#define TS_POLLING 1 /* true if in idle loop and not sleeping */
129#define TS_RESTORE_SIGMASK 2 /* restore signal mask in do_signal() */ 130#define TS_RESTORE_SIGMASK 2 /* restore signal mask in do_signal() */
130 131
131#ifndef __ASSEMBLY__ 132#ifndef __ASSEMBLY__
diff --git a/arch/ia64/include/asm/topology.h b/arch/ia64/include/asm/topology.h
index 5cb55a1e606b..3202aa74e0d6 100644
--- a/arch/ia64/include/asm/topology.h
+++ b/arch/ia64/include/asm/topology.h
@@ -46,30 +46,6 @@
46 46
47void build_cpu_to_node_map(void); 47void build_cpu_to_node_map(void);
48 48
49#define SD_CPU_INIT (struct sched_domain) { \
50 .parent = NULL, \
51 .child = NULL, \
52 .groups = NULL, \
53 .min_interval = 1, \
54 .max_interval = 4, \
55 .busy_factor = 64, \
56 .imbalance_pct = 125, \
57 .cache_nice_tries = 2, \
58 .busy_idx = 2, \
59 .idle_idx = 1, \
60 .newidle_idx = 0, \
61 .wake_idx = 0, \
62 .forkexec_idx = 0, \
63 .flags = SD_LOAD_BALANCE \
64 | SD_BALANCE_NEWIDLE \
65 | SD_BALANCE_EXEC \
66 | SD_BALANCE_FORK \
67 | SD_WAKE_AFFINE, \
68 .last_balance = jiffies, \
69 .balance_interval = 1, \
70 .nr_balance_failed = 0, \
71}
72
73#endif /* CONFIG_NUMA */ 49#endif /* CONFIG_NUMA */
74 50
75#ifdef CONFIG_SMP 51#ifdef CONFIG_SMP