Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6083210rwd; Mon, 5 Jun 2023 12:46:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6RjEOiZhejCBgbf+0D99jKBcOn7i9HgRA774RwZrUL1KMWdRY+FV7Iuaz/A/+xLku8v8sm X-Received: by 2002:a05:6a21:3885:b0:10d:3ff2:452b with SMTP id yj5-20020a056a21388500b0010d3ff2452bmr50940pzb.18.1685994369988; Mon, 05 Jun 2023 12:46:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685994369; cv=none; d=google.com; s=arc-20160816; b=upkPib0DwKslOSvg8Dy5g/kN0z28rGRaGhdkUksIh1fLCb2zAuEympQXMX8oSaNHW4 FocdlU8/ZL4EaXsbJnK3I9tFRF+NyAt6ir9+A1kAFwgyHAiywNc3n7+bxvGqrpetGhVF JL1+hmEF0H8JXqsUbgQ2zECUymab1PHh/ffmzYVSriW+M9cgC1g5TC2N8WQjOsQgfSte 5UqpOV/3LgqexqqAl8q9oFFYZV5C9JlPXPAkakLulOZsBod7BMWlZn+0BFtGrGct8UA/ sBiB6oD5qYevJoen+Gyxh7aa+Loec+yQPksqQroRuctyM8qNpTDed7E645FSMjQSvA6H MUkg== 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=SfydRo3YLfaDwYR7ylzaAXxWorOycnW9DfmBoaznkn8=; b=1DUZbpW/FbhxIrkDLcqyD+FFZVaKXm+vuYkUWSPfNxEJtAz4xmSariqQJjvhGw6War j9XtVRgL1j/gaBVp1Y2jpBaYz+31xverqtTAbosq2Xc0OmOVHhyho4WCY4wPGckHAlqJ AP738Khh7sgBbP5nOE/Dn407FRfUePu4tu2pFm06mMPDL297IjnSxjy1e5ZJuacQSkzs 9uycX0nrSvrwwA7k/5pbIVlDwtAXsP96TpZ8A8+0ue7D9TrrlMnRTw8eSXQNF9f29xwv 6df+S4YlLZLCGJ1ZpiQJVxXbaprGCHFIz8fZFJuq1ev4UHWH6uZ/Bz/4mNZPdFDq5Twg QVFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=eeZz3mf8; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x11-20020a63b34b000000b0053eef60f940si5765750pgt.765.2023.06.05.12.45.56; Mon, 05 Jun 2023 12:46:09 -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=@redhat.com header.s=mimecast20190719 header.b=eeZz3mf8; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231812AbjFETPb (ORCPT + 99 others); Mon, 5 Jun 2023 15:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229792AbjFETP3 (ORCPT ); Mon, 5 Jun 2023 15:15:29 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A97FF120 for ; Mon, 5 Jun 2023 12:14:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685992480; 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: in-reply-to:in-reply-to:references:references; bh=SfydRo3YLfaDwYR7ylzaAXxWorOycnW9DfmBoaznkn8=; b=eeZz3mf8qH3j7Ur4VTjhB2/7bbzSeHro7DnLe16EhrCZtq2rnnmVa3Naj+M9Z3JdhphMyg KGqHkmeryoxTPjwPS5X/KzRPIGHHZ8enOdRcPQiT+IAuO8FsLxpaCARlri/7v/b4d8JHZG Ske6oMUx83SFnJlru38iynW2Sg12bv4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-553-bc_Knc7RNfO_8NWo23UGlQ-1; Mon, 05 Jun 2023 15:14:37 -0400 X-MC-Unique: bc_Knc7RNfO_8NWo23UGlQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 305AF8032EF; Mon, 5 Jun 2023 19:14:37 +0000 (UTC) Received: from tpad.localdomain (ovpn-112-3.gru2.redhat.com [10.97.112.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F12F140CFD46; Mon, 5 Jun 2023 19:14:36 +0000 (UTC) Received: by tpad.localdomain (Postfix, from userid 1000) id 556E0400DC4D5; Mon, 5 Jun 2023 16:14:18 -0300 (-03) Date: Mon, 5 Jun 2023 16:14:18 -0300 From: Marcelo Tosatti To: Michal Hocko Cc: Christoph Lameter , Aaron Tomlin , Frederic Weisbecker , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Vlastimil Babka Subject: Re: [PATCH v2 2/3] vmstat: skip periodic vmstat update for nohz full CPUs Message-ID: References: <20230602185757.110910188@redhat.com> <20230602190115.521067386@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URI_DOTEDU autolearn=no 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 Mon, Jun 05, 2023 at 08:57:15PM +0200, Michal Hocko wrote: > > Guest initiated I/O, since the host CPU is isolated. > > Make it explicit in the changelog. I think better use of our time would be to focus on https://lkml.iu.edu/hypermail/linux/kernel/2209.1/01263.html 1) Operate in terms of add CPU, remove CPU on sysfs (to avoid races). 2) Don't allow all CPUs to be marked as "block_interf". 3) Remove percpu rwsem lock. > I am just wondering how you can achieve your strict deadlines when IO is > involved but that is another story I guess. IO can be submitted when the ELF binary and libraries are read from the virtual disk, for example.