Hacker News new | ask | show | jobs
by cptskippy 3088 days ago
Gamers like to use PS/2 peripherals because they're interrupt based and thus more responsive than USB peripherals.

Does this mean they could take a hit due to this bug?

1 comments

Interrupts from ps/2 are pretty insignificant in comparison to all other interrupt traffic on any PC.

Edit: also "interrupt-based" in this case has nothing to do with interrupts seen by the CPU. Difference is that in ps/2 the device can send data to the controller (which then generates interrupt) at any time, while for usb the controller periodically polls devices for data (and possibly generates interrupt if there are some). In the early days of USB and UHCI host controllers this polling was done in software, but since USB 2.0 this is done in hardware and generates real cpu interrupts when usb device requests interrupt (although with somewhat unpredictable but bounded latency)

Thanks, that's really useful information. I wasn't aware that USB 2.0 switched to hardware based polling.