commit | 76e41e4851e0c8b642e348d8489d7645b8dae21e | [log] [tgz] |
---|---|---|
author | Marcin Slusarz <marcin.slusarz@gmail.com> | Tue Apr 22 14:45:57 2008 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Thu Apr 24 14:07:50 2008 -0300 |
tree | 63479aebf183b45c9e80f892b3c6e32999ed4341 | |
parent | b524f7b02d70204444441e4805fb3a71981e9018 [diff] |
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>