Re: PATCH swsusp: page rellocation speed up (fwd)

From: Pavel Machek
Date: Wed Jan 12 2005 - 18:38:51 EST


Hi!

> > attached patch should speed up page rellocation at time of resume. Please test.
> > The diff is against 2.6.10-bk8
> >
> ....
>
> really cool, Passed in my x86 and ppc.
>
> Here is a patch to make pagedir using non-continuity page,
> 2.6.10 -> mm1 -> this patch -> my patch
>
> I temporary split pbe function to pbe.h, useful merge.

I do not know, but introducing new file will not help the merge.

Pavel

> --- 2.6.10-mm1-one-pbe/kernel/power/pbe.h 1970-01-01 07:00:00.000000000 +0700
> +++ 2.6.10-mm1-one-pbe-hg/kernel/power/pbe.h 2005-01-12 20:42:17.000000000 +0800
> @@ -0,0 +1,380 @@
> +static int mod_progress = 1;
> +
> +static void inline mod_printk_progress(int i)
> +{
> + if (mod_progress == 0) mod_progress = 1;
> + if (!(i%100))
> + printk( "\b\b\b\b%3d%%", i / mod_progress );
> +}

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
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/