Re: [patch 1/4] ps3fb: thread updates
From: Christoph Hellwig <hch@lst.de>
Date: 2007-02-15 17:50:29
Also in:
linuxppc-dev
From: Christoph Hellwig <hch@lst.de>
Date: 2007-02-15 17:50:29
Also in:
linuxppc-dev
On Thu, Feb 15, 2007 at 04:23:02PM +0100, Geert.Uytterhoeven@sonycom.com wrote:
+ do {
+ try_to_freeze();
+ error = down_interruptible(&ps3fb.sem);
+ if (!error && !atomic_read(&ps3fb.ext_flip))
ps3fb_sync(0); /* single buffer */this still can deadlock when calling kthread_stop. You really want to use wake_up_process to kick this thread or use a workqueue. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV