aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/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/x86/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/x86/include')
-rw-r--r--arch/x86/include/asm/thread_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h
index 47e5de25ba79..854053889d4d 100644
--- a/arch/x86/include/asm/thread_info.h
+++ b/arch/x86/include/asm/thread_info.h
@@ -83,6 +83,7 @@ struct thread_info {
83#define TIF_FORK 18 /* ret_from_fork */ 83#define TIF_FORK 18 /* ret_from_fork */
84#define TIF_NOHZ 19 /* in adaptive nohz mode */ 84#define TIF_NOHZ 19 /* in adaptive nohz mode */
85#define TIF_MEMDIE 20 /* is terminating due to OOM killer */ 85#define TIF_MEMDIE 20 /* is terminating due to OOM killer */
86#define TIF_POLLING_NRFLAG 21 /* idle is polling for TIF_NEED_RESCHED */
86#define TIF_IO_BITMAP 22 /* uses I/O bitmap */ 87#define TIF_IO_BITMAP 22 /* uses I/O bitmap */
87#define TIF_FORCED_TF 24 /* true if TF in eflags artificially */ 88#define TIF_FORCED_TF 24 /* true if TF in eflags artificially */
88#define TIF_BLOCKSTEP 25 /* set when we want DEBUGCTLMSR_BTF */ 89#define TIF_BLOCKSTEP 25 /* set when we want DEBUGCTLMSR_BTF */
@@ -106,6 +107,7 @@ struct thread_info {
106#define _TIF_IA32 (1 << TIF_IA32) 107#define _TIF_IA32 (1 << TIF_IA32)
107#define _TIF_FORK (1 << TIF_FORK) 108#define _TIF_FORK (1 << TIF_FORK)
108#define _TIF_NOHZ (1 << TIF_NOHZ) 109#define _TIF_NOHZ (1 << TIF_NOHZ)
110#define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG)
109#define _TIF_IO_BITMAP (1 << TIF_IO_BITMAP) 111#define _TIF_IO_BITMAP (1 << TIF_IO_BITMAP)
110#define _TIF_FORCED_TF (1 << TIF_FORCED_TF) 112#define _TIF_FORCED_TF (1 << TIF_FORCED_TF)
111#define _TIF_BLOCKSTEP (1 << TIF_BLOCKSTEP) 113#define _TIF_BLOCKSTEP (1 << TIF_BLOCKSTEP)
@@ -191,8 +193,6 @@ static inline struct thread_info *current_thread_info(void)
191 * have to worry about atomic accesses. 193 * have to worry about atomic accesses.
192 */ 194 */
193#define TS_COMPAT 0x0002 /* 32bit syscall active (64BIT)*/ 195#define TS_COMPAT 0x0002 /* 32bit syscall active (64BIT)*/
194#define TS_POLLING 0x0004 /* idle task polling need_resched,
195 skip sending interrupt */
196#define TS_RESTORE_SIGMASK 0x0008 /* restore signal mask in do_signal() */ 196#define TS_RESTORE_SIGMASK 0x0008 /* restore signal mask in do_signal() */
197 197
198#ifndef __ASSEMBLY__ 198#ifndef __ASSEMBLY__