Re: your mail on mmap() to the kernel list

Andrea Arcangeli (andrea@suse.de)
Tue, 4 Dec 2001 15:18:49 +0100


On Sun, Dec 02, 2001 at 03:34:54PM -0800, Andrew Morton wrote:
> Peter Zaitsev wrote:
> >
> > ...
>
> It's very simple. The kernel has a linked list of vma's for your
> process. It is kept in address order. Each time you request a
> new mapping, the kernel walks down that list looking for an address
> at which to place the new mapping. This data structure is set up
> for efficient find-by-address, not for efficient find-a-gap.

exactly.

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