title: A memory leak problem for aufs/squashfs/tmpfs
body: <p>I find a possible memory leak problem for aufs or tmpfs.</p>
  
  <p>I use Linux kernel 2.6.16. It's old but I have to use it. To save memory and disk space, I use aufs+squashfs. Lots of files are stored in squashfs, which is mounted as /ro. The changed files are stored in tmpfs, which is mounted as /rw.</p>
  
  <p>There is a strange thing after the system runs for two weeks. Because some files are modified, there are several files in /rw. The total file size in /rw is about 10MB. But from df, I find the used size of /rw is about 200MB. (Tmpfs files are all stored in Linux Page cache, so the increased cache size is also about 200MB.) I don't know where is the remaining 190MB memory space.</p>
  
  <p>Are there any memory leaks for aufs, squashfs or tmpfs? Because of the old kernel, I use latest code of aufs1, not aufs2.x.  Also because of the old kernel, I use stable version of squashfs 3.4, not 4.x. There versions of code are not maintained. Does anyone know there are some memory leak bugs for them? Of does tempfs code have problems in kernel 2.6.16?</p>