Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1113348ybh; Sat, 7 Mar 2020 19:17:11 -0800 (PST) X-Google-Smtp-Source: ADFU+vt86x2RJQdPKVEF2XCTQJkyxCVFmErAwe4Y7EEjI7dPPlHh698wXTUN/DlEw4STa8q1/Fpw X-Received: by 2002:a9d:638a:: with SMTP id w10mr8652714otk.103.1583637431616; Sat, 07 Mar 2020 19:17:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583637431; cv=none; d=google.com; s=arc-20160816; b=v3uQaHc7PJg3Ij4N0b8eKYGJMYv1PthrwDHNffkleKBodEvQaQCvw/A4gM1ik6pXGE HH7KC3aLFBQv3XspBIz8KJAG3LpQ5RofUhnW3cDJPawJOMaiZPRBXxJDa3OS5zDs9IGv fuMglll6BfwwumPq58cScOBEuAon6aEljY+6w5ILdZvtOBUlRF2boJuEHSHKJjMdoVSK EHpWkEGMBCCKQDcTbsp7TI/+202WxmceP7Wz1ZXHoP9W1Lv8h1eeRk8pebBEKdCBWOl0 CxjAuDnw9RzfTTLr5KLi7bcV5N8gjMovNIaKw4tJ6OnwVE0iSvuL0gqQ8JHzvQh3btGu eMGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature; bh=1Nb+0eCJ+RmZWTIi/A28JTvkScuDbfRdl791J3v1ybU=; b=z9Q+t0bYEB8BTDmF1cTSmQxa3idOHM6GImWwFELFeqC/wBb/DjY1+gWkbdfNknBWQ9 tbKjQ68dWnd3uCOFUQLFto+Cn8s/sROxIb/SRmGztHZUxGZQpZAozDLK/HCuaIsyLm4y uVy3ZtFMHtjoaCcFCcRm+m0ffUq/h39CFLq7S8zzYqfYANtzSitF//N9SwoRuiI7RUXZ m5X8YNOukyxcVvt0l2KKVGy2siBxhbj1UeUPOv0uXKhgdeiQfTbLFu8jWM8CeTthXUEx hAig9s1C/XANUMrF1PtWvVuPca1DHCF74lSu53EYFlNT6G1V5zPmLiMs/lXxdoTwVoWv CxLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gyNFz1js; 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 k24si53199otf.213.2020.03.07.19.17.00; Sat, 07 Mar 2020 19:17:11 -0800 (PST) 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=gyNFz1js; 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 S1726269AbgCHDQk (ORCPT + 99 others); Sat, 7 Mar 2020 22:16:40 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:43318 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbgCHDQk (ORCPT ); Sat, 7 Mar 2020 22:16:40 -0500 Received: by mail-pl1-f195.google.com with SMTP id f8so2568810plt.10; Sat, 07 Mar 2020 19:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=1Nb+0eCJ+RmZWTIi/A28JTvkScuDbfRdl791J3v1ybU=; b=gyNFz1js4P3o2fO/Z1TjzVYoqZoqx1LLxetnlManqDFo7XnMcpxZihlmGqOGBDbrbo 77+5HSZQ5rEo9o06ipb2DYJpyy97T/f8n8DI1fK/AxVr38p/w5nREwHd8W0C5mwYbo5N fKAq9qk1qOmVlHcc3vCwUU6TJki/1mKOkx5PkdMBkke4PCWhtz6MF5DjrQgBY4aOKiJK bydU0stJCgmMNFiH3vYn6FxdnIhqm8Z2DMGzuuUhNRQV8hLpq/8Y+fqCXmanPBsyFl+o Izra9FkQJisCTFoZ8wuvbg5xqiSD9QehRlKbVOeXqaQbCKuNqxaJvcH+e3kFUa//u061 o3dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1Nb+0eCJ+RmZWTIi/A28JTvkScuDbfRdl791J3v1ybU=; b=ZBzKWsVw2tIBxpDCUZtFfm/NV6YIUzrQQnzHaJSI4jG0LPKtbS98gC9tIOApR26soX RLCSTiMbIE2bFxJJ3mIqU5Yglorp3kMgA58Istz4w8ojkqw6qL+y27zDFPkZlMoLE33t A2j4s+HUi9ompNW2jMfoa1psZ9ZXhTOZVIt9HCUTiZi0RcY6j+hmjlxt6d4oz3bwvfN5 YYWfnDTommixe+8XqZE72xe12TYXhhoc1DMGYImt0Ig//XZUPuXwg+39SjVJPOdz5X4u WHc+XWP+2/Mwpv6oWrghkSheztmutZDLQhR37MYeOgnBZtfh4wYvBBOJEvEs6BrQV0Xx 8Ibw== X-Gm-Message-State: ANhLgQ2yCMMJyVTAYGdgze8N60VR3bF1TIdeuBS6+3+juSeeM5IGVtI9 yD3tPcgKEZs7d0dOoWNAEOI= X-Received: by 2002:a17:902:8d8a:: with SMTP id v10mr9810813plo.90.1583637398563; Sat, 07 Mar 2020 19:16:38 -0800 (PST) Received: from localhost (194.99.30.125.dy.iij4u.or.jp. [125.30.99.194]) by smtp.gmail.com with ESMTPSA id s18sm13679394pjp.24.2020.03.07.19.16.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Mar 2020 19:16:37 -0800 (PST) From: Sergey Senozhatsky X-Google-Original-From: Sergey Senozhatsky Date: Sun, 8 Mar 2020 12:16:34 +0900 To: Joe Perches Cc: 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: <20200308031634.GA1125@jagdpanzerIV.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (20/03/06 23:58), Joe Perches wrote: [..] > --- a/mm/zsmalloc.c > +++ b/mm/zsmalloc.c > @@ -424,7 +424,7 @@ static void *zs_zpool_map(void *pool, unsigned long handle, > case ZPOOL_MM_WO: > zs_mm = ZS_MM_WO; > break; > - case ZPOOL_MM_RW: /* fall through */ > + case ZPOOL_MM_RW: > default: > zs_mm = ZS_MM_RW; > break; Seems like missing fallthrough; for ZPOOL_MM_RW? -ss