mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: PATCH swsusp: page rellocation speed up (fwd)
       [not found] <20050112194446.GC1464@openzaurus.ucw.cz>
@ 2005-01-12 23:33 ` Pavel Machek
  0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2005-01-12 23:33 UTC (permalink / raw)
  To: hugang, linux-kernel

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!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-12 23:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050112194446.GC1464@openzaurus.ucw.cz>
2005-01-12 23:33 ` PATCH swsusp: page rellocation speed up (fwd) Pavel Machek

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®