Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp713448imm; Wed, 1 Aug 2018 04:11:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdZ8oeJT5KZxn4oBMoBb96oZQ1mmV2H7lGKQfL3+IsKyubREmmqAUTCe6AQ0v8acE+wfRPh X-Received: by 2002:a65:5c83:: with SMTP id a3-v6mr1743733pgt.164.1533121883634; Wed, 01 Aug 2018 04:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533121883; cv=none; d=google.com; s=arc-20160816; b=lXp8QGNKoVUUUnEHPH05Hb3Q5qjwO8pKTMXgzLhw2KSgDdunvYs6xbAGGuRNp3YydF gSQUQTMWSdew9JkkQS/jmnwOku4kxGgTnh5R8jY8Err8FFSTAYQW4S8F9VutKDDgtV0R 5HZ9on1IhXfvcyd4uLmdTqABmEtFuGbfZxIh1mJAejSeO+iO1LCCz9mdEjnijVPyk4TL nNpN9XfA+uhnJbR4NpWg5ljygil6FUBhIcnYnFKIA1fssMzG/hfRgqeNwkkTCQWxQbwt M3AHPcv9KXFCVuTB1HJr0pKu9DAldaLLWtP6SQt9Mql6kMXcxBMO2iSPpJhGcxJXSX1v MZPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:arc-authentication-results; bh=K+uCE5t+laYjooBCFzmfw2r+zFWh8dk3u8vXUS5XWcs=; b=WObQlf+7QOkzA6569QxG5LfJoO0Akj2wZOuuM7JHHBYRKqa4LFuNwVL+e/MvyWVH4z 9RieorsLDARbrL34dTZC35cVGrBM0ewITbUzlemCkEZLTEO4rjNTTbwJhow5Ig8nFHbi ySum333uBG0hHjlg/Es46+AyTD+f7QDB6orj2eNPLaMR7TX17bFKqNDkt08s3KcFF2wY nz6Ji69qvWZ8QAjIi3a7UM7QNNNieMFO6IEgfhVfTHeRVmHyreDpm+3FVEiwh3yz7gm1 3b5HUVTOqCqyvUy01raFBEJiLXmyHgmfUl9llsOJBGJQxdvqm9Pr+/tOaoLpv5Hrz1om uylQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x37-v6si15194178pgl.544.2018.08.01.04.11.06; Wed, 01 Aug 2018 04:11:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388715AbeHAMy6 (ORCPT + 99 others); Wed, 1 Aug 2018 08:54:58 -0400 Received: from ozlabs.org ([203.11.71.1]:51313 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730915AbeHAMy6 (ORCPT ); Wed, 1 Aug 2018 08:54:58 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41gVv81cFZz9s0R; Wed, 1 Aug 2018 21:09:40 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au From: Michael Ellerman To: Michal Hocko , John Allen Cc: n-horiguchi@ah.jp.nec.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, kamezawa.hiroyu@jp.fujitsu.com, mgorman@suse.de Subject: Re: Infinite looping observed in __offline_pages In-Reply-To: <20180725200336.GP28386@dhcp22.suse.cz> References: <20180725181115.hmlyd3tmnu3mn3sf@p50.austin.ibm.com> <20180725200336.GP28386@dhcp22.suse.cz> Date: Wed, 01 Aug 2018 21:09:39 +1000 Message-ID: <87r2jifimk.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michal Hocko writes: > On Wed 25-07-18 13:11:15, John Allen wrote: > [...] >> Does a failure in do_migrate_range indicate that the range is unmigratable >> and the loop in __offline_pages should terminate and goto failed_removal? Or >> should we allow a certain number of retrys before we >> give up on migrating the range? > > Unfortunatelly not. Migration code doesn't tell a difference between > ephemeral and permanent failures. What's to stop an ephemeral failure happening repeatedly? cheers