Re: [PATCH] Re: Regression: VIDIOCGMBUF ioctl hangs on bttv driver(2.6.24-rc6)
From: Ingo Molnar
Date: Sun Jan 06 2008 - 10:18:27 EST
* Gregor Jasny <jasny@xxxxxxxxxx> wrote:
> From: Gregor Jasny <gjasny@xxxxxx>
>
> Fix bttv VIDIOCGMBUF locking like done in commit
> 820eacd84cff23b76693f4be1e28feb672f4488f.
i've double-checked that there are no other video drivers affected by
this problem:
$ cd drivers/media/
$ grep -C 10 videobuf_mmap_setup `grep -l mutex_lock */*.c */*/*.c */*/*/*.c`
video/videobuf-core.c- mutex_lock(&q->lock);
video/videobuf-core.c- mutex_lock(&q->lock);
video/bt8xx/bttv-driver.c- mutex_lock(&fh->cap.lock);
so only bttv-driver.c was affected, at first sight.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/