public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Per-user swap devices.
@ 2006-07-19  9:54 Ian Stirling
  2006-07-19 15:00 ` Valdis.Kletnieks
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Stirling @ 2006-07-19  9:54 UTC (permalink / raw)
  To: linux-kernel

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?

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

end of thread, other threads:[~2006-07-19 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-19  9:54 Per-user swap devices Ian Stirling
2006-07-19 15:00 ` Valdis.Kletnieks
2006-07-19 18:24   ` Ian Stirling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox