|
@@ -57,11 +57,8 @@ static int meminfo_proc_show(struct seq_file *m, void *v)
|
|
|
/*
|
|
|
* Estimate the amount of memory available for userspace allocations,
|
|
|
* without causing swapping.
|
|
|
- *
|
|
|
- * Free memory cannot be taken below the low watermark, before the
|
|
|
- * system starts swapping.
|
|
|
*/
|
|
|
- available = i.freeram - wmark_low;
|
|
|
+ available = i.freeram - totalreserve_pages;
|
|
|
|
|
|
/*
|
|
|
* Not all the page cache can be freed, otherwise the system will
|