Re: [PATCH 7/7] alpha: lazy FPU switching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 30 Oct 2021, Al Viro wrote:

> 1) lazy FPU part has a braino in it; __save_fpu() in alpha_fork() et.al. should
> be called *after* do_switch_stack(), not before it.  Another (minor) problem is
> that use of jsr for calls for functions in the same object file is stupid -
> should be bsr instead.  Not a bug, per se, but it's clearly suboptimal.  Both
> fixes folded.

 The linker is supposed to relax any eligible JSR to BSR (same with JMP vs 
BR) so it shouldn't really matter, and writing it down as JSR is surely 
more flexible as you don't have to track which caller/callee is where.

  Maciej



[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux