Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp162647ybt; Mon, 6 Jul 2020 06:33:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznUCf6ZZJdkwTZnGkELlou7b3r8NUTtwO16yshvwUs9JdQ8+eQePuKL3Qt/YHd6vq5nP/a X-Received: by 2002:a17:906:748:: with SMTP id z8mr44193617ejb.257.1594042413615; Mon, 06 Jul 2020 06:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594042413; cv=none; d=google.com; s=arc-20160816; b=NcsiF9ikMogmMOexpUOguVuhgokNQVsXsSEMWOd9ZI8aFDPivuj39k47nnX3NE1YH1 DzCT8V+NmH0QEpLHAlY32xYDo84p9o6gtZyzUPLltdRJAJyru8fOpx3FwQKNHNhnCgdS pHCwPfXhDudT9GyMjPOF1GNucrOm6TzIzWTEXSdWVN72W7O/Z7gejhI2slQqL8MiRL1T JhsYbNWBZJghugpuMF0ysbbLXSf9bjUyuRTWwGFoS4ljaPWaqaCNulc+/KTzrRJnjqV/ guxLx74zYi1Zt+5JWOE97zxxXraJkq9FrxSMetH6aAUaanEBAb8dgPz/ptnGic10ScPP inFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=wrp0MhHt818DNyZWNd/2w+ZetuouQwt+RCbLeHB6rG8=; b=cMqPfdUca6UrzIPLqLPnac/R51xhEKaO/dUfI8yowQ254qoUobDpx4YHscU/hpeEbs NyUq4VVjtVObs4wX8dR2JIYIjksk1xJ/g7bgDrdsLWGGuN8ejf2b4nYz3frR4RxjBYsp 5xbnIUD478tqE/2uUxcsQWJ9xdTYGsIhi7akuOpQgw6JqEYycUSM6nEYIjRHyTI2nYe2 1o2oMNvHEz14FlYUcH6UnnhMmbhPtGltkNj8Q0xPx+LJH7RyGhCPO4mugu4lK9DoF4cy ETfd6FcHKym+UqfVZAYbGonv6/Dq3OgBi3zjadiE+TvF/J8YO5P8moUlQR3avYJSnTlk 7TeA== ARC-Authentication-Results: i=1; mx.google.com; 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 p2si13089424edr.239.2020.07.06.06.32.46; Mon, 06 Jul 2020 06:33:33 -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; 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 S1729182AbgGFNaF (ORCPT + 99 others); Mon, 6 Jul 2020 09:30:05 -0400 Received: from smtprelay0214.hostedemail.com ([216.40.44.214]:55124 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728961AbgGFNaE (ORCPT ); Mon, 6 Jul 2020 09:30:04 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id CF52A181D3039; Mon, 6 Jul 2020 13:30:03 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:857:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3353:3622:3653:3865:3866:3868:3870:3872:3873:3874:4321:5007:6119:7904:10004:10400:10848:11232:11657:11658:11914:12297:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:21080:21324:21627:21773:30012:30034:30054:30060:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: pail57_0908a1c26eac X-Filterd-Recvd-Size: 3207 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf16.hostedemail.com (Postfix) with ESMTPA; Mon, 6 Jul 2020 13:30:02 +0000 (UTC) Message-ID: <10eeae911ab653036554f5599ba34406572acaa9.camel@perches.com> Subject: Re: [Ksummit-discuss] [PATCH] CodingStyle: Inclusive Terminology From: Joe Perches To: Matthew Wilcox Cc: Geert Uytterhoeven , Greg Kroah-Hartman , Chris Mason , ksummit , tech-board-discuss@lists.linuxfoundation.org, Linux Kernel Mailing List Date: Mon, 06 Jul 2020 06:30:01 -0700 In-Reply-To: References: <159389297140.2210796.13590142254668787525.stgit@dwillia2-desk3.amr.corp.intel.com> <87h7ul15le.fsf@notabene.neil.brown.name> <20200706072221.GA1947246@kroah.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-07-06 at 09:04 -0400, Matthew Wilcox wrote: > On Mon, Jul 6, 2020 at 8:59 AM Joe Perches wrote: > > On Mon, 2020-07-06 at 08:51 -0400, Matthew Wilcox wrote: > > > In terms of number of lines of code using the word, it's only seventh > > > in drivers/: > > > > > > $ for i in drivers/*; do c=$(find $i -type f |xargs grep slave |wc > > > -l); echo "$c $i"; done |sort -rn |head > > > 5218 drivers/net > > > 1341 drivers/dma > > > 988 drivers/i2c > > > 695 drivers/gpu > > > 666 drivers/soundwire > > > 665 drivers/spi > > > 559 drivers/w1 > > > 461 drivers/infiniband > > > 389 drivers/media > > > 301 drivers/scsi > > > > I get rather different and much lower numbers > > > > $ git grep -i -w slave drivers | \ > > cut -f1,2 -d/ | uniq -c | sort -rn | head -20 | cat -n > > That's because you're using grep -w which excludes, for example, > slave_configure in drivers/scsi. upper/lower case uses too... (anyway, there are a lot) $ git grep -i -w -P '\w*slave\w*' drivers | \ cut -f1,2 -d/ | uniq -c | sort -rn | head -20 | cat -n 1 5683 drivers/net 2 2118 drivers/gpu 3 1807 drivers/dma 4 1389 drivers/i2c 5 866 drivers/interconnect 6 835 drivers/soundwire 7 821 drivers/spi 8 698 drivers/w1 9 508 drivers/media 10 481 drivers/infiniband 11 440 drivers/ata 12 317 drivers/scsi 13 267 drivers/fsi 14 240 drivers/tty 15 225 drivers/vme 16 223 drivers/staging 17 157 drivers/mmc 18 155 drivers/usb 19 141 drivers/video 20 140 drivers/char