Per-user swap devices.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux