Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753869AbZDVNES (ORCPT ); Wed, 22 Apr 2009 09:04:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752883AbZDVNEF (ORCPT ); Wed, 22 Apr 2009 09:04:05 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:33588 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752483AbZDVNEE (ORCPT ); Wed, 22 Apr 2009 09:04:04 -0400 Date: Wed, 22 Apr 2009 15:07:05 +0200 From: Pavel Machek To: Andrew Morton Cc: torvalds@linux-foundation.org, jens.axboe@oracle.com, alan-jenkins@tuffmail.co.uk, rjw@sisk.pl, linux-kernel@vger.kernel.org, kernel-testers@vger.kernel.org Subject: Re: [Bug #13058] First hibernation attempt fails Message-ID: <20090422130705.GA16186@elf.ucw.cz> References: <20090417063007.GB4593@kernel.dk> <49E83DC4.8040207@tuffmail.co.uk> <20090417091321.GP4593@kernel.dk> <20090407080632.GG1408@ucw.cz> <20090420122044.7ea6cc15.akpm@linux-foundation.org> <20090420195306.GA3299@elf.ucw.cz> <20090420130412.bc337673.akpm@linux-foundation.org> <20090420163734.b8e24fc9.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090420163734.b8e24fc9.akpm@linux-foundation.org> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1014 Lines: 27 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/