Re: [PATCH] unified device list allocator

From: Andrew Morton
Date: Tue Mar 08 2005 - 00:37:34 EST

Matt Mackall <mpm@xxxxxxxxxxx> wrote:
> + /* search for insertion point in reverse for dynamic allocation */
> + list_for_each_prev(l, list) {

hrmph. Any time we do anything in O(n) time, some smarty comes along with
a workload which blows us out of the water. Although it's hard to think of
any register_blkdev()-intensive workloads.

It's not possible to do this with prio-trees?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at