Re: [2.6 patch] i386: always use 4k stacks

From: Kenneth Parrish (Kenneth.Parrish_at_familynet-international.net)
Date: 11/17/05

  • Next message: Kenneth Parrish: "Re: [2.6 patch] i386: always use 4k stacks"
    Date:	17 Nov 2005 12:17:14 GMT
    To: linux-kernel@vger.kernel.org
    
    

    -=> In article 16 Nov 05 14:40:16, Adrian Bunk wrote to All <=-

     AB> If one function calls another function you have to add the stack
     AB> usages.

    these few may do that, i bet.
     0xc02bb528 huft_build: 1432
     0xc02bb954 huft_build: 1432
     0xc02bc1c4 inflate_dynamic: 1312
     0xc02bc2ff inflate_dynamic: 1312
     0xc02bc082 inflate_fixed: 1168
     0xc02bc172 inflate_fixed: 1168

    78.5% of 493 make checkstack lines here report fewer than 200 bytes.
    Only six over 600.

    ... Life is like a simile.
    --- MultiMail/Linux v0.46
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Kenneth Parrish: "Re: [2.6 patch] i386: always use 4k stacks"

    Relevant Pages

    • Re: [2.6 patch] i386: always use 4k stacks
      ... Plus there is make checkstack to help find and fix any such issues, ... So it's not like forcing the stack to 4Kb and making the offending code to crash is the best solution to force people to write code which plays nice with the stack. ... default to 4Kb and let people choose 8Kb and recompile if that's what suits their workloads. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [2.6 patch] i386: always use 4k stacks
      ... AB> If one function calls another function you have to add the stack ... AB> usages. ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [2.6 patch] i386: always use 4k stacks
      ... Kenneth Parrish writes: ... > AB> usages. ... stack on every bootup. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Bug 2773] New: kernel panic under medium load
      ... Now, that would look like a pointer that _should_ be zero, but with a ... possibly due to a stack overflow that just overwrote the thread-info (and ... > Controller ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-rcX cdrom.c is subject to "chaotic" behaviour
      ... The culprit is newly ... while the offsetof on the other hand is ... >> which in turn results in random values from the stack being evaluated ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)