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 - 5:44 am

On Fri, 31 Oct 2008, Nigel Cunningham wrote:

Before?  FUSE_MIGHT_FREEZE is called _after_ i_mutex is taken by the
VFS.


Yes, this is the variant of categorizing sleeps to freezing and
non-freezing.  The problem is, you need to do that with all
mutex_lock(&inode->i_mutex) instances as well.  Try grepping for that
in fs/*.c!

It _is_ possible, it's just not practical.

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, 5:44 am)