Re: [ANNOUNCE] Native Linux KVM tool

From: Olivier Galibert
Date: Sat Apr 09 2011 - 14:24:00 EST


On Fri, Apr 08, 2011 at 09:00:43AM -0500, Anthony Liguori wrote:
> Really, having a flat table doesn't make sense. You should just send
> everything to an i440fx directly. Then the i440fx should decode what it
> can, and send it to the next level, and so forth.

No you shouldn't. The i440fx should merge and arbitrate the mappings
and then push *direct* links to the handling functions at the top
level. Mapping changes don't happen often on modern hardware, and
decoding is expensive. Incidentally, you can have special handling
functions which are in reality references to kernel handlers,
shortcutting userspace entirely for critical ports/mmio ranges.

OG.
--
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/