Re: swsusp: fix error handling in "not enough swap space"

Pavel Machek
2004-04-25T20:45:21Z

Hi!

> >>Second one, starting KDE, and when swap usage != 0 (just to be sure
> >>there is no problem with any assumption), gives me loads of error
> >>messages (see attached file).
> >>
> >>
> >
> >Can you try CONFIG_PREEMPT=n?
> >
> >
> Funny, now it doesn't run BUG(), but, instead I have two way behavior.
> Either he is complaining that bash
> will not stop !! or that there is not enough pages free. Both wrong and
> bizzareus. This really needs fixing before 2.6.6 is out (imo).

Dump stack at time when process refuses to stop, and see why it can't
be stopped. Then fix that :-).
Pavel

--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]