Re: [rfc patch] i386: don't save eflags on task switch

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

 



> sti is expensive as well; iirc just as expensive on most processors as 
> popf, 


On K8 STI is 4 cycles.

> although I don't have hard numbers to back this up on hand.  An  
> _unlikely_ jcc + popf? is better than a sti, for sure, but a likely 
> jcc+popf could cost more than a jcc+sti, depending on model.

99.9999% of all restore_flags just need STI.


-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux