Hi,

From the doc, tmpfs.txt, it is able to limit the size and it will swap unneeded pages out to swap space.
I tried but didn't see it use swap space.

>From shmem.c, I can't find any clue like pageout() in vmscan.c.

Can anyone give me some hints here?

--
cheers,
jay