Well it is solvable but hard. You could halt everything and display
something like 'Poor human, give me my card back or I will reboot'. But
this has to be done in low level (kernel thread?, direct framebuffer
access?) because anything in userspace can segfault when swap is removed.
I know similar things worked on Amiga. You removed floppy when writing
and it opened a dialog 'error writing sector x, please insert disk' and
when you gave it back it worked and continued. Or when the disk was full
in the middle of writing of one file you could let the dialog be, delete
other files and click continue and it worked. Never seen this type of
recovery later on any newer system :-)
Frantisek
Juha Yrjölä wrote:
We really can't rely on the user nicely waiting for any kind of
permission from our UI. There _will_ be cases when the MMC is abruptly
removed. It is unacceptable for an end-user device to go down in flames
whenever this happens.
The issues regarding what happens when a swap device disappears from
underneath have to fixed first.
Cheers,
Juha
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers