From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935697Ab0BZJ0o (ORCPT ); Fri, 26 Feb 2010 04:26:44 -0500 Received: from mail-bw0-f209.google.com ([209.85.218.209]:37426 "EHLO mail-bw0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935682Ab0BZJ0m (ORCPT ); Fri, 26 Feb 2010 04:26:42 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Hitt9AA9tZORuAL/n1b+qcZjqhtDTZJsG2o5mAwl/vdHLM4VXO7vSFKwa6BQVtvgsG baJ18kqN4ri1LeBQV5kDhLsXLbZ0nmKlCnuFdXCrLBuJsbhGsF0B+beuNgx7w3QH5GYy pr45nVxvQm6Cek6ePDEsuatFN4ntISmVBVwWM= MIME-Version: 1.0 In-Reply-To: <201002252104.51187.rjw@sisk.pl> References: <9b2b86521001020703v23152d0cy3ba2c08df88c0a79@mail.gmail.com> <201002242152.55408.rjw@sisk.pl> <9b2b86521002250510m75c8b314o37388a04b53a2b67@mail.gmail.com> <201002252104.51187.rjw@sisk.pl> Date: Fri, 26 Feb 2010 09:26:37 +0000 Message-ID: <9b2b86521002260126g5acabb79uae961dd8668b3c09@mail.gmail.com> Subject: Re: s2disk hang update From: Alan Jenkins To: "Rafael J. Wysocki" Cc: Mel Gorman , hugh.dickins@tiscali.co.uk, Pavel Machek , pm list , linux-kernel , Kernel Testers List , KAMEZAWA Hiroyuki , Linux MM Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/25/10, Rafael J. Wysocki wrote: > On Thursday 25 February 2010, Alan Jenkins wrote: >> On 2/24/10, Rafael J. Wysocki wrote: >> > On Wednesday 24 February 2010, Alan Jenkins wrote: > ... >> >> > - while (to_free_normal > 0 && to_free_highmem > 0) { >> > + while (to_free_normal > 0 || to_free_highmem > 0) { >> >> Yes, that seems to do it. No more hangs so far (and I can still >> reproduce the hang with too many applications if I un-apply the >> patch). > > OK, great. Is this with or without the NOIO-enforcing patch? With. >> I did see a non-fatal allocation failure though, so I'm still not sure >> that the current implementation is strictly correct. >> >> This is without the patch to increase "to_free_normal". If I get the >> allocation failure again, should I try testing the "free 20% extra" >> patch? > > Either that or try to increase SPARE_PAGES. That should actually work with > the last patch applied. :-) > > Rafael , OK. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 402C76B0047 for ; Fri, 26 Feb 2010 04:26:44 -0500 (EST) Received: by bwz19 with SMTP id 19so5872568bwz.6 for ; Fri, 26 Feb 2010 01:26:41 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <201002252104.51187.rjw@sisk.pl> References: <9b2b86521001020703v23152d0cy3ba2c08df88c0a79@mail.gmail.com> <201002242152.55408.rjw@sisk.pl> <9b2b86521002250510m75c8b314o37388a04b53a2b67@mail.gmail.com> <201002252104.51187.rjw@sisk.pl> Date: Fri, 26 Feb 2010 09:26:37 +0000 Message-ID: <9b2b86521002260126g5acabb79uae961dd8668b3c09@mail.gmail.com> Subject: Re: s2disk hang update From: Alan Jenkins Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org To: "Rafael J. Wysocki" Cc: Mel Gorman , hugh.dickins@tiscali.co.uk, Pavel Machek , pm list , linux-kernel , Kernel Testers List , KAMEZAWA Hiroyuki , Linux MM List-ID: On 2/25/10, Rafael J. Wysocki wrote: > On Thursday 25 February 2010, Alan Jenkins wrote: >> On 2/24/10, Rafael J. Wysocki wrote: >> > On Wednesday 24 February 2010, Alan Jenkins wrote: > ... >> >> > - while (to_free_normal > 0 && to_free_highmem > 0) { >> > + while (to_free_normal > 0 || to_free_highmem > 0) { >> >> Yes, that seems to do it. No more hangs so far (and I can still >> reproduce the hang with too many applications if I un-apply the >> patch). > > OK, great. Is this with or without the NOIO-enforcing patch? With. >> I did see a non-fatal allocation failure though, so I'm still not sure >> that the current implementation is strictly correct. >> >> This is without the patch to increase "to_free_normal". If I get the >> allocation failure again, should I try testing the "free 20% extra" >> patch? > > Either that or try to increase SPARE_PAGES. That should actually work with > the last patch applied. :-) > > Rafael , OK. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Jenkins Subject: Re: s2disk hang update Date: Fri, 26 Feb 2010 09:26:37 +0000 Message-ID: <9b2b86521002260126g5acabb79uae961dd8668b3c09@mail.gmail.com> References: <9b2b86521001020703v23152d0cy3ba2c08df88c0a79@mail.gmail.com> <201002242152.55408.rjw@sisk.pl> <9b2b86521002250510m75c8b314o37388a04b53a2b67@mail.gmail.com> <201002252104.51187.rjw@sisk.pl> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=jqN+i7ZB/LGNc4BjjEzjcWarG47IvWMy84UU06xhV3g=; b=YsZf9Kqz3Kg8XqIBPX97kJ5b/BfWvQ3aploxM7dOcS0TDafDLXY1ATAgcG8oENNC+q a4f8P12GyjakTgbxExYO50iMkqsi33udLXDA6RaYdDZREU66QZPuMhoYnrYVHbAwZIsg uZf6de7q9kCAu8qHEg2Xp16APZbPB6SdVMyw0= In-Reply-To: <201002252104.51187.rjw-KKrjLPT3xs0@public.gmane.org> Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Rafael J. Wysocki" Cc: Mel Gorman , hugh.dickins-IWqWACnzNjwqdlJmJB21zg@public.gmane.org, Pavel Machek , pm list , linux-kernel , Kernel Testers List , KAMEZAWA Hiroyuki , Linux MM On 2/25/10, Rafael J. Wysocki wrote: > On Thursday 25 February 2010, Alan Jenkins wrote: >> On 2/24/10, Rafael J. Wysocki wrote: >> > On Wednesday 24 February 2010, Alan Jenkins wrote: > ... >> >> > - while (to_free_normal > 0 && to_free_highmem > 0) { >> > + while (to_free_normal > 0 || to_free_highmem > 0) { >> >> Yes, that seems to do it. No more hangs so far (and I can still >> reproduce the hang with too many applications if I un-apply the >> patch). > > OK, great. Is this with or without the NOIO-enforcing patch? With. >> I did see a non-fatal allocation failure though, so I'm still not sure >> that the current implementation is strictly correct. >> >> This is without the patch to increase "to_free_normal". If I get the >> allocation failure again, should I try testing the "free 20% extra" >> patch? > > Either that or try to increase SPARE_PAGES. That should actually work with > the last patch applied. :-) > > Rafael , OK.