Re: [ 00/10] [Suspend2] Modules support.

From: Pavel Machek
Date: Fri Feb 03 2006 - 05:40:00 EST


On Pá 03-02-06 02:18:39, Olivier Galibert wrote:
> On Thu, Feb 02, 2006 at 09:51:48PM +0100, Pavel Machek wrote:
> > So he instead
> > advocates merging 10 000 lines of code (+7500, contains new
> > compression algorithm and new plugin architecture). I'd like to add
> > interface to userland (+300) and remove swap writing (long term,
> > -1000).
>
> I don't actually advocate suspend2. I indeed have not looked at the
> patches at that point. I do find it extremely annoying that instead
> of trying to make what exists reliable, for instance what are the

I'm trying to make what exists reliable, but I'm under some pressure
to allow things like progress bars. And for progress bars (etc) to be
feasible, it needs to be in userspace.

> rules irq grabbing/release at that point, and adding infrastructure
> for what's missing for having real reliability, f.i. communication
> with fb/drm to handle the screen power switch, you decide to go and
> move things into userspace which is going to increase the reliability
> problems immensely. I don't even want to think about the interactions
> between freezing the userspace memory pages and running some processes
> which may malloc/mmap at the same time.

There are none. userspace helper is mlocked, and rest of userspace is
stopped.

Pavel
--
Thanks, Sharp!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/