Messages in this thread | | | Date | 22 Aug 2004 16:23:44 +0200 | Date | Sun, 22 Aug 2004 16:23:44 +0200 | From | Andi Kleen <> | Subject | Re: [patch] context-switching overhead in X, ioport(), 2.6.8.1 |
| |
> Xorg and XFree assume the kernel will have intelligent limits. When the > range went up the EnableIO code in turn switched to ioperm.
Which was the wrong thing to do since it is slower.
> > The actual code is: > > if (ioperm(0, 1024, 1) || iopl(3)) > FatalError("xf86EnableIOPorts: Failed to set IOPL for > I/O\n") > > (os-support/linux/lnx_video.c:xf86EnableIO) > > Flip those around and rebuild.
It would be better to do that in the official release.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |