All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Hansen <haveblue@us.ibm.com>
To: Patrick Mochel <mochel@digitalimplant.org>
Cc: Pavel Machek <pavel@suse.cz>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] reduce swsusp casting
Date: Wed, 28 Jul 2004 14:20:24 -0700	[thread overview]
Message-ID: <1091049624.2871.464.camel@nighthawk> (raw)
In-Reply-To: <Pine.LNX.4.50.0407281405090.31994-100000@monsoon.he.net>

On Wed, 2004-07-28 at 14:07, Patrick Mochel wrote:
> On Wed, 28 Jul 2004, Dave Hansen wrote:
> 
> > I noticed that swsusp uses quite a few interesting casts for __pa() and
> > cousins.  This patch moves some types around to eliminate some of those
> > casts in the normal code.  The casts that it adds are around alloc's and
> > frees, which is a much more usual place to see them.
> >
> > Pavel also noticed that there's a superfluous PAGE_ALIGN() right before
> > a >>PAGE_SHIFT in pfn_is_nosave(), so that's been removed as well.
> 
> What are these patches against? I released a bunch of patches to swsusp
> and pmdisk two weeks ago. I'm not sure if Andrew has picked them up yet.
> It would be nice if you would patch against those.

It was against 2.6.8-rc1-mm1, but I can patch against whatever.  Do you
have those patches consolidated somewhere, or is it best that I look in
the archives?

> > I haven't had a chance to do anything but test it, because that would
> > involve me setting up a swsusp rig, which I'm more prone to screw up
> > than the patch itself :)  I'd appreciate if anyone with a stable setup
> > could make sure I didn't do anything too stupid.
> 
> I don't understand - have you really tested it or just compile-tested it?
> If not, please do try it out for real. There is no reason to be scared of
> swsusp, and the more people that use it, the more stable it will get.

I'm not scared, just lazy :)  I'll give it a shot.

-- Dave


  reply	other threads:[~2004-07-28 21:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-28 19:37 [PATCH] reduce swsusp casting Dave Hansen
2004-07-28 21:07 ` Patrick Mochel
2004-07-28 21:20   ` Dave Hansen [this message]
2004-07-28 22:27     ` Pavel Machek
2004-07-29 18:31     ` Dave Hansen
2004-07-29 19:17       ` Kevin Fenzi
2004-08-02  6:08     ` Patrick Mochel

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=1091049624.2871.464.camel@nighthawk \
    --to=haveblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@digitalimplant.org \
    --cc=pavel@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.