Thomas Gleixner
00d1a39e69
preempt: Make PREEMPT_ACTIVE generic
...
No point in having this bit defined by architecture.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Acked-by: Peter Zijlstra <peterz@infradead.org >
Link: http://lkml.kernel.org/r/20130917183629.090698799@linutronix.de
2013-11-13 20:21:47 +01:00
Al Viro
16a8016372
sanitize tsk_is_polling()
...
Make default just return 0. The current default (checking
TIF_POLLING_NRFLAG) is taken to architectures that need it;
ones that don't do polling in their idle threads don't need
to defined TIF_POLLING_NRFLAG at all.
ia64 defined both TS_POLLING (used by its tsk_is_polling())
and TIF_POLLING_NRFLAG (not used at all). Killed the latter...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2012-10-01 09:58:13 -04:00
Al Viro
8af4efac26
bury _TIF_RESTORE_SIGMASK
...
never used...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2012-10-01 09:58:12 -04:00
Thomas Gleixner
c4e26890ff
score: Use common threadinfo allocator
...
No point in using kmalloc for allocating 2 pages.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Cc: Lennox Wu <lennox.wu@gmail.com >
Link: http://lkml.kernel.org/r/20120505150142.123383955@linutronix.de
2012-05-08 14:08:46 +02:00
Eric Dumazet
b6a84016bd
mm: NUMA aware alloc_thread_info_node()
...
Add a node parameter to alloc_thread_info(), and change its name to
alloc_thread_info_node()
This change is needed to allow NUMA aware kthread_create_on_cpu()
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com >
Acked-by: David S. Miller <davem@davemloft.net >
Reviewed-by: Andi Kleen <ak@linux.intel.com >
Acked-by: Rusty Russell <rusty@rustcorp.com.au >
Cc: Tejun Heo <tj@kernel.org >
Cc: Tony Luck <tony.luck@intel.com >
Cc: Fenghua Yu <fenghua.yu@intel.com >
Cc: David Howells <dhowells@redhat.com >
Cc: <linux-arch@vger.kernel.org >
Signed-off-by: Andrew Morton <akpm@linux-foundation.org >
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org >
2011-03-22 17:44:01 -07:00
Andreas Dilger
0ddc9324b1
add descriptive comment for TIF_MEMDIE task flag declaration.
...
Signed-off-by: Andreas Dilger <adilger@dilger.ca >
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com >
Signed-off-by: Jiri Kosina <jkosina@suse.cz >
2010-05-14 11:13:27 +02:00
Tim Abbott
0dab100689
score: Make THREAD_SIZE available to assembly files.
...
Signed-off-by: Tim Abbott <tabbott@ksplice.com >
Acked-by: Sam Ravnborg <sam@ravnborg.org >
2009-09-23 13:37:42 +08:00
Chen Liqin
9973affe9b
score: add TIF_NOTIFY_RESUME define in asm/thread_info.h
2009-09-17 12:05:56 +08:00
Chen Liqin
6bc9a3966f
score: Add support for Sunplus S+core architecture
...
This is the complete set of new arch Score's files for linux.
Score instruction set support 16bits, 32bits and 64bits instruction,
Score SOC had been used in game machine and LCD TV.
Signed-off-by: Chen Liqin <liqin.chen@sunplusct.com >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
2009-06-19 11:38:47 +02:00