Re: [RFC 2/2] serial/8250.c: Use self-adjusting list for port pollorder.

From: Alan Cox
Date: Fri Nov 14 2008 - 16:47:25 EST


> This code does that by using the previous poll cycles as a hint.
> If a port is idle, it will migrate to the end of the list and
> only have to be checked once.
>
> Part 1 changed the list to singly-linked to make the list shuffling easier.
>
> Comments? Please?

Is it really worth the complexity

- PCI ports are shared IRQ always
- Legacy ports are almost never shared IRQ on the LPC bus (and are
increasingly going away)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/