[haiku-bugs] Re: [Haiku] #10169: Check kernel functions' stack usage (was: Double Fault Exception on usb boot x86_64)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 11 Jul 2019 14:01:27 -0000

#10169: Check kernel functions' stack usage
-----------------------------+----------------------------
   Reporter:  korli          |      Owner:  nobody
       Type:  bug            |     Status:  assigned
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  x86-64
-----------------------------+----------------------------
Changes (by waddlesplash):

 * keywords:  boot-failure =>


Comment:

 Coverity's support for this seems too limited. Instead we should probably
 use the GCC flag {{{-fstack-usage}}}, which dumps the maximum stack usage
 of all functions in a file, and look over the kernel as a whole for this.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/10169#comment:17>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #10169: Check kernel functions' stack usage (was: Double Fault Exception on usb boot x86_64) - Haiku