according to various kernel people, iopl is faster than ioperm on modern kernels. see the thread in the URL.
Created attachment 797 [details] [review] iopl-before-ioperm.patch credit to Ingo Molnar for catching the original issue and and Alan Cox for this fix.
no longer sure about this one. the danger is that iopl(3) gives us all 65536 ports and allows the program to disable interrupts, where ioperm doesn't. from a reliability standpoint ioperm is safer, and not appreciably slower (assuming the kernel handles it correctly). REMIND.
Reminding....
ioperm is only slower when the kernel's ioperm implementation is broken. in non-broken kernels they are equivalently fast, and ioperm is safer because it doesn't expose the complete io port range.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.