cp file /dev/zero <-> cache [was Re: increasing page size]
-----Original Message-----
From: Rik van Riel <[email protected]>
To: Stephen C. Tweedie <[email protected]>
Cc: Andrea Arcangeli <[email protected]>; Linux MM <[email protected]>; Linux Kernel <[email protected]>
Date: Thursday, July 09, 1998 3:50 AM
Subject: Re: cp file /dev/zero <-> cache [was Re: increasing page size]
Quoted 9 lines · Stephen C. Tweedie
Quoted 8 lines
Quoted 2 lines · <[email protected]> said:
When my zone allocator is finished, it'll be a piece of cake to implement lazy page reclamation.
I've already got a working implementation. The issue of lazy reclamation is pretty much independent of the allocator underneath; I don't see it being at all hard to run the lazy reclamation stuff on
Quoted 7 lines
top
Quoted 1 line
of any form of zoned allocation.
The problem with the current allocator is that it stores the pointers to available blocks in the blocks themselves. This means we can't wait till the last moment with lazy reclamation.
Presumably to reduce memory use, but at what cost? It prevents lazy reclamation and makes locating available blocks a major headache. It only takes 4k of memory to store a bitmap of free blocks in a 128 Meg system. Storing the free list in free space is an admirable hack, but maybe outdated.
Zach Amsden
[email protected]
P.S. I'm new to this discussion, so please don't flay me if everything I said is in gross violation of the truth.
--
This is a majordomo managed list. To unsubscribe, send a message with the body 'unsubscribe linux-mm me@address' to: [email protected]