On Mon, 8 Jan 2001, Rik van Riel wrote:
> And when the bit changes again, the page can be evicted
> from memory just fine. In the mean time, the locked pages
> will also have undergone normal page aging and at unlock
> time we know whether to swap out the page or not.
> I agree that this scheme has a higher overhead than your
> idea, but it also seems to be a bit more flexible and
> simple. Alternatively, we could just scan the wired_list
> once a minute and move the unwired pages to the active
At IPC_UNLOCK there is no reference to the pages locked by this
segment available. We could perhaps move the whole locked list to the
active list if we unlock any segment.
Second point: How do we handle out of swap? I do not think that we
should lock these pages but keep them in the active list.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/