Re: [Bug #13058] First hibernation attempt fails

From: Pavel Machek
Date: Wed Apr 22 2009 - 09:04:19 EST


Hi!

> Of course, this will protect the calling task from getting oom-killed.
> But it doesn't protect other tasks from getting oom-killed due to the
> activity of _this_ task.
>
> But I think that problem already exists, and that this proposal doesn't
> worsen anything, yes?
>
> Or is it the case that all other tasks are safely stuck in the freezer
> at this time, so they won't be allocating any memory anyway?

That is the idea, yes. ... but we now have more threads that are not
freezable... so they may allocate the memory.

Is it non-feasible to free memory without really going and allocating
everything?

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/