linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* tmpfs size restriction
@ 2011-04-20 19:21 Schwarz,Andre
  2011-04-20 20:44 ` Ira W. Snyder
  0 siblings, 1 reply; 3+ messages in thread
From: Schwarz,Andre @ 2011-04-20 19:21 UTC (permalink / raw)
  To: linuxppc-dev@lists.ozlabs.org

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

Hi,

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
behaviour.

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

Any ideas what might be wrong ?


Regards,
André

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


[-- Attachment #2: Type: text/html, Size: 1261 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-20 21:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-20 19:21 tmpfs size restriction Schwarz,Andre
2011-04-20 20:44 ` Ira W. Snyder
2011-04-20 21:11   ` Schwarz,Andre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).