[PATCH] wavefront: reduce stack usage
From: Randy.Dunlap (rddunlap_at_osdl.org)
Date: 01/31/05
- Previous message: Jon Masters: "Re: Interface between BSP and the kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- text/x-patch attachment: wavfront_stack.patch
- Previous message: Jon Masters: "Re: Interface between BSP and the kernel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|