Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp662219ybm; Thu, 28 May 2020 11:59:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZM86ipUAPUgfv9tD28a8/rjpnhylJ4G2z2aAkhYIM9O8CXe3q9s5Id/OTxK3Y9ZKlu5OK X-Received: by 2002:a17:906:90c1:: with SMTP id v1mr4316369ejw.322.1590692390907; Thu, 28 May 2020 11:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590692390; cv=none; d=google.com; s=arc-20160816; b=HQPGmTNe9dPhACx7HOThB7cTGsu/6M3CHa4xtvs6k2zF6yqtsyh8Zs3ab82MbbySMp tvdUyKCqU1kluNYmwaI4MvjPBRkcWq2kNhfjQBZR5GVZhIgew7a/3Pb5BdjXMswmvsZQ z0S/o53wB7F4VpqBT3vC+5TXZnpFL17vdMCUhPC0oXjGs09BM1W+RYjNSsZnI+m/eSip +kYzkRHoOqWjF7YsRGBzYQtsR/uAN/EdhLM6fIH3vWHObIYenFM0YhxmkKhjufqiOcNR OFnQM8U5bkQnIwxD1xVPfZ1iF2KWGz2P8hW16YTNoE34nPM7jyYRUZ1FlW6upRtz6SFo Dz6g== 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 :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=1WUnmileJ2hdwhJopOOZ097SsEZwGISBLeXRWZOX8Kw=; b=edfzNVhl0v//qvXnvfa56pOu8FhDyYwgQQucLVwRW5qyFL7TMAEtSKU+q0Eg4KHdaZ 8NbJUyBoBGXEr97jMytGfJTIEavQ1i3y0Exn1zmTZ1bW+WwXUnQZJP9ibFySMV9bTbbA KERxizcinJRdghz82jx8ElZbYk+VsuxpwPP13M9qP0zQDPkQ3uFxBIea1cudD5P5MiEn 9fR9k/BkXnbHHMqn0KA7EO8CTi4zg18LqH/KPkU+5E/C30EuweKKzvqXxUKI1BVQZW4d vvUnax3NgeEEXsePEXcVtRsX8WSXyjDga6JcIC5tIpWaMpi0ZKbFmc+VsSXLoOfhqHUz vsYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="O5u/28Jb"; 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 cx16si4082438edb.490.2020.05.28.11.59.27; Thu, 28 May 2020 11:59:50 -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="O5u/28Jb"; 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 S2406048AbgE1S5J (ORCPT + 99 others); Thu, 28 May 2020 14:57:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405981AbgE1S5F (ORCPT ); Thu, 28 May 2020 14:57:05 -0400 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5300CC08C5C6; Thu, 28 May 2020 11:57:05 -0700 (PDT) Received: by mail-io1-xd44.google.com with SMTP id s18so17305291ioe.2; Thu, 28 May 2020 11:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=1WUnmileJ2hdwhJopOOZ097SsEZwGISBLeXRWZOX8Kw=; b=O5u/28JbMp8QjK3lUZ/R7ZQMXrdEDvj24BT8A4iwA80MkobNQm6KbVC7lsHwcRnM88 CzK3hY3J7l4IpU+q1OOkOjfgysObGfUS1fE+OcWBeNTi+i3D57pSp34d/MEX65sofusR JFNCgJfFT31wAF15xsix2FLiUgr6Tr/JkpG2rKkOXBxPjo3uURhF1zCqsP7k637OtmTR 30Dmdw7tZWU+0wB5iXHdeFkZdJxOalF8bJspvUB1ICb4BArg0Cu4YE/9+l+6b+a16CS4 +gGU35X7ZXNt7beLPyIqXY4j+D3eJguupYKR4lqvFUESMIVl+sLMGqUZLtqCUfihXAf5 bI1Q== 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:reply-to :from:date:message-id:subject:to:cc; bh=1WUnmileJ2hdwhJopOOZ097SsEZwGISBLeXRWZOX8Kw=; b=NUS+8swYyUFK6Encnsesq0NX87D7MAybA4/pM4rj9/Hmkh6Noa47T8Pr+L5LYXtlLc 8Kq9BJG/JX43D1bjLQXgxCp48ACtw6CqO5pO6uqUbIKX9mxJLEiBaJgFH8e3GgsDx+9e 2GXbkgN5qU6mMHJZIlr0FCKo8b5VDK3qs+m2xmGNYNcY3D2I9llAlx6rzzwNDPC0wtSJ fRBUyvhy3Q2iMr9QMzB3969NQEKXtPx+shsEk+rrem2IDIgoP3K/IdhFbYchHY0sP+yI WKuMMlgR0IbMWoG2jKjhmKnqAcAGhcRlnZoj9bPRwZ564xLRV83aeL615SRQ65+sS4sH 85aA== X-Gm-Message-State: AOAM531RvR2KDYvOEJrfRNLR3xuZ7p+0JMNyQ9+oURLJRHSROmY/JDaX ijSJ+PTuFwJ4ISXMsaw5dN14atflnZaoWDqXXPg= X-Received: by 2002:a02:ca18:: with SMTP id i24mr3888754jak.70.1590692224637; Thu, 28 May 2020 11:57:04 -0700 (PDT) MIME-Version: 1.0 References: <20200528054043.621510-1-hch@lst.de> In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Thu, 28 May 2020 20:57:06 +0200 Message-ID: Subject: Re: clean up kernel_{read,write} & friends v2 To: Linus Torvalds Cc: Christoph Hellwig , Al Viro , 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 Thu, May 28, 2020 at 8:53 PM Linus Torvalds wrote: > > On Wed, May 27, 2020 at 10:40 PM Christoph Hellwig wrote: > > > > this series fixes a few issues and cleans up the helpers that read from > > or write to kernel space buffers, and ensures that we don't change the > > address limit if we are using the ->read_iter and ->write_iter methods > > that don't need the changed address limit. > > Apart from the "please don't mix irrelevant whitespace changes with > other changes" comment, this looks fine to me. > > And a rant related to that change: I'm really inclined to remove the > checkpatch check for 80 columns entirely, but it shouldn't have been > triggering for old lines even now. > > Or maybe make it check for something more reasonable, like 100 characters. > > I find it ironic and annoying how "checkpatch" warns about that silly > legacy limit, when checkpatch itself then on the very next few lines > has a line that is 124 columns wide > > And yes, that 124 character line has a good reason for it. But that's > kind of the point. There are lots of perfectly fine reasons for longer > lines. > > I'd much rather check for "no deep indentation" or "no unnecessarily > complex conditionals" or other issues that are more likely to be > _real_ problems. But do we really have 80x25 terminals any more that > we'd care about? > Please kill that 80-columns-checkpatch-rule for more human-readability of code. - Sedat -