Re: [PATCH] Don't map random pages if swapoff errors

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Kuznetsov
Date: Friday, January 19, 2007 - 12:16 pm

Hello!


Yes, from this viewpoint more reasonable approach would be to untie
corresponding ptes from swap entry and mark them as invalid to trigger
fault on access.

Not even tried simply because it is definitely not that thing, which
we needed. We used this for process migration and for that purpose
we really need to know when swapoff() fails ASAP to abort migration,
to kill processes which got invalid pages and to resume original copy.
Obviously, delayed fault is absolutely inappropriate for this particular
purpose.

Alexey
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Don't map random pages if swapoff errors, Alexey Dobriyan, (Fri Jan 19, 9:30 am)
Re: [PATCH] Don't map random pages if swapoff errors, Hugh Dickins, (Fri Jan 19, 11:08 am)
Re: [PATCH] Don't map random pages if swapoff errors, Alexey Kuznetsov, (Fri Jan 19, 12:16 pm)