Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp653776imi; Thu, 21 Jul 2022 08:21:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1spFFVMdm//TZc6eRyfiBrh8ow7GUyeaFtwrKsw0HH9xbuUV4lclArVY+vlCTXQW9KuJ0Ii X-Received: by 2002:a17:906:5d16:b0:72f:9f40:d1eb with SMTP id g22-20020a1709065d1600b0072f9f40d1ebmr1661535ejt.403.1658416917808; Thu, 21 Jul 2022 08:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658416917; cv=none; d=google.com; s=arc-20160816; b=fpIYfqqkvJNINzXKlQiUAQ04FYZ7xEN+fCn9b9oOAI0dJ5+BlKRKtwPc85En9RkL0E ptVE4chlaWTzvFG5cf7c+KP7OMgm5AvZxy+f3btvW3Wo4A/8NL6Ot7VK/hze7oHrVn4x VEoBJ/uJhXrGcLAfM6qUSuQeS9ZvsY6PGJgVpcLsdbVcNMKIUXp3ZTW4vzPA7iDVj7PY ilnRWlR+fGm2fIK9x+ZWViwGf1YDp3G4psY3BQv1jTmmwVPfzhuQqrwvcDEEjQAZDQhx CSnQ7weHna3fF1T1U92t9oc+BCn/j4NuEjVOn+42J5mxiWw/RaVFXeVuWt1nXRXfu6xS vxpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=VujwBJ+JIPJnYoUR7215p3aIpRsRtO7XiolEV/87d1g=; b=CkehTz6Qs1a41bMe9y8/iMKFpFy1gjYiYJv8IAe2gnlqINImKFMWuh0fWcGDqXqa4H DY6NpraZaP5VqMoDfs8fO+U5Qz2zphk+3DRST9dDr8baSb70JwATpPSH51Q0+vJwcsN6 XduSVq9saGERo3KOm+jCNdafYMGTSoQatOh8voSh4CF+3G0aZtWsYNi0rmmrJl0i5tkj 9HgvuW6NfhanRnVZ37lD7mGcAJcqMFZn4N1Wd3+CC63QBdSdhWGuX3Wt79jZEzt8wSL6 OGRuV4nW1nKFu6yf0fROuXiExoXltawAsQP/xxUPojY/MUXoK+421xCM838STHTpj710 Ulag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=K7kfxrWu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga19-20020a1709070c1300b0072f4b13c68fsi3251345ejc.467.2022.07.21.08.21.32; Thu, 21 Jul 2022 08:21:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=K7kfxrWu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230315AbiGUPRJ (ORCPT + 99 others); Thu, 21 Jul 2022 11:17:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbiGUPRH (ORCPT ); Thu, 21 Jul 2022 11:17:07 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C9AD3F30E; Thu, 21 Jul 2022 08:17:02 -0700 (PDT) Received: from zn.tnic (p5de8e862.dip0.t-ipconnect.de [93.232.232.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id EDD451EC00F8; Thu, 21 Jul 2022 17:16:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1658416617; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=VujwBJ+JIPJnYoUR7215p3aIpRsRtO7XiolEV/87d1g=; b=K7kfxrWuVksAav6KcHVdV0xJT3wpzIjdSF07q+bvjqeWpiPheNZiGWXhmGYCcGO7Fc5cKY jule+woLMws+MmEHEBqX8db+xBTo/8xMNwxyOGi7NkftyijCOVoLo6jGlZAjfcFC6WI8RO UY4WEI1fcMLFRcE8fy9NZFIEZQHNDd0= Date: Thu, 21 Jul 2022 17:14:41 +0200 From: Borislav Petkov To: "Kirill A. Shutemov" Cc: Andy Lutomirski , Sean Christopherson , Andrew Morton , Joerg Roedel , Ard Biesheuvel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Vlastimil Babka , Tom Lendacky , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Varad Gautam , Dario Faggioli , Dave Hansen , Mike Rapoport , David Hildenbrand , marcelo.cerri@canonical.com, tim.gardner@canonical.com, khalid.elmously@canonical.com, philip.cox@canonical.com, x86@kernel.org, linux-mm@kvack.org, linux-coco@lists.linux.dev, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: Re: [PATCHv7 02/14] mm: Add support for unaccepted memory Message-ID: References: <20220614120231.48165-1-kirill.shutemov@linux.intel.com> <20220614120231.48165-3-kirill.shutemov@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220614120231.48165-3-kirill.shutemov@linux.intel.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 14, 2022 at 03:02:19PM +0300, Kirill A. Shutemov wrote: > On-demand memory accept means latency spikes every time kernel steps > onto a new memory block. The spikes will go away once workload data > set size gets stabilized or all memory gets accepted. What does that mean? If we're accepting 2M pages and considering referential locality, how are those "spikes" even noticeable? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette