tmpfs size restriction

Schwarz,Andre at
Thu Apr 21 05:21:00 EST 2011


I'm facing an issue with tmpfs mounts on PowerPC (mpc83xx specifically).

After "mount -t tmpfs tmpfs /tmp -o size=16m" I can fill the machine's mem
(512MiB) until oom becomes active.

I can't see this on any other machine (x86/ARM) I have access to.
There's always a "no space left on device" message as soon as size specified is
reached ...

kernel versions available are v2.6.26.27 and v2.6.34.7 showing the same

I'd expect the kernel to limit available tmpfs size to 50% of physical memory

Any ideas what might be wrong ?


MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Linuxppc-dev mailing list