From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: ncunningham@cyclades.com
Cc: Linux-pm mailing list <linux-pm@lists.osdl.org>,
Pavel Machek <pavel@ucw.cz>
Subject: Re: Re: swsusp issues
Date: Sat, 04 Jun 2005 09:32:11 +1000 [thread overview]
Message-ID: <1117841532.31082.197.camel@gaston> (raw)
In-Reply-To: <1117841135.4766.89.camel@localhost>
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
> > We could provide an "example" default implementation that does only
> > swsusp that an arch can "drop in" if you want, but archs have to
> > implement the various "inline" callbacks anyway (save_processor_state &
> > friends).
>
> How could I work with that in an implementation where the vast majority
> of the code is arch-independent? I guess I'll have to see what you come
> up with.
The arch independent code is called by the arch code, nothing new here.
I don't suggest arch re-implements swsusp_suspend() or
freeze_processes(). It's either that or having all the new callbacks
plus a major blowup of the crap in disk.c to fit in main.c
Ben.
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
prev parent reply other threads:[~2005-06-03 23:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-03 2:01 swsusp issues Benjamin Herrenschmidt
2005-06-03 11:15 ` Pavel Machek
2005-06-03 22:50 ` Benjamin Herrenschmidt
2005-06-03 23:21 ` Pavel Machek
2005-06-03 23:29 ` Benjamin Herrenschmidt
2005-06-04 6:13 ` Pavel Machek
2005-06-04 6:23 ` Benjamin Herrenschmidt
2005-06-03 23:25 ` Nigel Cunningham
2005-06-03 23:32 ` Benjamin Herrenschmidt [this message]
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=1117841532.31082.197.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=linux-pm@lists.osdl.org \
--cc=ncunningham@cyclades.com \
--cc=pavel@ucw.cz \
/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