Messages in this thread | | | Date | Mon, 9 Mar 2015 17:18:59 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 2/2] x86: save user %rsp in pt_regs->sp on SYSCALL64 fastpath |
| |
* Denys Vlasenko <dvlasenk@redhat.com> wrote:
> PER_CPU(old_rsp) usage is simplified - now it is used only > as temp storage, and userspace stack pointer is immediately stored > in pt_regs->sp on syscall entry, instead of being used later, > on syscall exit. > > All references of PER_CPU(old_rsp) in C code are gone - > pt_regs->sp is used instead. > > This also allows to get rid of thread_struct::usersp, > which was needed only to set PER_CPU(old_rsp) for > correct return from fork/clone.
Would it be possible to split this one into two parts as well:
- Essential changes into the first one (old_rsp update simplification, usersp usage conversion)
- Removal of usersp, old_rsp extern declaration removal, comment changes, in the second patch?
Thanks,
Ingo
| |