linux - Does the memory used by tmpfs can be recycled just like page cache? -
i using tmpfs /tmp
directory. however, when add files, output of free -h
shows cached
column value increase well.
however, wondering page cache usage info added cached
. memory used files in /tmp
directory can recycled when lack of memory page cache.
as said in kernel tmpfs:
size: limit of allocated bytes tmpfs instance. default half of physical ram without swap. if oversize tmpfs instances machine deadlock since oom handler not able free memory.
it said tmpfs memory can not recycled.
Comments
Post a Comment