3 ms·
There should be a set of VFS hooks so that a filesystem can offer up pages of swap to the kernel without an explicit swap file. I remember tinkering with this a
by mcculley 4y ago
There should be a set of VFS hooks so that a filesystem can offer up pages of swap to the kernel without an explicit swap file. I remember tinkering with this around 2000, but I didn’t get very far. I would love to see this explored.
- kevincox 4y agoI'd love to see this. There appear to be some programs to monitor usage and dynamically add more swap but they all appear buggy and unmaintained. If course if you need more than a bit of swap there is something suspicious about your system but I have often found this extra RAM is useful. For example I often have many open files in my editor, great candidates to swap out the ones that I am not currently editing. Or /tmp in RAM, I don't need it persisted but if the RAM could be better used for other things feel free to swap the unused files out.