<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Cyril Hrubis <<a href="mailto:chrubis@suse.cz">chrubis@suse.cz</a>> wrote:<br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail_default" style="font-size:small">...</span><br>
> +<br>
> +             mem_avail = SAFE_READ_MEMINFO("MemFree:");<br>
> +     }<br>
<br>
I guess that we don't have to bother with MemAvailable here, since we do<br>
drop the system caches the MemFree should be equal to MemAvailable. So I<br>
would be for reading just MemFree unconditionally here.<br></blockquote><div> </div><div><span class="gmail_default" style="font-size:small">+1 yes, that's right.</span></div><div><span class="gmail_default" style="font-size:small"></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
If you agree with this change I can change it before applying.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Of course yes, feel free to do that (and remember to add the changes which Petr suggested).</div><div> </div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>