Re: [patch] Real-Time Preemption, plist fixes

From: Daniel Walker
Date: Sun Jun 05 2005 - 10:04:51 EST




On Sun, 5 Jun 2005, Ingo Molnar wrote:

> but i think the fundamental question remains even on Sunday mornings -
> is the plist overhead worth it? Compared to the simple sorted list we
> exchange O(nr_RT_tasks_running) for O(nr_RT_levels_used) [which is in
> the 1-100 range], is that a significant practical improvement? By
> overhead i dont just mean cycle cost, but also architectural flexibility
> and maintainability.

We use it for all tasks . So for instance all priority levels get sorted ,
not just RT tasks. Most systems aren't going to have many RT tasks, just
interrupts and they don't share many locks. However, there are tons of
userspace tasks that do get sorted.

I think using plist on the wait_list is worth it. Since there aren't
many RT tasks usually . It may be a waste to use it on the pi_waiters.

Daniel

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