Previously all of the IOCTL calls were protected by the Big Kernel
Lock. If we break that aren't we allowing multiple callers into the
IOCTL code on SMP machines that weren't allowed in before? Doesn't that
mean that we have to check everything to make sure it is SMP safe?
--- Ingo Molnar <[EMAIL PROTECTED]> wrote:
>
> i'll put the patch below into the -P8 patch. (change
> voluntary_resched()
> to cond_resched() if you apply this to a vanilla kernel.)
>
> Ingo
>
> --- linux/drivers/char/drm/drm_os_linux.h.orig
> +++ linux/drivers/char/drm/drm_os_linux.h
> @@ -14,7 +14,7 @@
> #define DRM_ERR(d) -(d)
> /** Current process ID */
> #define DRM_CURRENTPID current->pid
> -#define DRM_UDELAY(d) udelay(d)
> +#define DRM_UDELAY(d) do { voluntary_resched(); udelay(d); }
> while
> (0)
> /** Read a byte from a MMIO region */
> #define DRM_READ8(map, offset) readb(((unsigned long)(map)->handle)
> + (offset))
> /** Read a dword from a MMIO region */
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank
> Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> --
> _______________________________________________
> Dri-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dri-devel
>
=====
Jon Smirl
[EMAIL PROTECTED]
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel