From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E05D6C43461 for ; Wed, 9 Sep 2020 12:54:14 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 64DA121941 for ; Wed, 9 Sep 2020 12:54:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=soleen.com header.i=@soleen.com header.b="bED0Svmp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 64DA121941 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=soleen.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 948168E0006; Wed, 9 Sep 2020 08:54:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8D4968E0001; Wed, 9 Sep 2020 08:54:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7C04E8E0006; Wed, 9 Sep 2020 08:54:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0111.hostedemail.com [216.40.44.111]) by kanga.kvack.org (Postfix) with ESMTP id 62D8A8E0001 for ; Wed, 9 Sep 2020 08:54:13 -0400 (EDT) Received: from smtpin17.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 2C3611EF3 for ; Wed, 9 Sep 2020 12:54:13 +0000 (UTC) X-FDA: 77243515986.17.waves52_1c16e83270dd Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin17.hostedemail.com (Postfix) with ESMTP id F1039180D0180 for ; Wed, 9 Sep 2020 12:54:12 +0000 (UTC) X-HE-Tag: waves52_1c16e83270dd X-Filterd-Recvd-Size: 3362 Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) by imf14.hostedemail.com (Postfix) with ESMTP for ; Wed, 9 Sep 2020 12:54:12 +0000 (UTC) Received: by mail-ej1-f44.google.com with SMTP id e23so3403683eja.3 for ; Wed, 09 Sep 2020 05:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8MkTFG6PvXpNoyym24U4EGiq+J1JzE76f2uYpJH8tx0=; b=bED0SvmpnihLTx7w6yxuLyY0+FkyiLEaFYFx7SaCxzu3V6SeQV3HJiLHEvYsLeIQ4W RZTidtAZkZaoTYoqd/bfS2EHxx+na8JVzUVMZ8vdzCmAP7nC0WriAT8xggzKwb0DeuMq XldnkdVTUniwcLFwOa3d3lNG7f04GYaEGFRRC/+eejocYP+JW7AC63ZKdTVqR8G9DCJo KmBpVriFFC+qo/VQXgwxbDTFvI4lI1qxj77yGPZ/S0xbmKx4OGAj34OIuqMqH9wC9OKQ 3MfO013qxHWBtVEdBuGPwxu7UnNb0vWY87FMWyywTA0PlqpSehJuJEeTLWWegYj9Hvrl 0JwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8MkTFG6PvXpNoyym24U4EGiq+J1JzE76f2uYpJH8tx0=; b=uMlyLSGtx99Rv8I77QxpGYDpM2MrCW+QJN/0jEtEuIQVvy1CeVLyxd/STg2qcZWvAJ XQyB42nV0wS0tNNCUqGlQ5zSp+KDpfA3qRyYADxA+i2GkvSXWUg+ply2AF9bbafPncr7 ISHKGJCppqAtZ3gD0i43KgDR3KdhfMC7HBWjiowARUDW0LNYTeu2fqdb9xTa1irBpQxJ p8OKn1yg1yH+xhSLNTUNo2fup2tl3rf/gDFua5fwxbb4AauKXzkVLYdeAbOgJUEhLmdf R0iDo4ZT0ntQx+7EKUzlLNdPeg4/TduIZJoU02iI66JzL50qz8IuvRtGqkg4MtUkjfeo pEkQ== X-Gm-Message-State: AOAM530+eh1ICdEPo3wdgWzjqAUhUXOT9FxEIn13w3skr83rN2tksC3P f5gH/Gmi+N2Q37g3msM1qpaYzuThlHkOaoWR2AtNhA== X-Google-Smtp-Source: ABdhPJxiW6o5CF789NcjwGT/tFM0KuNKzfoTCu8t7Mkh4H09/JIsdp6BPkaNcid/X6E3sEHrrrajh3SKhiOS/UZctcw= X-Received: by 2002:a17:906:a1c2:: with SMTP id bx2mr3608780ejb.426.1599656051243; Wed, 09 Sep 2020 05:54:11 -0700 (PDT) MIME-Version: 1.0 References: <20200907163628.26495-1-vbabka@suse.cz> <20200907163628.26495-6-vbabka@suse.cz> <20200909113647.GG7348@dhcp22.suse.cz> In-Reply-To: <20200909113647.GG7348@dhcp22.suse.cz> From: Pavel Tatashin Date: Wed, 9 Sep 2020 08:53:35 -0400 Message-ID: Subject: Re: [RFC 5/5] mm, page_alloc: disable pcplists during page isolation To: Michal Hocko Cc: Vlastimil Babka , linux-mm , LKML , David Hildenbrand , Oscar Salvador , Joonsoo Kim Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: F1039180D0180 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam05 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > because we do not want to call out pcp free lists). I strongly suspect > that only the memory hotplug really cares for this hard guanrantee. > alloc_contig_range simply goes with EBUSY. > You are right, the strong requirement is for hotplug case only, but if PCP disable/enable functionality is properly implemented, and we are still draining the lists in alloc_contig_range case, I do not see a reason not to disable/enable PCP during CMA as well just to reduce number of spurious errors. Thanks, Pasha