Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp744367pxj; Thu, 27 May 2021 10:35:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRZ2/r6G/FBaRqNTal5U+kKun5J8mDskkLdj3HnpkE48uIfGZhv7QrAD+o4+wjqKFZf1eJ X-Received: by 2002:a05:6638:134c:: with SMTP id u12mr4579925jad.67.1622136928610; Thu, 27 May 2021 10:35:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622136928; cv=none; d=google.com; s=arc-20160816; b=iqURm57qQ5NQbTMVvcFI6zGTHSWbKtB7BruAFFIUSv1BqPFQrxZAcH4ykT2jQKa6Ns uepUTOmPDiIVHvF0PVC8ZbIYpBkeoHiTT8MohsyDVUmO+0MfCJhxI7OVy9DzlfxcO3qP EAegKAv+KYYKc+X2zyZA+dU/Kvn+YlGGzBG/D7KC+vjc2mnHzD4tza4j2hg5UKl/I4Lh ErbT8nZWjkZMUUMy7lbxRLiK3gl1fe01SvnwYAUihl5mMMXfUP2RAy4YE+2borfB0eSS soXm5sgWcirloyDr2XURRd9svdlc5tSN0JN9ohobR0OWoDNCUx2q/ZfmmbCQfVMzxM+m ER+w== 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=FMSKn4e0PiNZmGAn49x7L99C4DLbqARxZqL3Z9qcmcg=; b=bFNRh3/LlvkIDMbf+411puJqzYqDX4h8r+V+A6BlBEIbzfImTQFWFXD98heLzHLRQr 0U5qEk/ttCqXMxJxpFX/S9yhOdqqxygi0wPU2KCRt5BY/ANjjrsz5a3WLbS11rab2Pi3 nZGAGmPcMuM+w0RCn7efRwjTViKxDukG3+0L4bkZ3HEYrqZji6YePRF46eHOUpM5EpSn nVFTCsqF6uSBHlusNz+Y7VYehMM0JJ8fqa0cuiUyNvBEwjMyIFH5rjInumyuKzExxQAl Tnd/p45M5H5o8PKeXioWaVN577yuDTqIa6AHI2VEvDS3EN8mKpSVm4fHNRnmSup8A6CV WDRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=jx+OhiAV; 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 h1si2852649ilo.49.2021.05.27.10.35.09; Thu, 27 May 2021 10:35:28 -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=jx+OhiAV; 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 S235034AbhE0Png (ORCPT + 99 others); Thu, 27 May 2021 11:43:36 -0400 Received: from ms.lwn.net ([45.79.88.28]:47622 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233848AbhE0Png (ORCPT ); Thu, 27 May 2021 11:43:36 -0400 Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (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 B95322B7; Thu, 27 May 2021 15:41:32 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net B95322B7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1622130092; bh=FMSKn4e0PiNZmGAn49x7L99C4DLbqARxZqL3Z9qcmcg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=jx+OhiAVhkww8yizLhUkbhoge+62/ESNfylfnXqTvZLoxAFcssCQAoFLAf3s2Ydes GX/S4ceeQstUhJlcuUFWirrW2n6fIEnJ+K40es4m18j0jzufcSHSiz6bouLCMyw6Oy 970nmPiSP3y/vnOVRXkxVtm2kh5RfieCiqfK03/MS6dqitQSYdfQU5YAJfpWW3IqRK +srS/lU+2BkRTcJCXaS/XjQrVj9NlMVQCTyRfIC3KLI3/IOJw1nMxuwmf/eQ4uqUDQ U1tOdABTVtEl9IgiymokjGTqLDn1lOSj2jRuDnaPetBqUtTOhP0vWlXb/jM6VFdf56 ceqOSGeJ/8tXw== 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> <87eee0m8ez.fsf@meer.lwn.net> <87wnrrlwv0.fsf@meer.lwn.net> Date: Thu, 27 May 2021 09:41:32 -0600 Message-ID: <87h7io421f.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: > I've pasted below the content of umcg.rst file that I'll add as a doc > patch to the next version of the patchset. I've also attached a PDF > version of the file rendered, in case it is useful. I also think that > it is a bit early for manpages - I expect the API and/or behavior to > change quite a bit before this is all merged. I'm also not completely > sure whether the manpages should describe the "porcelain API" or the > "plumbing API" (see the .rst below). > > Please let me know if you have any questions, comments, or suggestions. So this is very helpful, thanks. I've been through it once, and have some overall comments. - Parts of it read more like a requirements document. A document going into the kernel should describe what the code actually does, not what we think it should be. - I would make a serious effort to get a handle on the terminology. The term "kernel thread" has a meaning other than the one you give it; saying "kernel thread" here will lead to a lot of confusion. I hesitate to suggest terms because I'm terrible at naming (just ask my kids), but I would pick clear and concise names for your "server threads" and "worker threads", then stick to them. - The library documentation is good to have, but it will really be necessary to document the system calls as well. *That* is the part that the kernel community will have to support forever if this is merged. Thanks, jon