diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-12 16:23:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-12 16:23:44 -0300 |
commit | 9e0da75b38a18187f11535f7b1ee6cfc2eb78a17 (patch) | |
tree | c587e0d49a92f331c7483a512cf5db3452859356 /linux/Documentation | |
parent | a5b5a69be467cef37fea682521632a40f67204a9 (diff) | |
download | mediapointer-dvb-s2-9e0da75b38a18187f11535f7b1ee6cfc2eb78a17.tar.gz mediapointer-dvb-s2-9e0da75b38a18187f11535f7b1ee6cfc2eb78a17.tar.bz2 |
reduce stack usage of v4l1_compat_sync
From: Marcin Slusarz <marcin.slusarz@gmail.com>
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 'linux/Documentation')
0 files changed, 0 insertions, 0 deletions