[lkml]   [2003]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: reducing stack usage in v4l?
    "Randy.Dunlap" <> wrote:
    > Hi,
    > I was looking at stack usage in drivers/media/video/v4l1-compat.c::
    > v4l_compat_translate_ioctl(). It's 0x924 bytes on my peecee.
    > It's fairly straightforward to change the stack space to
    > kmalloc() space, but some of these functions (ioctls) are
    > speed-critical, so I was wondering if the changes should still
    > be done, or done only in some cases and not others, or wait
    > until an oops is reported here....

    Well the function is doing a memset() of 2k's worth of memory already,
    so it presumably doesn't care much.

    Your kmalloc will be a small cost compared with that.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:33    [W:0.021 / U:51.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site