Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2017257ybn; Thu, 26 Sep 2019 05:54:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXh6P/W5xVMyL2aXlcm2Cg3VBlCyjnZHvuOhBqeGzBx2HR0irRN/tYCU5xFwOd8hfoE7XO X-Received: by 2002:a17:906:16cd:: with SMTP id t13mr2942026ejd.153.1569502464409; Thu, 26 Sep 2019 05:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569502464; cv=none; d=google.com; s=arc-20160816; b=QrZksC0w7bv6roIbjLc78rqsfKf/42xAz9EFKhqwMJPsr45FfonxtQvxH81qivXnmF /NpWOHRYpeI1HLg8uhxPJkJSgZBXiXr8AdoPHrcl81m8An0k6lXPkGTtpNJjMUd6DIzp 6C/lWdEBpzyspMJN/sDSNsRMpj3cYV3Im99tuBKA2/pTMsVRzL7ZoNgp9K2LXFhyj6VN Wj2CM+6lQ60nz46xjKT3wYzhLqjcRyZq3MRZhHqSJ9J3ZjnrqhqaA1qOZXHuBpk6j8A4 6Kbk05YeZLhmtV8Kvf8JPl3IIv61RKcgTsyJcF3Pd63Ah0HouFg01bhvSSJfXQvz0YQu fLKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :reply-to:message-id:subject:cc:to:from:date; bh=RtxgQQRGgQKs9oH2p94/JqsuRC/ZAR9/wbhZV1Wnjd8=; b=RTh1yM+SML1ZZzHGdOwTGqRwzFKJkoINOW3IjucPzahzrKvH0yEkn28W1U/jtNcleN c0m9QbrhM+RsMQrSyZcUymiiUCxL0qa7FExPDkkHABZLeS1FeyRc3NN1J0LZQzqaEgh/ mHrbsYdJ52RVQoReq213hcwGJw0zHbEJUWk1SYunXtBQXhGJ3jsMMUtL6qap2a5zNpQt VaP4qnW102pgP/E1sSULiBiZWqQHt86nLGdgLALmY+29QBjQWKPAwj8LvDpf8JjwIKA8 aS5hp2qFEELo1Wr/o0fqc0dvc99R1CRJR1mLBPUT1UY/zMq6rA6muulV0hE+FE7zDLxj abug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m1si1289276edb.433.2019.09.26.05.54.00; Thu, 26 Sep 2019 05:54:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726700AbfIZMv6 (ORCPT + 99 others); Thu, 26 Sep 2019 08:51:58 -0400 Received: from mx2.suse.de ([195.135.220.15]:39886 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725768AbfIZMv6 (ORCPT ); Thu, 26 Sep 2019 08:51:58 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id A87C0ABCE; Thu, 26 Sep 2019 12:51:55 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id 388BDDA8E5; Thu, 26 Sep 2019 14:52:14 +0200 (CEST) Date: Thu, 26 Sep 2019 14:52:13 +0200 From: David Sterba To: Ingo Molnar Cc: Linus Torvalds , Brendan Higgins , Shuah Khan , Mark Brown , Jarkko Sakkinen , Anders Roxell , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List Subject: Re: [GIT PULL] Kselftest update for Linux 5.4-rc1 Message-ID: <20190926125213.GO2751@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Ingo Molnar , Linus Torvalds , Brendan Higgins , Shuah Khan , Mark Brown , Jarkko Sakkinen , Anders Roxell , "open list:KERNEL SELFTEST FRAMEWORK" , Linux Kernel Mailing List References: <20190922112555.GB122003@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190922112555.GB122003@gmail.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 22, 2019 at 01:25:55PM +0200, Ingo Molnar wrote: > > * Linus Torvalds wrote: > > > On Fri, Sep 20, 2019 at 9:35 AM Brendan Higgins > > wrote: > > > > > > Sorry about that. I am surprised that none of the other reviewers > > > brought this up. > > > > I think I'm "special". > > > > There was some other similar change a few years ago, which I > > absolutely hated because of how it broke autocomplete for me. Very few > > other people seemed to react to it. > > FWIW, I am obsessively sensitive to autocomplete and overall source code > file hieararchy and nomenclature details as well, so it's not just you. > > Beyond the muscle memory aspect, nonsensical naming and inanely flat file > hierarchies annoy kernel developers and makes it harder for newbies to > understand the kernel source as well. > > The less clutter, the more organization, the better - and there's very > few valid technical reasons to add any new files or directories to the > top level directory - we should probably *remove* quite a few. > > For example 'firmware/' was recently moved to drivers/firmware/, and in a > similar fashion about a third of the remaining 22 directories should > probably be moved too: > > drwxr-xr-x arch > drwxr-xr-x block > drwxr-xr-x certs # move to build/certs/ dir > drwxr-xr-x crypto # move to kernel/crypto/ or security/crypto/ For code with lots of history and active development, moving is quite counterproductive as it makes tracking a change tedious. Git can follow the path changes, but that's exactly the step I'd like not to do. That's similar to pure whitespace cleanup patches that are noise. The decision for move should be IMO up to the maintainers of the code, that apparently worked for firmware/ -> drivers/firmware that has been mentioned. That's fine. The muscle memory argument sounds quite weak to me, each of us has some habits, editor settings and coding style preferences, we will never agree. That's fine too. The reason I'd find valid for moving is to reduce confusion when working with the files, not to promote a "formally correct classification" and hierarchy of directories that will stand in the way in the daily work. Though I'm not directly affected by most of the proposed changes, I feel I should speak up before the file maneuvers reach code I care about. > - 'block' could in principle move to drivers/block/core/ but it's fine > at the top level too I think. Following that principle, we can move mm/ -> drivers/char/memory/ right? :)