Re: [linux-pm] Freezer: Don't count threads waiting for frozen filesystems.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Friday, October 31, 2008 - 1:49 am

On Fri, 31 Oct 2008, Nigel Cunningham wrote:

There's nothing magic about umount, it just uses a refcount on the fs.

But umount changes the namespace, that's the big difference.  For
example if a process is accessing path P which has a component inside
the mount, it _will_ get different results before and after the
umount.  This is not acceptable for freezing.

For freezing to work with such a refcounting scheme, we'd have to
count _future_ uses of the fs as well, not just current ones, which is
obviously impossible.

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

Messages in current thread:
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Sun Oct 26, 1:01 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Mon Oct 27, 4:37 am)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Tue Oct 28, 3:00 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Tue Oct 28, 3:21 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Tue Oct 28, 4:59 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Wed Oct 29, 2:11 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Wed Oct 29, 3:07 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Rafael J. Wysocki, (Thu Oct 30, 1:17 pm)
Re: [linux-pm] Freezer: Don't count threads waiting for fr ..., Miklos Szeredi, (Fri Oct 31, 1:49 am)