From: Pavel Machek <pavel@ucw.cz>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: mjg59@srcf.ucam.org, linux-kernel@vger.kernel.org,
johannes@sipsolutions.net, linux-pm@lists.linux-foundation.org
Subject: Re: removing refrigerator does not help with s2ram vs. fuse deadlocks (was Re: Re: [PATCH] Remove process freezer from suspend to RAM pathway)
Date: Sat, 7 Jul 2007 13:50:47 +0200 [thread overview]
Message-ID: <20070707115047.GE2789@elf.ucw.cz> (raw)
In-Reply-To: <E1I6TJq-000164-00@dorka.pomaz.szeredi.hu>
Hi!
> > > > You have processes that don't react to signals, because some
> > > > other user land task is misbehaving. I'd call that ugly at the
> > > > very least.
> > >
> > > It already happens with, say, NFS. Don't think about it in terms of a
> > > userland task misbehaving - think of it in terms of a resource becoming
> > > unavailable.
> >
> > I think there's a difference between a userland task playing the role of a
> > resource and a "real" external resource the kernel doesn't control.
> >
> > IMO, userland tasks should not have the power to affect each other as though
> > they were parts of the kernel.
>
> One task doing ptrace() can basically do whatever it wants with the
> task being traced. This is not an exact analogy to what fuse does,
> but close.
Well, IMO userland tasks should not have power to grab VFS mutexes for
indefinite ammount of time. ("fused is allowed to deadlock kernel, in
a way only write to special file helps" is ugly). Unfortunately, I
don't think there's a way to work around that deadlock within fuse
design limits... (coda was able to get around it by working on whole
files granularity, AFAICT), so we'll have to live with that.
I think we have two separate problems here, and both are
solvable, without major changes to fuse or suspend framework.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2007-07-07 11:50 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <18059.6726.218205.104212@cargo.ozlabs.ibm.com>
2007-07-04 15:12 ` Re: [PATCH] Remove process freezer from suspend to RAM pathway Alan Stern
[not found] ` <Pine.LNX.4.44L0.0707041104140.25704-100000@netrider.rowland.org>
2007-07-05 0:35 ` Paul Mackerras
2007-07-05 9:15 ` removing refrigerator does not help with s2ram vs. fuse deadlocks (was Re: Re: [PATCH] Remove process freezer from suspend to RAM pathway) Pavel Machek
[not found] ` <20070705091526.GA3084@elf.ucw.cz>
2007-07-05 13:57 ` Matthew Garrett
[not found] ` <20070705135758.GB22177@srcf.ucam.org>
[not found] ` <200707051628.12199.rjw@sisk.pl>
2007-07-05 14:26 ` Matthew Garrett
[not found] ` <20070705142600.GB22598@srcf.ucam.org>
2007-07-05 14:41 ` Rafael J. Wysocki
2007-07-05 14:39 ` Matthew Garrett
[not found] ` <20070705143918.GA23248@srcf.ucam.org>
[not found] ` <200707051704.48137.rjw@sisk.pl>
2007-07-05 15:03 ` Matthew Garrett
[not found] ` <20070705150301.GB23647@srcf.ucam.org>
2007-07-05 15:27 ` Rafael J. Wysocki
[not found] ` <200707051727.36715.rjw@sisk.pl>
2007-07-05 15:32 ` Miklos Szeredi
[not found] ` <E1I6TJq-000164-00@dorka.pomaz.szeredi.hu>
2007-07-07 11:50 ` Pavel Machek [this message]
2007-07-07 20:14 ` Miklos Szeredi
2007-07-05 15:04 ` Rafael J. Wysocki
2007-07-07 11:49 ` Pavel Machek
2007-07-05 14:28 ` Rafael J. Wysocki
2007-07-07 12:08 ` problem 1 (was Re: removing refrigerator does not help with s2ram vs. fuse deadlocks (was Re: Re: [PATCH] Remove process freezer from suspend to RAM pathway)) Pavel Machek
[not found] ` <20070707120827.GA3111@elf.ucw.cz>
2007-07-07 20:55 ` Rafael J. Wysocki
2007-07-05 14:42 ` Re: [PATCH] Remove process freezer from suspend to RAM pathway Alan Stern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070707115047.GE2789@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=miklos@szeredi.hu \
--cc=mjg59@srcf.ucam.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox