From: Hideyuki Sasaki Date: Wed, 4 Nov 2009 08:09:28 +0000 (+0100) Subject: block/ps3: fix slow VRAM IO X-Git-Tag: v2.6.33-rc1~379^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f21121cde6e617b90cd03ce083652ca543004dc2;p=pandora-kernel.git block/ps3: fix slow VRAM IO The current PS3 VRAM driver uses msleep() to wait for completion of RSX DMA transfers between system memory and VRAM. Depending on the system timing, the processing delay and overhead of this msleep() call can significantly impact VRAM driver IO. To avoid the condition, add a short duration (200 usec max) udelay() polling loop before entering the msleep() polling loop. Signed-off-by: Hideyuki Sasaki Signed-off-by: Geoff Levand Acked-by: Jim Paris Cc: Geert Uytterhoeven Signed-off-by: Jens Axboe --- Reading git-diff-tree failed