[procps] Re: [PATCH v2][resend] library: properly handle memory used by tmpfs

  • From: Jaromir Capik <jcapik@xxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Wed, 11 Jun 2014 10:43:31 -0400 (EDT)

> Hi Jaromir,

Hi Jakob.


> I don't know if you were involved there, but it looks awesome :)

Yeah, it does. Moreover, I asked the guys to provide me with
an example of the evaluation for older kernels and so that
we can implement a fallback calculation when the entry is
not exported by the kernel.


Regards,
Jaromir.

> From the RHEL7 release notes:
> 
> > ⁠Available Memory for /proc/meminfo
> > 
> > A new entry to the /proc/meminfo file has been introduced to provide
> > the MemAvailable field. MemAvailable provides an estimate of how much
> > memory is available for starting new applications, without swapping.
> > However, unlike the data provided by the Cache or Free fields,
> > MemAvailable takes into account page cache and also that not all
> > reclaimable memory slabs will be reclaimable due to items being in
> > use.
> 
> 
> This is the kernel commit, it went into 3.14:
> 
> > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773
> 
> 
> Best regards,
> Jakob
> 
> 

Other related posts: