[haiku-bugs] Re: [Haiku] #16382: ASSERT FAILED: gFPUSaveLength <= sizeof(sInitialState.fpu_state)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 14 Jul 2020 11:11:38 -0000

#16382: ASSERT FAILED: gFPUSaveLength <= sizeof(sInitialState.fpu_state)
----------------------------+----------------------
  Reporter:  HAL            |      Owner:  korli
      Type:  bug            |     Status:  assigned
  Priority:  normal         |  Milestone:  R1/beta3
 Component:  System/Kernel  |    Version:  R1/beta2
Resolution:                 |   Keywords:
Blocked By:                 |   Blocking:
  Platform:  x86-64         |
----------------------------+----------------------
Comment (by pulkomandy):

 This specific instance is only for creating new threads if I read things
 correctly.

 But yes, in general, saving and restoring more data in context switches
 affects the speed. It seems Linux only saves registers that have been used
 at least once by the thread to avoid that, according to
 
https://events.static.linuxfound.org/sites/events/files/slides/LinuxCon_NA_2014.pdf
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16382#comment:9>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: