From: Pavel Machek <pavel@suse.cz>
To: Patrick Mochel <mochel@digitalimplant.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [6/25] Merge pmdisk and swsusp
Date: Fri, 6 Aug 2004 21:26:56 +0200 [thread overview]
Message-ID: <20040806192656.GG3048@elf.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.50.0408012018370.30101-100000@monsoon.he.net>
Hi!
> Sorry about the delay; all the conferences are finally over (for
> now)
:-). Well, I'm back from canoes for now, so I'm at least able to read
the mail...
> > > +static void calc_order(void)
> > > +{
> > > + int diff;
> > > + int order;
> > > +
> > > + order = get_bitmask_order(SUSPEND_PD_PAGES(nr_copy_pages));
> > > + nr_copy_pages += 1 << order;
> > > + do {
> > > + diff = get_bitmask_order(SUSPEND_PD_PAGES(nr_copy_pages)) - order;
> > > + if (diff) {
> > > + order += diff;
> > > + nr_copy_pages += 1 << diff;
> > > + }
> > > + } while(diff);
> > > + pagedir_order = order;
> > > +}
> >
> > This code is "interesting". Perhaps at least comment would be good
> > here?
>
> Sure, patch below.
Looks good.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
next prev parent reply other threads:[~2004-08-06 19:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-17 22:34 Patrick Mochel
2004-07-18 22:09 ` Pavel Machek
2004-08-02 3:19 ` Patrick Mochel
2004-08-02 5:04 ` Mika Penttilä
2004-08-02 5:10 ` Patrick Mochel
2004-08-02 6:03 ` Mika Penttilä
2004-08-06 19:26 ` Pavel Machek [this message]
2004-07-18 22:13 ` Pavel Machek
2004-08-02 3:22 ` Patrick Mochel
2004-08-06 19:36 ` Pavel Machek
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=20040806192656.GG3048@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@digitalimplant.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
all inboxes | Powered by JetHome®