lkml.org 
[lkml]   [2009]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] isdn: reduce stack size of mISDN_dsp
    From: Frank Seidel <frank@f-seidel.de>

    Reduce stack size memory footprint of mISDN_dsp.
    (From 1468 bytes for dsp_cmx_send on i386 down
    to 44).

    Signed-off-by: Frank Seidel <frank@f-seidel.de>
    ---
    drivers/isdn/mISDN/dsp_cmx.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- a/drivers/isdn/mISDN/dsp_cmx.c
    +++ b/drivers/isdn/mISDN/dsp_cmx.c
    @@ -1592,7 +1592,8 @@ dsp_cmx_send(void *arg)
    struct dsp_conf_member *member;
    struct dsp *dsp;
    int mustmix, members;
    - s32 mixbuffer[MAX_POLL+100], *c;
    + static s32 mixbuffer[MAX_POLL+100];
    + s32 *c;
    u8 *p, *q;
    int r, rr;
    int jittercheck = 0, delay, i;


    \
     
     \ /
      Last update: 2009-03-01 17:37    [W:0.020 / U:2.308 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site