Re: removing support for kernel stack swapping
"Poul-Henning Kamp" <[email protected]>
| Newsgroups | gmane.os.freebsd.architechture |
|---|---|
| Message-ID | <[email protected]> |
-------- 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 [email protected] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.