Re: Huge pages and small pages. . .

From: John Richard Moser
Date: Tue Jan 17 2006 - 14:40:53 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



William Lee Irwin III wrote:
> On Tue, Jan 17, 2006 at 01:52:20PM -0500, John Richard Moser wrote:
>
>>Is there anything in the kernel that shifts the physical pages for 1024
>>physically allocated and contiguous virtual pages together physically
>>and remaps them as one huge page? This would probably work well for the
>>low end of the heap, until someone figures out a way to tell the system
>>to free intermittent pages in a big mapping (if the heap has an
>>allocation up high, it can have huge, unused areas that are allocated).
>> It may possibly work for disk cache as well, albeit I can't say for
>>sure if it's common to have a 4 meg contiguous section of program data
>>loaded.
>>Shifting odd huge allocations around would be neat to, re:
>>{2m}[4M ]{2m} -> [4M ][4M ]
>
>
> I've got bugs and feature work written by others that has sat on hold
> for ages to merge, so I won't be looking to experiment myself.
>
> Do write things yourself and send in the resulting patches, though.
>

A simple "no" would have sufficed; I was trying to find out if it's
there already.
>
> -- wli
>

- --
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.

Creative brains are a valuable, limited resource. They shouldn't be
wasted on re-inventing the wheel when there are so many fascinating
new problems waiting out there.
-- Eric Steven Raymond
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDzUhdhDd4aOud5P8RAhqGAJsFBLK7791jWZE3nvA8YZXX7L5PtQCfZGdj
mo5CQcA55RPZCfZrBTOq3AI=
=bqFO
-----END PGP SIGNATURE-----
-
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/