linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: linux-sh@vger.kernel.org
Subject: tmpfs and devtmpfs on nommu.
Date: Wed, 22 Jun 2016 18:31:00 +0000	[thread overview]
Message-ID: <576AD964.8040704@landley.net> (raw)

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

                 reply	other threads:[~2016-06-22 18:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=576AD964.8040704@landley.net \
    --to=rob@landley.net \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).