Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1400979pxj; Fri, 21 May 2021 13:20:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqgYSpg//zbLkit32pazacGsL+ZPVcLKeGYf97L9pZ39owB4E2s0wwcV6xC2HoQsZ0ZPuU X-Received: by 2002:a17:906:3989:: with SMTP id h9mr11906433eje.309.1621628434884; Fri, 21 May 2021 13:20:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621628434; cv=none; d=google.com; s=arc-20160816; b=g0u9VB01VrRZYa09+E8i3N64C/fXpIghSQcY4Nc5wXulQjOM3SV+7s0kjzovfjulZg rk1KgHbJbaZftwgukyAKQBhyRDaP/x3ovVwI7lmNi7SJ2iQabU12W8RZPvpF9eej1CJa Ax9IPFuPxupn1Ait4fJ6Zicpm4zI0ASnxPBP7cMVq/zc5wr3b69tSmdyFhrjnhITu2+c hQXbuTG1eo2xmqzlL1GPYW2I0wkpDpvxW0Cjzpw5pqBB0Uw6wizvt88phh9m+Rxi4IL1 VZSTsp1l2JEN9OYbf60/X4PU1Q5UJsVYjslxTLZ+AGVGSCPUD8zZuW0KQAmWuIHnGAZ+ hoaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=V2vNepzONuwsPQWA23na/dx6eiWDxiiBVf3jQVQnBdM=; b=UmRGzpifV7/aZRYMhAKm8NkQxGxjdTPsbwCsWWqNS3m63tu2XpQpvFNA9+dAndRp0K 6WzWharSB1ZGJL/DqslgFSMTSxGgz7lhUnihjSAHPIZL8y9ridmzkynY1aHvdawlfYFO KYNNlNMmJIkydMC+h4VVNK0HD4JrdRgl6IbGqo6tHSr1yOKEdAWCuCx530Cs+umUomQI 0p4UNPONjs0+HbP0zsPzuj/jZk5aCFcXHS8nZZNTjXrs92ShtDDoeM799OEdh6Fs/0B6 54Y9ajielJqxe5z1dCgLInJyM9or9aSpYqzX7jUQRwh0ay95NxK9TC7cW9cxUHCwI8cE gDIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=C+qfue6O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc38si6993445ejc.622.2021.05.21.13.20.11; Fri, 21 May 2021 13:20:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=C+qfue6O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237303AbhEUPJq (ORCPT + 99 others); Fri, 21 May 2021 11:09:46 -0400 Received: from ms.lwn.net ([45.79.88.28]:42832 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230420AbhEUPJp (ORCPT ); Fri, 21 May 2021 11:09:45 -0400 Received: from localhost (unknown [IPv6:2601:281:8300:104d:444a:d152:279d:1dbb]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 6D149153; Fri, 21 May 2021 15:08:21 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 6D149153 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1621609701; bh=V2vNepzONuwsPQWA23na/dx6eiWDxiiBVf3jQVQnBdM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=C+qfue6OZlEqHcXt1khYxZ4Cz/ChTOUbztfvYb0q2eOMpt5er1SUbdzcMDE596FMN Lf2Hdky4qdCaWkZi1nLRLGKEFCg2ikADuP9MlCo8T3APwnO/2gBp6eVj5D2zg0OJnl 3dpLZTjsvVmxkOqH2uEWUzLvtfySwUBp+u/XfqjEU0FGvL1GczFSTtlLhZquuFSJlS FHDMVRLiZ4Fd5J8s73p6fJMhxHHjRam+C/SebSXWd7r6A4LBWhR3SZ/kmDOiOctnwa I68x3kKw6np7AiV8MSncLpJlkhVJegHuaSTgw9/xRM92I6n9sbUG86WL+zQcbP6Oip OiEl6llM6rqog== From: Jonathan Corbet To: Peter Oskolkov Cc: Peter Zijlstra , Ingo Molnar , Thomas Gleixner , Linux Kernel Mailing List , linux-api , Paul Turner , Ben Segall , Peter Oskolkov , Joel Fernandes , Andrew Morton , Andrei Vagin , Jim Newsome Subject: Re: [RFC PATCH v0.1 0/9] UMCG early preview/RFC patchset In-Reply-To: References: <20210520183614.1227046-1-posk@google.com> <87mtspm7fe.fsf@meer.lwn.net> Date: Fri, 21 May 2021 09:08:20 -0600 Message-ID: <87eee0m8ez.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Peter Oskolkov writes: > On Thu, May 20, 2021 at 2:17 PM Jonathan Corbet wrote: >> >> Peter Oskolkov writes: >> >> > As indicated earlier in the FUTEX_SWAP patchset: >> > >> > https://lore.kernel.org/lkml/20200722234538.166697-1-posk@posk.io/ >> > >> > "Google Fibers" is a userspace scheduling framework >> > used widely and successfully at Google to improve in-process workload >> > isolation and response latencies. We are working on open-sourcing >> > this framework, and UMCG (User-Managed Concurrency Groups) kernel >> > patches are intended as the foundation of this. >> >> So I have to ask...is there *any* documentation out there on what this >> is and how people are supposed to use it? Shockingly, typing "Google >> fibers" into Google leads to a less than fully joyful outcome... This >> won't be easy for anybody to review if they have to start by >> reverse-engineering what it's supposed to do. > > Hi Jonathan, > > There is this Linux Plumbers video: https://www.youtube.com/watch?v=KXuZi9aeGTw > And the pdf: http://pdxplumbers.osuosl.org/2013/ocw//system/presentations/1653/original/LPC%20-%20User%20Threading.pdf > > I did not reference them in the patchset because links to sites other > than kernel.org are strongly discouraged... I will definitely add a > documentation patch. I did look at those - but a presentation from 2013 is going to be of limited relevance for a 2021 patch set. In particular, the syscall API appears to have evolved considerably since then. > Feel free to reach out to me directly or through this LKML thread if > you have any questions. > > Do you think a documentation patch would be useful at this point, as > opposed to a free-form email discussion? Documentation patches can help to guide that discussion; they also need to be reviewed as well. So yes, I think they should be present from the beginning. But then, that's the position I'm supposed to take :) This is a big change to the kernel's system-call API, I don't think that there can be a proper discussion of that without a description of what you're trying to do. Thanks, jon