Re: pte-highmem-5
Andrea Arcangeli (andrea@suse.de)
Thu, 17 Jan 2002 16:45:15 +0100
On Thu, Jan 17, 2002 at 12:14:13PM +0000, Hugh Dickins wrote:
> On Thu, 17 Jan 2002, Christoph Rohland wrote:
> > On Wed, 16 Jan 2002, Andrea Arcangeli wrote:
> > > They were running out of pagetables, mapping 1G per-task (shm for
> > > example) will overflow the lowmem zone with PAE with some houndred
> > > tasks in the system. They were pointing the finger at the VM but the
> > > VM was just doing the very right thing to do.
> >
> > This lets me think about putting the swap vector of shmem into highmem
> > also. These can get big on highend servers and exactly these servers
> > tend to use a lot of shared mem.
>
> Yes, good idea.
>
> But people should realize that moving page tables and other such
> structures into not-always-mapped highmem will make them harder to
> access with kernel debuggers - I think those will want some changes.
the debugging prospective is probably the one I care less (you can
always drop a __GFP_HIGHMEM into the right alloc_pages to get the memory
direct mapped) that's most of the time a one liner in just one place.
Here I'd care more about the fact if it's really needed in real life or
not, if kmaps would be zero cost it would be probably ok anyways (modulo
increase of code complexity), but kmaps are lightweight but not zero
cost :).
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/