Re: removing support for kernel stack swapping
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jun 2024 21:23:46 UTC
-------- Colin Percival writes: > > Having something as simple as: > > > > 0 - free pizza > > 1 - dont make it worse > > 2 - please help > > > > I could imagine something similar being useful to userland as well, so that > e.g. databases know whether they should keep more deserialized pages in RAM > or free them and hand back memory (at the expense of doing more CPU work > the next time those pages are needed). That's actually where I wanted it most, so that phkmalloc could madvise(DONTNEED) only when the system were in trouble. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.