From: Ian Stirling <ian.stirling@mauve.plus.com>
To: linux-kernel@vger.kernel.org
Subject: Per-user swap devices.
Date: Wed, 19 Jul 2006 10:54:38 +0100 [thread overview]
Message-ID: <44BE015E.5080107@mauve.plus.com> (raw)
I have a laptop. It does not have enough RAM.
Due to the fact that the local hard disk is quite slow seeking - I've
experimented with swap over wifi to a servers ramdisk - which lets me
run more stuff till it slows down.
This works very well until there is a wifi problem - at which time
everything dies.
While there are partial 'solutions' in some cases - lock stuff in RAM,
... I was wondering about a more general solution.
It would be really nice to be able to simply: chown crashalot.users
/dev/swap0 ;swapon /dev/swap0
Then anything run by crashalot would swap to /dev/swap0 - and not locally.
If it crashes, then firefox/whatever else bloated that they were running
simply dies.
I assume this is not currently possible.
How much work would it be to get it to be so?
next reply other threads:[~2006-07-19 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-19 9:54 Ian Stirling [this message]
2006-07-19 15:00 ` Per-user swap devices Valdis.Kletnieks
2006-07-19 18:24 ` Ian Stirling
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=44BE015E.5080107@mauve.plus.com \
--to=ian.stirling@mauve.plus.com \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.