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=-8.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 18406C07E96 for ; Tue, 6 Jul 2021 17:02:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0211261C3F for ; Tue, 6 Jul 2021 17:02:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230312AbhGFRFI (ORCPT ); Tue, 6 Jul 2021 13:05:08 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:30706 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230296AbhGFRFH (ORCPT ); Tue, 6 Jul 2021 13:05:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625590948; 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=6Tmzxqim5oswr4PGT5cE9HzINeuSPYd3PZxn3xtFSJ4=; b=JB/gM0aFSAYR5jwbOFSrucE+rBvCihNlfT9S2soz0CvwjHKRrBTD6dBB3Wuq5aoFhwrL76 rZKLhOAVEXnyGOVSylD99yQ3on28tGdgc0hBeUzobr7oekMLmOm7pN3M9WUE8KgmC/CbdB KbhzEWf82QzJa3JgyUWl6FgEVbtXAXo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-350-G-MdiZS8NYOJAmUImvxhWA-1; Tue, 06 Jul 2021 13:02:24 -0400 X-MC-Unique: G-MdiZS8NYOJAmUImvxhWA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3D1A350755; Tue, 6 Jul 2021 17:02:23 +0000 (UTC) Received: from fuller.cnet (ovpn-112-3.gru2.redhat.com [10.97.112.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 70CA65D9D5; Tue, 6 Jul 2021 17:02:19 +0000 (UTC) Received: by fuller.cnet (Postfix, from userid 1000) id 231B9416F5D2; Tue, 6 Jul 2021 13:53:46 -0300 (-03) Date: Tue, 6 Jul 2021 13:53:46 -0300 From: Marcelo Tosatti To: Peter Zijlstra Cc: Frederic Weisbecker , linux-kernel@vger.kernel.org, Christoph Lameter , Thomas Gleixner , Juri Lelli , Nitesh Lal Subject: Re: [patch 0/5] optionally sync per-CPU vmstats counter on return to userspace Message-ID: <20210706165346.GA73435@fuller.cnet> References: <20210701210336.358118649@fuller.cnet> <20210702123032.GA72061@lothringen> <20210702152816.GA4122@fuller.cnet> <20210706130925.GC107277@lothringen> <20210706140550.GA64308@fuller.cnet> <20210706140920.GA68399@fuller.cnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 06, 2021 at 06:15:24PM +0200, Peter Zijlstra wrote: > On Tue, Jul 06, 2021 at 11:09:20AM -0300, Marcelo Tosatti wrote: > > Peter, was that the only problem you saw with isolcpus interface? > > It needs to die, it's a piece of crap. Use cpusets already. OK, can do that. So how about, in addition to this patch (which again, is needed for current systems, so we will have to keep extending it for the current kernels which patches are backported to, as done with managed_irqs... note most of the code that is integrated will be reused, just a different path that enables it). So what was discussed before was the following: https://lkml.org/lkml/2020/9/9/1120 Do you have any other comments (on the "new file per isolation feature" structure) ? Would probably want to split the flags per-CPU as well.