[PATCH] wavefront: reduce stack usage

From: Randy.Dunlap (rddunlap_at_osdl.org)
Date: 01/31/05

  • Next message: Trever L. Adams: "Re: OpenOffice crashes due to incorrect access permissions on /dev/dri/card*"
    Date:	Sun, 30 Jan 2005 18:21:20 -0800
    To: linux-kernel@vger.kernel.org, akpm <akpm@osdl.org>
    
    
    

    Reduce local stack usage in wavefront_load_gus_patch()
    from 984 bytes to 140 bytes (on x86-32) by using kmalloc()
    instead of stack for these 840 bytes:
            wavefront_patch_info samp, pat, prog; // 3 * 280

    Signed-off-by: Randy Dunlap <rddunlap@osdl.org>

    diffstat:=
      sound/oss/wavfront.c | 56
    +++++++++++++++++++++++++++++++--------------------
      1 files changed, 35 insertions(+), 21 deletions(-)

    
    

    -
    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: Trever L. Adams: "Re: OpenOffice crashes due to incorrect access permissions on /dev/dri/card*"

    Relevant Pages

    • [PATCH] irq_affinity: fix build when CONFIG_PROC_FS=n
      ... : undefined reference to `irq_affinity' ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [patch 4/4] s390: fix inline assembly in appldata.
      ... Fix inline assembly that gets miscompiled by gcc 4. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [PATCH] parport_pc: use devinitdata
      ... /* Data for two known VIA chips */ ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: kernel status, 4 Aug 2005
      ... The summary line from "diffstat" would be nicer. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [patch 4/8] s390: 3270 console.
      ... 3270 console changes: ... files changed, 1 insertion(+) ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)