Re: Populating multiple ptes at fault time

From: Rik van Riel
Date: Wed Sep 17 2008 - 14:29:20 EST


On Wed, 17 Sep 2008 10:47:30 -0700
Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> Minor faults are easier; if the page already exists in memory, we should
> just create mappings to it. If neighbouring pages are also already
> present, then we can can cheaply create mappings for them too.

This is especially true for mmaped files, where we do not have to
allocate anything to create the mapping.

Populating multiple PTEs at a time is questionable for anonymous
memory, where we'd have to allocate extra pages.

--
All rights reversed.
--
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/