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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C87EC433F5 for ; Wed, 15 Dec 2021 03:46:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ECAC56B0071; Tue, 14 Dec 2021 22:46:47 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E7A736B0073; Tue, 14 Dec 2021 22:46:47 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D42036B0074; Tue, 14 Dec 2021 22:46:47 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0161.hostedemail.com [216.40.44.161]) by kanga.kvack.org (Postfix) with ESMTP id C2C916B0071 for ; Tue, 14 Dec 2021 22:46:47 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 79678181AC9C6 for ; Wed, 15 Dec 2021 03:46:37 +0000 (UTC) X-FDA: 78918641634.08.C49B93C Received: from mail-vk1-f171.google.com (mail-vk1-f171.google.com [209.85.221.171]) by imf03.hostedemail.com (Postfix) with ESMTP id 094D72000F for ; Wed, 15 Dec 2021 03:46:36 +0000 (UTC) Received: by mail-vk1-f171.google.com with SMTP id s1so13800102vks.9 for ; Tue, 14 Dec 2021 19:46:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posk.io; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6TekgYXvLI9+PhAB10t1a5FqyPcohZFo1S/h5MUzllc=; b=BFsYMu+UZJj1SArv/r1ASXkdEhkDV6ze8dTrFKXh3BqRPxE59I75lLftewi2N6Gdp/ hVHKuBSEEOKvlfo92eHsingxtFZVif9P2kEl6cecf9Wk9hgAZt3SwH61VWQ5b7m3J709 IoSEdRybiuRcZB9Tc8r+YKx7thHVGC2NJjigGfuhZ8jYYnD9Hpweg6EIeb/5PtEUWuvu kyEP1L9s9nZcncRMdGj7SPlQOUtLRYUv61wDX+vOEyJAa1M6B4sbg9XU/AZqbfSyq23I d6/QxcitDHYWCTs0pWw+Zuc6i5WaCwCgQSyJJ8IwrdQmpo/1vzgd4eMJBefEbUP2/lW2 GgNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6TekgYXvLI9+PhAB10t1a5FqyPcohZFo1S/h5MUzllc=; b=Cvey3CVd87qrupI5E+l5V/aiwgH+i86TlGH60yEwmQqJo1IXEOFxiZtQ2SEHX4HnVk iZ+7jSleqJmvmNzLxw+AOKUSbngUqrUsLIKr6tLHaKIbJQUMPzkMxFBgxLrOPQ6EPBlV 1aEtY5MPJkSSbUY7yixYhZpKp0BGv46RTUS6ePruKpO/v1pCSlS+cEu5+wXIoSMwWBgU HFgmCAmQPHsW16TgQpRnn1+JrgoDSamkJW2Wqk6zVK5W1/QCbSdocHz0bkIixnDvII01 Z2DXnHmgFv4NthgYrRw4mkl72t5Qx0ssJlBniySmUL1Zi6SYe5yLC+7M7cAbJ+8I4v5f 28ng== X-Gm-Message-State: AOAM5336s6WYSZ8Gm5EIZ22SmWGAVh5Oe3kTLMTAuydRINWVnWhUmVW6 8Qvz9QuPpFWEIZ4Su3g0v+49io4E9RvCZNI/hvLUMA== X-Google-Smtp-Source: ABdhPJwT1P/z+guQQbhBVQaBckIuopJw6LK6HpQeJEPxLY8JvjeQl8Z+vJL49XKvD80YtUUcd36/oxeIFPPgqM4AECg= X-Received: by 2002:a05:6122:221c:: with SMTP id bb28mr2417373vkb.27.1639539996199; Tue, 14 Dec 2021 19:46:36 -0800 (PST) MIME-Version: 1.0 References: <20211214204445.665580974@infradead.org> In-Reply-To: <20211214204445.665580974@infradead.org> From: Peter Oskolkov Date: Tue, 14 Dec 2021 19:46:25 -0800 Message-ID: Subject: Re: [RFC][PATCH 0/3] sched: User Managed Concurrency Groups To: Peter Zijlstra Cc: Ingo Molnar , Thomas Gleixner , juri.lelli@redhat.com, Vincent Guittot , dietmar.eggemann@arm.com, Steven Rostedt , Ben Segall , mgorman@suse.de, bristot@redhat.com, Linux Kernel Mailing List , Linux Memory Management List , linux-api@vger.kernel.org, x86@kernel.org, Paul Turner , Peter Oskolkov , Andrei Vagin , Jann Horn , Thierry Delisle Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 094D72000F X-Stat-Signature: ejp45qujg5c4m8af61td1n71pmx8nenh Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=posk.io header.s=google header.b=BFsYMu+U; spf=pass (imf03.hostedemail.com: domain of posk@posk.io designates 209.85.221.171 as permitted sender) smtp.mailfrom=posk@posk.io; dmarc=none X-HE-Tag: 1639539996-412962 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Dec 14, 2021 at 12:55 PM Peter Zijlstra wrote: > > Hi, > > This is actually tested code; but still missing the SMP wake-to-idle machinery. > I still need to think about that. Thanks, Peter! At a first glance, your main patch does not look much smaller than mine, and I thought the whole point of re-doing it was to throw away extra features and make things smaller/simpler... Anyway, I'll test your patchset over the next week or so and let you know if anything really needed is missing (other than waking an idle server if there is one on a worker wakeup; this piece is definitely needed). > > I'll post my test-hack as a reply, but basically it does co-operative and > preemptive UP-like user scheduling. > > Patches go on top of tip/master as they rely on the .fixup removal > recently merged in tip/x86/core. > > Also, I still need to audit a bunch of mm code, because I'm not sure things are > actually as well behaved as this code supposes they are. >