Re: Stack usage tasks

From: Roland Dreier (roland_at_topspin.com)
Date: 03/31/05

  • Next message: Adrian Bunk: "Re: [2.6 patch] SCSI: cleanups"
    To: Adrian Bunk <bunk@stusta.de>
    Date:	Thu, 31 Mar 2005 12:43:38 -0800
    
    

    > The task I'm suggesting was therefore:
    > - remove the -fno-unit-at-a-time in arch/i386/Makefile in your private
    > kernel sources
    > - use gcc 3.4
    > - reduce the stack usages in call paths > 3kB

    This is a good idea. However, I might suggest using gcc 4.0 (you'll
    have to use a snapshot now, but the release should only be a few weeks
    away). A patch went into gcc 4.0 that makes gcc more intelligent
    about sharing stack for variables that cannot be alive at the same
    time, and therefore it may be more feasible to make unit-at-a-time
    work for the i386 kernels.

     - R.
    -
    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: Adrian Bunk: "Re: [2.6 patch] SCSI: cleanups"

    Relevant Pages

    • [SLE] kernel module compile problem
      ... from the kernel sources for SuSE 8.2. ... module build is hanging, however. ... gcc: unrecognized option `-iwithprefix' ...
      (SuSE)
    • Re: Compilation errors for linux-2.6.0 kernel
      ... > silviu wrote: ... > Have you verified your kernel sources were not corrupting during the download? ... > Which version of GCC are you actually using? ... > Looks to me like it's possible that you are using 2.96 to compile the kernels, ...
      (comp.os.linux.questions)
    • Re: Stack usage tasks
      ... A patch went into gcc 4.0 that makes gcc more intelligent ... these lists)? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: SuSe 8.2 Pro (Why the Hassle?) -me too
      ... > kernel sources packages on the distro media, ... YAST during install and YAST doesn't let you get the sources that way. ... You're also right about GCC. ...
      (alt.os.linux.suse)
    • Re: [PATCH] m32r: set CHECKFLAGS properly
      ... >>the same pile as gcc does. ... > But when we're using sparse to check kernel sources, ... There are very few defines we really want out of that pile. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)