[maemo-developers] [maemo-developers] swapfile is a huge improvement!
From: Danny Milosavljevic danny.milo at gmx.netDate: Sat Jan 21 14:45:04 EET 2006
- Previous message: [maemo-developers] swapfile is a huge improvement!
- Next message: [maemo-developers] swapfile is a huge improvement!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Am Sonntag, den 15.01.2006, 18:33 +0200 schrieb Juha Yrjölä: > On Sat, 2006-01-14 at 11:55 -0500, ext Vladislav Grinchenko wrote: > > > with swap on, what happens to the system when you manually remove the > > mmc card? Or when you connect the USB cable to the unit? > > Removing the MMC card will definitely cause Bad Things to happen. It's > also very tricky to protect against the Bad Things. > > The system should listen on the MMC cover events, and turn off swap > whenever the MMC cover is opened (which means we have a risk of the card > departing). Then the system should hurry to swap in all the pages on > the MMC partition, which can take a *long* time depending on the amount > of pages on swap. That's okay, put a RED LED next to the MMC card that can only be seen when the slot is open :) And when user isn't supposed to remove card, light it (on activity, or when used for swap)... The one who still removes it deserves anything happening after that ... > Then, most likely, physical memory would run out. At > that point we are in a very bad situation indeed, if pages from some > critical system processes are still swapped out. Yeah ... > > USB Mass Storage is not a problem if the swap resides on a separate > partition. > > Cheers, > Juha cheers, Danny
- Previous message: [maemo-developers] swapfile is a huge improvement!
- Next message: [maemo-developers] swapfile is a huge improvement!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]