On Sat, Mar 19, 2016 at 12:13:47AM +0800, Eli Cooper wrote: > I agree that we should keep userspace() minimal. So what in the first > place is the FPU state save/restore code for? Or, what (except for > sigreturn) could possibly mess the FPU state of the ptrace'd process > without it?
My (vague) recollection was that with libc in there, I couldn't be confident that it wouldn't unexpectedly use FP for something. So, saving and restoring FP state was a hedge against that happening. Jeff -- Jeff Dike AddToIt 978-254-0789 (o) 978-394-8986 (c) ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel