linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tmpfs and devtmpfs on nommu.
@ 2016-06-22 18:31 Rob Landley
  0 siblings, 0 replies; only message in thread
From: Rob Landley @ 2016-06-22 18:31 UTC (permalink / raw)
  To: linux-sh

Although devtmpfs mounts fine, tmpfs itself depends on shm which depends
on mmu.

In mm/shm.c there are a few small #ifdef tmpfs but the big one is lines
1561 to 3026, which seems to be most of tmpfs. There's sort of a stub
tmpfs afterwards, if that's not enabled, so presumably that's how we get
devtmpfs with CONFIG_TMPFS disabled.

My question is: can we add the size checking logic to the stub? I'm
aware that faulting pages to swap isn't happening without an mmu, but we
can at least make it so logfiles filing up initramfs don't lock the box
hard.

Rob

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-22 18:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-22 18:31 tmpfs and devtmpfs on nommu Rob Landley

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