> for interrupts that are served as separate threads. This way, one can
> re-schedule with spin-locks held.
This is one of the things interrupt handling by threads gives you, but the
performance cost is not nice. When you consider that ksoftirqd when it
kicks in (currently far too often) takes up to 10% off gigabit ethernet
performance, you can appreciate why we don't want to go that path.
Our spinlock paths are supposed to be very small and predictable. Where
there is sleeping involved we have semaphores.
As lockmeter shows we still have a few io_request_lock cases at least where
we lock for far too long
Alan
-
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/