aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttv-cards.c
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-04-22 14:45:57 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:07:50 -0300
commit76e41e4851e0c8b642e348d8489d7645b8dae21e (patch)
tree63479aebf183b45c9e80f892b3c6e32999ed4341 /drivers/media/video/bt8xx/bttv-cards.c
parentV4L/DVB (7364): reduce stack usage of v4l_compat_translate_ioctl (diff)
downloadlinux-dev-76e41e4851e0c8b642e348d8489d7645b8dae21e.tar.xz
linux-dev-76e41e4851e0c8b642e348d8489d7645b8dae21e.zip
V4L/DVB (7365): reduce stack usage of v4l1_compat_sync
poll_one allocated on stack struct poll_wqueues which is pretty big structure (>500 bytes on x86_64). v4l1_compat_sync invokes poll_one in a loop, so allocate struct poll_wqueues in v4l1_compat_sync (with kmalloc) and pass it to poll_one. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-cards.c')
0 files changed, 0 insertions, 0 deletions