Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1426042
| From | Andy Lutomirski <luto@amacapital.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 4/6] x86: Rewrite switch_to() code |
| Date | 2016-06-19 23:30 +0200 |
| Message-ID | <rLSs1-7KI-3@gated-at.bofh.it> (permalink) |
| References | <rLvvr-F3-3@gated-at.bofh.it> <rLvvr-F3-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Jun 18, 2016 at 1:56 PM, Brian Gerst <brgerst@gmail.com> wrote: > Move the low-level context switch code to an out-of-line asm stub instead of > using complex inline asm. This allows constructing a new stack frame for the > child process to make it seamlessly flow to ret_from_fork without an extra > test and branch in __switch_to(). It also improves code generation for > __schedule() by using the C calling convention instead of clobbering all > registers. This is great. The conflict with my stack code is minimal enough that I won't bother rebasing unless someone specifically wants me to. Acked-by: Andy Lutomirski <luto@kernel.org> --Andy
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 4/6] x86: Rewrite switch_to() code Brian Gerst <brgerst@gmail.com> - 2016-06-18 23:00 +0200 Re: [PATCH v2 4/6] x86: Rewrite switch_to() code Andy Lutomirski <luto@amacapital.net> - 2016-06-19 23:30 +0200 Re: [PATCH v2 4/6] x86: Rewrite switch_to() code Josh Poimboeuf <jpoimboe@redhat.com> - 2016-06-20 17:50 +0200
csiph-web