Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp715750imu; Tue, 11 Dec 2018 06:31:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/UgXfppnsxORg7P9jy5euPjWZeAYvtjU2Nzl077bE+7vYHhqxlh3HXNh9ecZ1wK2r3qOh/7 X-Received: by 2002:a17:902:1d4a:: with SMTP id u10mr15515012plu.122.1544538665100; Tue, 11 Dec 2018 06:31:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544538665; cv=none; d=google.com; s=arc-20160816; b=G5KP7uN0XULEg48GT2PD/2HeFe8+QmuULYOtFZx0toEc1GGT9lcQs1YguV65UP5gO4 BRS9Xl16s7Ioz9TsooobgTFwoETXsm8p8KenF3aY4+u4ayVE/zLx+lJlSDLP/pNj84s1 NVsC5KeZhNgPRWq4oewd4d0V9pnEGNgHdoy3sFRoLvgcO7TXq+KhxYtIRR/4NqGKgphI we5YtIbw3Rw6IF03kHXFM5HmhGxyxsTQG1uRDjoHsE9B8U2a9yCv6hF0bRXWfnu0vkXh W8ApsxJwbQgab2NpeS6gsNZBl93k2ljRwlG03GHt5hYSBWV6yAFOzx/Qdtf8Lfplio5m wJIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=uWKbXWDybGHa7TqlCpRzSWsYEsMiSEDWD1y1DOSD/Ds=; b=xri81AjOU2Xl2Nv70kXmKHiK6mLmAt0aWYbYRiH+Awfl4nD9Q0QApTu37cW3Se4wnU lmMVV7HpO8u1Pyi3gRuDQwLEvt1qK2ldKOyvROy4sM/M539P8LY7VtVirqzDcWZ39p1k JdVHu435aqrcslU6LAcfH19+D6i0lTYr6hSzg0lThj7t/be+3Ps8O/YFT/SRyFiAKhXV firJn2tAfEDDsVa9pi0yOYPNxB7Sbkry+ptstwY6C8G6lky2kEwSeyAsY57nvtpyi+pM lqHEwRuImn+vf3ltYSpQhHO/s56KB10rThSpRuakg90GYbSEuELz6KHG82lghtxacijK cfmg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a190si11633027pgc.423.2018.12.11.06.30.49; Tue, 11 Dec 2018 06:31:05 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726503AbeLKO1w (ORCPT + 99 others); Tue, 11 Dec 2018 09:27:52 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:43188 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726212AbeLKO1v (ORCPT ); Tue, 11 Dec 2018 09:27:51 -0500 Received: by mail-ed1-f66.google.com with SMTP id f9so12665377eds.10 for ; Tue, 11 Dec 2018 06:27:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uWKbXWDybGHa7TqlCpRzSWsYEsMiSEDWD1y1DOSD/Ds=; b=OrlyIDP/YGohHgAKKWLWv7q4mJQrZwZwQA/l7GwESkQlOUX54gHhRSth5ouBawUVJy 7nBMakgpc5MV64+liOE1uSOXaDfqZXIrpbQ/WeIFYWto2qTUJyTge2ik4h5Zulxs5sW8 c3k3D6wF6dqwseq00C+jHi/wdIrmfvyafuBs2dLOyXEakc3Ul77E+L46OjJ72KO/7URp BFM34JlbVFJ7mCXekROnL3xJiPG0W6X26b+yRZgeV9J2tRh0ntf14Wy6KWhuSmic3feO Myh+n86Qq7fpnJ+kqgaRdseqY9GkEJ8OWLK4JnQFMN6tAwhLuCdjvZPJ9CEs9+DkVVBX L6/A== X-Gm-Message-State: AA+aEWYBv6xRzyX3ZedHOWDSTvMDdfF9g1oNrT6kXpO1UZ/z17/WBxw9 3nSs5GzjK6XUn0HDlRJzmn8= X-Received: by 2002:a17:906:4944:: with SMTP id f4-v6mr12849696ejt.72.1544538469884; Tue, 11 Dec 2018 06:27:49 -0800 (PST) Received: from tiehlicka.suse.cz (prg-ext-pat.suse.com. [213.151.95.130]) by smtp.gmail.com with ESMTPSA id g31sm4073975eda.96.2018.12.11.06.27.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 06:27:48 -0800 (PST) From: Michal Hocko To: Andrew Morton Cc: , LKML , David Hildenbrand , Hugh Dickins , Jan Kara , "Kirill A. Shutemov" , Michal Hocko , Oscar Salvador , Pavel Tatashin , William Kucharski Subject: [PATCH 0/3] few memory offlining enhancements Date: Tue, 11 Dec 2018 15:27:38 +0100 Message-Id: <20181211142741.2607-1-mhocko@kernel.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This has been posted as an RFC [1]. There was a general agreement for these patches. I hope I have addressed all the review feedback. Original cover: I have been chasing memory offlining not making progress recently. On the way I have noticed few weird decisions in the code. The migration itself is restricted without a reasonable justification and the retry loop around the migration is quite messy. This is addressed by patch 1 and patch 2. Patch 3 is targeting on the faultaround code which has been a hot candidate for the initial issue reported upstream [2] and that I am debugging internally. It turned out to be not the main contributor in the end but I believe we should address it regardless. See the patch description for more details. [1] http://lkml.kernel.org/r/20181120134323.13007-1-mhocko@kernel.org [2] http://lkml.kernel.org/r/20181114070909.GB2653@MiWiFi-R3L-srv