Re: swsusp bigdiff [was Re: [PATCH] Software Suspend split to two stage V2.]

From: Pavel Machek
Date: Sat Nov 20 2004 - 05:18:48 EST


Hi!

> > > This patch using pagemap for PageSet2 bitmap, It increase suspend
> > > speed, In my PowerPC suspend only need 5 secs, cool.
> > >
> > > Test passed in my ppc and x86 laptop.
> > >
> > > ppc swsusp patch for 2.6.9
> > > http://honk.physik.uni-konstanz.de/~agx/linux-ppc/kernel/
> > > Have fun.
> >
> > BTW here's my curent bigdiff. It already has some rather nice
> > swsusp speedups. Please try it on your machine; if it works for you,
> > try to send your patches relative to this one. I hope to merge these
> > changes during 2.6.11.
>
> Really big diff, I'll trying.
>
> Here is my diff.
>
> Changes:
> * Change pcs_ to page_cachs_
> * Hold lru_lock to sure data not modified, I can't sure that full
> works, but tested passed.

I'd really like to understand why it works (and have it documented
somewhere).

Good test to break swsusp is run kernel compilation in one window and
suspend every 30 seconds from another one.
Pavel
--
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/