Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp725203ybm; Thu, 28 May 2020 13:32:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiZ+NlQSFH6CMz1Zh5cSF6KxRAUTQCyui0aYgTFCIjPGgKky/Xhp43hfMIc343NB0fXGvX X-Received: by 2002:a50:8d42:: with SMTP id t2mr4920339edt.170.1590697942744; Thu, 28 May 2020 13:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590697942; cv=none; d=google.com; s=arc-20160816; b=li2Yqg/o8lWudbr/V236WFVj9kDOJt8OZ6ryKVChHD9riVt4YnYwUX+QRr8Nbinthc f9jgy63OQKKQRJUpXYnugWfbiDV9qvPgsTo7w6j2RdDziC6P1MhX2GdxuxkNBZyv1eww 5oh/+Y53Ga0T8UGyuYnzcRcVx2lf3J9Ea0f1k0eWwok13z5sMFtLSJdcNGKCqhYazFPF UFK0nPb19MzEyH1LhdPm5p8vmNuz+b6FZuA5v3brr6RZWAWybSeQbRBVwJWNgH6szDgS 7Vg3cfi3bxbZ0BZu5Q3rY7dwhwTtgQbBICwLreQgPiu7SpBqrty+wHPJn9u0jpcstZU2 O32Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jubbYLeXvUFozWJ2dGJv9BknYxFFydhKvrR5dq59bYc=; b=oNOs4TW5UR7erQ61jgAhtCmRE+k0Ca/8CY/wUdBv7iHIH7IJ3QX8mFLcf8FZLwC+Rd HaMoH1e2dLR6y1ls9lGHlstCD0+Ey88qzhrn0QPbZ1pGSlLeVGMSJOEMVQIG24qHKH5r hICFea6lOwqU+TNoj6sFMravqy2WZLXUvqaha5BIL6odxroERnO1lSPcB2BX5uFqAp7X ZG3vt0p4qMREuPzeAB0RFoH9NoaSEAxtNfGpkFi9+LYbeffs1oi9y5VxgD/QjrdYFhk7 QlAQzO/sdlF6nLtJ8z0lzh8mtEja9N1npd95UN5QuaQBS7hwtkQ6zo3CSeOwqV0tcBYy wjWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lEvgWoFZ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si3748627ejx.63.2020.05.28.13.31.59; Thu, 28 May 2020 13:32:22 -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=@gmail.com header.s=20161025 header.b=lEvgWoFZ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407250AbgE1UaL (ORCPT + 99 others); Thu, 28 May 2020 16:30:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407191AbgE1U35 (ORCPT ); Thu, 28 May 2020 16:29:57 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2BA7C08C5C6; Thu, 28 May 2020 13:29:54 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id k11so1351089ejr.9; Thu, 28 May 2020 13:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jubbYLeXvUFozWJ2dGJv9BknYxFFydhKvrR5dq59bYc=; b=lEvgWoFZbktWMVKAq2OjNpu1lz4P+/FVRhfbKVnDN42Z4qcQJBgHPikzonc97XyPOb hI6vQxJIfmoQcwlXslbmhgNwhMXV3k6TJd9ytmzYg6kv7uGgWWMGgtCg9CmjToKoXKDf OqgXMZJ1ssR7O4C5rTfnmZUgl2rNmJ6SYStDAd72pGxrg/1pLxVnkP53VdVIovQ2pqZq aorHs+mPxzHeUHZziDmqb9ail4EOQx/Txh5AQX1QhPCg1fAi+IMOTp0RLkHaDWi87Qwg cU22Sanfo7Wa/mm36qpi4cbk4nmS/0CS6Oj920ctvl0TmrH58OfL0MK0qqKc7CHQID5D n4rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jubbYLeXvUFozWJ2dGJv9BknYxFFydhKvrR5dq59bYc=; b=sTa3LdDehcRjOyKUMFPQl1/w98ngv7l826QReU+r5CoDi5zx0Kl50+2t+Zzmf/OmiD InmRDTgZOz8K+pyfm50Q8tPiUtmbA0h8eaEoy4MbebgOr/fCxwjvWg8NBWvKRmFvfmf/ MIi6Mny8QKdQPZgQrloIYafCs24cRlpwaQ78aek9hFEWxB6k3yP63uYD8V43trrVMk5m m68H5BwFociF/ZFQbFs5XSxCSxAGpdF/lKsQXL3odWtwqw2uAnfp+qll5ZDRXOZS9SUj lX9KMVMwF8oHOVFM8RHiLYZKpPOOqxxlHxAeAZWUzp9zIgTj3knLcAQif7RFxRwfkW0F +23w== X-Gm-Message-State: AOAM531SJYbNLxwJu12ntH/1y7evBj4kOhQEbxkqbJUlUg9o5KrWQorP KZllKpQifyURi0PSam/l7y5vUflCn3zqTR/18K0hcJII X-Received: by 2002:a17:906:c9d6:: with SMTP id hk22mr4657328ejb.101.1590697793606; Thu, 28 May 2020 13:29:53 -0700 (PDT) MIME-Version: 1.0 References: <20200528054043.621510-1-hch@lst.de> <20200528193340.GR23230@ZenIV.linux.org.uk> In-Reply-To: <20200528193340.GR23230@ZenIV.linux.org.uk> From: Dave Airlie Date: Fri, 29 May 2020 06:29:42 +1000 Message-ID: Subject: Re: clean up kernel_{read,write} & friends v2 To: Al Viro Cc: Joe Perches , Linus Torvalds , Christoph Hellwig , Ian Kent , David Howells , Linux Kernel Mailing List , linux-fsdevel , LSM List , NetFilter Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 29 May 2020 at 05:35, Al Viro wrote: > > On Thu, May 28, 2020 at 12:22:08PM -0700, Joe Perches wrote: > > > Hard limits at 80 really don't work well, especially with > > some of the 25+ character length identifiers used today. > > IMO any such identifier is a good reason for a warning. > > The litmus test is actually very simple: how unpleasant would it be > to mention the identifiers while discussing the code over the phone? That doesn't make sense though, if you write the full english words out for something it'll be long but easier to say over the phone, if you use shortened kernel abbreviations it will be short but you'd have to read out every letter. To take an example: this would read pretty well on the phone, maybe params could be parameters amdgpu_atombios_get_leakage_vddc_based_on_leakage_params vddc would be a stumbler. try saying O_CREAT over the phone to someone not steeped in UNIX folklore. Dave.