Chris Webb <[email protected]> wrote:

+       /* Aim for 6% of physical RAM free without anything in swap */
+       want_shrink = (info.totalram << 4) - info.freeram
+                       + info.totalswap - info.freeswap;
+       if (want_shrink <= 0)
+               return;

(info.totalram >> 4) here, sorry, of course!

Best wishes,

Chris.

Reply via email to