Re: [PATCH] anobjrmap 9 priority mjb tree

From: Dave McCracken
Date: Thu Apr 15 2004 - 13:52:41 EST



--On Thursday, April 15, 2004 18:50:42 +0100 Hugh Dickins
<hugh@xxxxxxxxxxx> wrote:

> Though I have to admit I'm sceptical: prio_tree appears to be well
> designed for the issue in question, list-of-lists sounds, well,
> no offence, but a bit of a hack.

It is a bit of a hack, but the theory behind it is fairly simple. It came
out of my early efforts to sort the list. Martin and I produced a theory
that many vmas have identical start and end addresses due to fork and/or
fixed address mappings. If this theory is true list-of-lists will create a
much shorter top-level list of unique start-end pairs for searching. We'd
only need to walk the second level list when we get a match to the search.

It never got any serious exposure or testing. It came out just as
everyone's attention shifted away from objrmap so no one really looked at
it.

Dave McCracken

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