Curious about tmpfs and /dev/shm on debian, I did some searching and found this article by Daniel Robbins:

http://www.ibm.com/developerworks/library/l-fs3.html

Which then got me wondering about how OpenVZ virtual machines affect tmpfs.