linux/arch/um/drivers
Frederic Weisbecker 04e7e95153 rcu: Switch task's syscall hooks on context switch
Clear the syscalls hook of a task when it's scheduled out so that if
the task migrates, it doesn't run the syscall slow path on a CPU
that might not need it.

Also set the syscalls hook on the next task if needed.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Alessio Igor Bogani <abogani@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Avi Kivity <avi@redhat.com>
Cc: Chris Metcalf <cmetcalf@tilera.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Geoff Levand <geoff@infradead.org>
Cc: Gilad Ben Yossef <gilad@benyossef.com>
Cc: Hakan Akkan <hakanakkan@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Max Krasnyansky <maxk@qualcomm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Sven-Thorsten Dietrich <thebigcorporation@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2012-09-26 15:47:02 +02:00
..
chan_kern.c TTY: um/line, use tty from tty_port 2012-07-28 17:47:58 +02:00
chan_user.c um: take register_winch_irq() into the caller of is_skas_winch() 2011-11-02 14:15:11 +01:00
chan_user.h um: chan_init_pri is dead now 2012-03-25 00:29:54 +01:00
chan.h um: switch close_chan() to struct line 2012-03-25 00:29:54 +01:00
cow_sys.h um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
cow_user.c um: switch cow_user.h to htobe{32,64}/betoh{32,64} 2012-04-10 00:13:45 +02:00
cow.h um: switch cow_user.h to htobe{32,64}/betoh{32,64} 2012-04-10 00:13:45 +02:00
daemon_kern.c um: Kill directly reference of netdev->priv 2008-12-04 15:07:33 -08:00
daemon_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
daemon.h uml: network formatting 2007-10-16 09:43:08 -07:00
fd.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
harddog_kern.c Merge branch 'llseek' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:52:56 -07:00
harddog_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
hostaudio_kern.c Merge branch 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl 2010-10-22 10:43:11 -07:00
line.c Merge branch 'for-linus-3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml 2012-08-01 16:45:02 -07:00
line.h um: remove count_lock 2012-07-28 17:47:59 +02:00
Makefile um: add ucast ethernet transport 2011-05-25 08:39:41 -07:00
mconsole_kern.c rcu: Switch task's syscall hooks on context switch 2012-09-26 15:47:02 +02:00
mconsole_kern.h um: take mconsole*.h to arch/um/drivers 2011-11-02 14:15:12 +01:00
mconsole_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
mconsole.h um: take mconsole*.h to arch/um/drivers 2011-11-02 14:15:12 +01:00
mmapper_kern.c treewide: remove extra semicolons 2011-04-10 17:01:05 +02:00
net_kern.c arch: Use eth_random_addr 2012-07-16 22:39:25 -07:00
net_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
null.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
pcap_kern.c um: Kill directly reference of netdev->priv 2008-12-04 15:07:33 -08:00
pcap_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
pcap_user.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
port_kern.c um: remove IRQF_SAMPLE_RANDOM which is now a no-op 2012-07-19 10:40:42 -04:00
port_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
port.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
pty.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
random.c um: remove IRQF_SAMPLE_RANDOM which is now a no-op 2012-07-19 10:40:42 -04:00
slip_common.c
slip_common.h
slip_kern.c UML: Fix some apparent bitrot 2009-06-25 11:22:13 -07:00
slip_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
slip.h
slirp_kern.c UML: Fix some apparent bitrot 2009-06-25 11:22:13 -07:00
slirp_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
slirp.h
ssl.c um: fully use tty_port 2012-07-28 17:47:59 +02:00
ssl.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
stderr_console.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
stdio_console.c um: fully use tty_port 2012-07-28 17:47:59 +02:00
stdio_console.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
tty.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
ubd_kern.c um: fix ubd_file_size for read-only files 2012-08-02 00:44:49 +02:00
ubd_user.c um: clean up the includes in ubd 2012-03-25 00:29:52 +01:00
ubd.h um: clean up the includes in ubd 2012-03-25 00:29:52 +01:00
umcast_kern.c um: add ucast ethernet transport 2011-05-25 08:39:41 -07:00
umcast_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
umcast.h um: add ucast ethernet transport 2011-05-25 08:39:41 -07:00
vde_kern.c um: Kill directly reference of netdev->priv 2008-12-04 15:07:33 -08:00
vde_user.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
vde.h uml: add VDE networking support 2007-10-16 09:43:05 -07:00
xterm_kern.c um: remove IRQF_SAMPLE_RANDOM which is now a no-op 2012-07-19 10:40:42 -04:00
xterm.c um: -include user.h for USER_OBJ, trim includes 2011-11-02 14:14:44 +01:00
xterm.h uml: remove useless comments 2009-04-01 08:59:17 -07:00