Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2146092ybh; Sun, 8 Mar 2020 23:23:33 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvHPa3DoqKiesw8llWwu6g2locm5xnRNx9y3tG/MluZ5AAvS+Zj7iYmxk5fv9Ghfwdgm0II X-Received: by 2002:aca:c044:: with SMTP id q65mr10089019oif.68.1583735012971; Sun, 08 Mar 2020 23:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583735012; cv=none; d=google.com; s=arc-20160816; b=UAbGtvHKAjIfQxUHio+nMWUb+HFIZYQulLHLFuOEEMNpBL9/r/lw6xqXzVWRKCouq1 XAb8f+f82mlqymXXk1bGPpfG9ZXKsd+ep3YC3nCwvdARQgEBsqzP2fMbQ+cwJU0WdfAP 3bCuOZb0dcmw+Ku1vyuU2+z2KnPpS0eFAJtp5p0AgU4KsPdl2XsyNX183AvFwDvYm4UA 4dSZyr75/N3h+aC+pmWaCuLFZ9RZSFWdhwOQDwQXwojJS53pZShlT1N36phc+o76z4sa koMJVB3XXL8UgvJ6e2twCS9FAVFEy/ybpFy/nZ4Mrtmv6mMATD8XWy/QhN2FsIwFGsAW 1dwQ== 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:message-id:subject:cc :to:from:date:dkim-signature; bh=g75Qh0w0IMlX/zV9hQvw54yKT3VrtMDkZu/Q14Db4QQ=; b=pq9csF1R+CIaxFskms1XOWsQncO7PMcawboNtotAlRIz8EluU8lpzMW/X0t5TtdPxU cIpTOy7EV1U5EJzE0lESLvoHcGz2JPUF3zuXIWu9xj1cBsReAci+0iyVYKetx8pbMP9i Z8RC3Mc/O5J9As4PnqMm08KHwH7437SvhKl8yKTItjuBH57OkLVjKjpcuW7Hmivdhrzs ORIA03JH+feG6rIc1VUpDiSVtz52FULWOzVkXILbOFLyj+Ske6Lwt7u3s2xQ70bcOn9A zQb2Q+tVf49DJrIkYv9REyh9kc7Ey9hPuyU6v1PnDfHk9jq/eJlOMW9O3RgMS+r+fUB4 +Flw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oLuNqixN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24si3587071oie.221.2020.03.08.23.23.10; Sun, 08 Mar 2020 23:23:32 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oLuNqixN; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726368AbgCIGUv (ORCPT + 99 others); Mon, 9 Mar 2020 02:20:51 -0400 Received: from mail-pj1-f65.google.com ([209.85.216.65]:37163 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726071AbgCIGUu (ORCPT ); Mon, 9 Mar 2020 02:20:50 -0400 Received: by mail-pj1-f65.google.com with SMTP id ca13so1726520pjb.2; Sun, 08 Mar 2020 23:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=g75Qh0w0IMlX/zV9hQvw54yKT3VrtMDkZu/Q14Db4QQ=; b=oLuNqixNl1JxNVT152qOq/xNxOVKrrzZ6dbHvCBWH/+3doPheUSai4W8Asav3nC6uU qdEv2xwxy2lA/KdtQMkqQ5FFkvz4Q5F7Cq598Htvjw6tVym6ZXB5wFlesntytgI8+TSj 3T0R+fC5Fyk9OrD2EaoizKfpnsFYktFYpsuD8L4qYUQvATxVO8f5L1/ezu7ZNh8U4a47 4XEYWEVzUzKzoycFQQi+5nySgzPSrZQWph39MGZ5OJMn2QV0b/knhiraNQexExmY02pg yI5Ed4aPCD/hqzR2JiRjsQhrkwxv8OVH12+aZ9NL25gytbe/L7taOxw0caVyRszKWETB kR8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=g75Qh0w0IMlX/zV9hQvw54yKT3VrtMDkZu/Q14Db4QQ=; b=nFvENOHmBnp2HcFZDj/ZPrz7r0Ukz3U05fH003biui7j9mjzCmOiYoUwjKc9kdD1m/ 5dXaLPdSmydvaGW7rv7e97TnjHf0F3RpQdCm/vAsJPwywOp/J2FaXAivN8F8pxjTp9n3 +NdqQyUEGvqDUxlhphKMiZO7ifw9h90tnLuOiJ66GB/SsaOy2HInmWUbLQPEAFa0BieL KA5vN38SFwS9C6X8FN+J6YUF/TciT0naOMjiL7kl6YSokuyJdDzlFvJ7jCB6bGa3ZYvZ 8DWb0hog7yDrhqN9eoujnRme7XzJyGStc/uHDM7mwDQlU/d+pm/PZoLWPVfJNTjZKyJC NOVQ== X-Gm-Message-State: ANhLgQ1EukIbudNnP9C8YYj0+vMijPyj5wqubiyCkjsSERzZ2RsIXBfs hmhZLZyGK9TS1eZELgJ0JiY= X-Received: by 2002:a17:902:70c8:: with SMTP id l8mr14211162plt.89.1583734849681; Sun, 08 Mar 2020 23:20:49 -0700 (PDT) Received: from localhost ([2401:fa00:8f:203:5bbb:c872:f2b1:f53b]) by smtp.gmail.com with ESMTPSA id l189sm3156157pga.64.2020.03.08.23.20.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Mar 2020 23:20:48 -0700 (PDT) Date: Mon, 9 Mar 2020 15:20:46 +0900 From: Sergey Senozhatsky To: Joe Perches Cc: Sergey Senozhatsky , Andrew Morton , Johannes Weiner , Michal Hocko , Vladimir Davydov , Hugh Dickins , Minchan Kim , Nitin Gupta , Sergey Senozhatsky , linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org Subject: Re: [PATCH] mm: Use fallthrough; Message-ID: <20200309062046.GA46830@google.com> References: <20200308031825.GB1125@jagdpanzerIV.localdomain> <5f297e8995b22c9ccf06d4d0a04f7d9a37d3cd77.camel@perches.com> <20200309041551.GA1765@jagdpanzerIV.localdomain> <84f3c9891d4e89909d5537f34ea9d75de339c415.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <84f3c9891d4e89909d5537f34ea9d75de339c415.camel@perches.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/03/08 21:51), Joe Perches wrote: > On Mon, 2020-03-09 at 13:15 +0900, Sergey Senozhatsky wrote: > > On (20/03/07 19:54), Joe Perches wrote: > > > On Sun, 2020-03-08 at 12:18 +0900, Sergey Senozhatsky wrote: > > > > On (20/03/06 23:58), Joe Perches wrote: > > > > [..] [..] > > > Consecutive case labels do not need an interleaving fallthrough; > > > > > > ie: ditto > > > > I see. Shall this be mentioned in the commit message, maybe? > > I've no real opinion about that necessity. > > fallthrough commments are relatively rarely used as a > separating element between case labels. > > It's by far most common to just have consecutive case labels > without any other content. > > It's somewhere between 500:1 to 1000:1 in the kernel. I thought that those labels were used by some static code analysis tools, so that the removal of some labels raised questions. But I don't think I have opinions otherwise. -ss