]> git.baikalelectronics.ru Git - kernel.git/commit
arch/tile: move user_exit() to early kernel entry sequence
authorChris Metcalf <cmetcalf@ezchip.com>
Wed, 23 Dec 2015 22:13:04 +0000 (17:13 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Mon, 18 Jan 2016 19:49:30 +0000 (14:49 -0500)
commit2bcde1dd9dc3243197c2f9c789b03774ea9abafb
tree91e00be5d5852acdb7c5c9ba9707b9f7926e6bc6
parentdd414ba82abd2d5e1d284a8c26b8753313a0f40f
arch/tile: move user_exit() to early kernel entry sequence

This ensures that we always notify context tracking that we
have exited from user space no matter how we enter the kernel.
It is similar to how arm64 handles context tracking, for example.

This allows the removal of all the exception_enter() calls that
were added in commit 4470fb4604a3 ("tile: support CONTEXT_TRACKING and
thus NOHZ_FULL").

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/kernel/intvec_32.S
arch/tile/kernel/intvec_64.S
arch/tile/kernel/ptrace.c
arch/tile/kernel/single_step.c
arch/tile/kernel/traps.c
arch/tile/kernel/unaligned.c
arch/tile/mm/fault.c