Re: [PATCH gnumach 2/3] i386: specialize `copyinmsg' and `copyoutmsg'

2014-12-20 Thread Samuel Thibault
Justus Winter, le Fri 19 Dec 2014 02:48:57 +0100, a écrit : > +ENTRY(copyinmsg) > + pushl %esi > + pushl %edi/* save registers */ > + > + movl8+S_ARG0,%esi /* get user start address */ > + movl8+S_ARG1,%edi /* get kernel destinatio

[PATCH gnumach 2/3] i386: specialize `copyinmsg' and `copyoutmsg'

2014-12-18 Thread Justus Winter
Previously, `copyinmsg' was the same function as `copyin'. The former is for messages, and the size of messages is a multiple of four. Likewise for `copyoutmsg'. Provide a specialized version of both functions. This shaves off a couple of instructions and improves our IPC performance. * i386/i3