> Now the idea.
> Why not have an (I called) "adaptive" or if you prefer (I don't :)
> "dynamic" swap file, managed in kernel space, that can grow and shrink
> when memory is needed and/or released by someone ?
[ snip ]
You just described the swapping used by OS/2 and NeXTSTEP. No doubt
others use the same technique.
It is slower than a fixed swap partition on a raw device. Some people still
prefer it.
It will not solve the ``problem'' with overcommit.