From: Marcin Slusarz Date: Tue, 22 Apr 2008 17:45:57 +0000 (-0300) Subject: V4L/DVB (7365): reduce stack usage of v4l1_compat_sync X-Git-Tag: v2.6.26-rc1~1084^2~309 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76e41e4851e0c8b642e348d8489d7645b8dae21e;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed