[FIX] Save current uprobe state in stack (x86) 02/44202/1
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Sun, 12 Jul 2015 13:54:24 +0000 (16:54 +0300)
committerVasiliy Ulyanov <v.ulyanov@samsung.com>
Sat, 18 Jul 2015 17:15:24 +0000 (20:15 +0300)
commit5b60bbe9edf7616e300e5d2324c05ad3fdc88934
treeea74d61df14ac2c84f7a4d56a3a57daaceb78749
parent91843044de4ea0aee1281fba9b9a8f17387d0190
[FIX] Save current uprobe state in stack (x86)

We cannot use per cpu vars here because when we make a singlestep
in userspace there is a chance our task is preempted and resumed
on another cpu. In that case we will not be able to restore its
normal execution.

Change-Id: I591ef52b52db8db0e741d81461903806ed00ef8e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
uprobe/arch/x86/swap-asm/swap_uprobes.c