Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp926116ybl; Fri, 30 Aug 2019 09:07:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcyDU3XjWrJATnCoPSKn1bcceqYby3rIkxhwoypwHTLYc3NY4+mBFN2VfteBfTo+QRESAE X-Received: by 2002:a62:f245:: with SMTP id y5mr19081860pfl.156.1567181273039; Fri, 30 Aug 2019 09:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567181273; cv=none; d=google.com; s=arc-20160816; b=dBBN2wr5xod6lKDKuWfBhD4zqw2rmDPoft0vD/VRWfwUjyzNwuJ+FZuau9W2Uk4JqY 7r+1eKEQAlmi7DcwkmleoVRX1KtbxgBDVw5GV35Mzr+eGVaGNyTqRtIWmyUHPfauQv9S OCxnEh4jmtnm/2Q2hYNj/Y9A6r4dpck/FywYY10/NDkyjdjLn7fPBFvg8LK5mzOmxlKe 6DJPgLg7nznmvqU05aQjOrOz/4QVCyUOE2cm9A7WGHqghQbM7ZHUPWP10xmSpP1JwbpO UXE/mbhAvz0zp8b+NsmC+YT9lZf+qcCt1Jhn7jCDuQRCFFXFhCM4SieyKtomgxXSO0sD wnFw== 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; bh=aJJAHCa7RVxQ2UiZT9thppZy2Xp/xOMRpSEOWafco9Q=; b=dt6EIVp3DRmOtyBt4b/0Jfh3Aht4BREYW/baZ01UdjClKFbE6ezypP1x1VJTGwwVP1 lyG8o1nLc3K6RUCQmD0kBuorqtQf9c/Dido/L2p26JF8SXa9fvms1k28WBtfZTKk7IAc feSyb+iHDIQkHZMy8H27u42WJjKSJQr2OjVTrnvCI4/hIfI6nHHrIx/aYiw/LZLBOs05 DkWa0cNL20f8KYfC5qbeJ4FNWcejDDGq+eX4EqfuVT73gOLtxWXqQpqxDLC/4U/suoyt lombaDEw+d7ETAHp4HSJ8su3vfoZj26oj7Y2cz4XG5TNgkq6GZ97wlrGEGGuJSoxE16h 4U0g== 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 9si4772659pgn.337.2019.08.30.09.07.37; Fri, 30 Aug 2019 09:07:53 -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 S1728420AbfH3QF1 (ORCPT + 99 others); Fri, 30 Aug 2019 12:05:27 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:3545 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727820AbfH3QF0 (ORCPT ); Fri, 30 Aug 2019 12:05:26 -0400 Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.57]) by Forcepoint Email with ESMTP id BE52241B7913997FE1D5; Sat, 31 Aug 2019 00:05:10 +0800 (CST) Received: from dggeme762-chm.china.huawei.com (10.3.19.108) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 31 Aug 2019 00:05:10 +0800 Received: from architecture4 (10.140.130.215) by dggeme762-chm.china.huawei.com (10.3.19.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Sat, 31 Aug 2019 00:05:09 +0800 Date: Sat, 31 Aug 2019 00:04:20 +0800 From: Gao Xiang To: Christoph Hellwig CC: Chao Yu , Dan Carpenter , Joe Perches , Greg Kroah-Hartman , , LKML , , Chao Yu , Miao Xie , , "Fang Wei" Subject: Re: [PATCH v3 6/7] erofs: remove all likely/unlikely annotations Message-ID: <20190830160415.GC69026@architecture4> References: <20190830032006.GA20217@architecture4> <20190830033643.51019-1-gaoxiang25@huawei.com> <20190830033643.51019-6-gaoxiang25@huawei.com> <20190830154650.GB11571@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190830154650.GB11571@infradead.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [10.140.130.215] X-ClientProxiedBy: dggeme701-chm.china.huawei.com (10.1.199.97) To dggeme762-chm.china.huawei.com (10.3.19.108) X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, On Fri, Aug 30, 2019 at 08:46:50AM -0700, Christoph Hellwig wrote: > On Fri, Aug 30, 2019 at 11:36:42AM +0800, Gao Xiang wrote: > > As Dan Carpenter suggested [1], I have to remove > > all erofs likely/unlikely annotations. > > Do you have to remove all of them, or just those where you don't have > a particularly good reason why you think in this particular case they > might actually matter? I just added unlikely/likely for all erofs error handling paths or rare happened cases at first... (That is all in my thought...) I don't have some benchmark data for each unlikely/likely case (and I have no idea "is that worth to take time to benchmark rather than do another more useful stuffs"), so..I have to kill them all... Thanks, Gao Xiang