Re: How to free swap memory without rebooting?
Quote:
Originally Posted by reinob
(Post 1330798)
If so, I've read somewhere (maybe not even applicable anymore) that anonymous memory (backed by swap, not by file, e.g. malloc()'d memory) cannot be reclaimed unless it can be moved to swap (?).
|
Really? Would it not mean that I could not run Linux with no swap at all? That is contrary to my experience..
Perhaps it was about a distinction between pageable and non-pageable memory. The latter means memory that is not allowed to be moved to swap because the kernel needs it permanently in RAM (file system cache is an obvious example). That is not the same as cannot be moved to swap because of a lack of swap space. But I would still find it strange.
|