Received: by 10.192.165.148 with SMTP id m20csp4197664imm; Tue, 8 May 2018 04:46:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZodpsTB56G9e3GNw3svJImUQ+F6y4/01Cg0iu7O5pSt2w6eN82pJ6Ml5f39shoc+ePlFnsb X-Received: by 2002:a17:902:1e3:: with SMTP id b90-v6mr40162189plb.273.1525779985923; Tue, 08 May 2018 04:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525779985; cv=none; d=google.com; s=arc-20160816; b=NYP64Ric6QkKrKTOvsA5vNI+jQ+vYkzH0KQGOetaAwVbwcdvR9PyoGZ4CMPcO8Ho85 H57YZLh10HycAi3osvApBwoOXhSMMfZjrQ4BZ6NHxVw1M8TisNeNnMSxJUxWvkriQ8pX dQ3o2pKJj37wafhWxADB6dYscJj/mtUE2oOGu0U+k61NEOVU33xJonCiKIUrw6bTJCVY ZkHXhJdJnJsrkrc34iyz8mJL5jzZ51mvE3If2OpRiuaUQ84L3vkkvn5xeao4ewat5gpZ M7TWAT320LbIwInckPJVh6y5pasjOEZMLpBtZ1LHkQIqdEW1xua/5FjSA3hjktZc9jSx s6fg== 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:arc-authentication-results; bh=0JolZfOubwKLai7dnfpj4wWEETJhWmblplWeU3T6dlU=; b=SaGdsun8z1CkrTLqrkxjD6ZG2QKaqavhtDCjaQ0K9Z+IONvyz8jA17pBt2TFRjgq8i ccrg9HeH8eJQxfns8OwOTPjOFnuaiZZYtKSjQ/mp8yB+N4keC7txrvVBEWgdmrLUKQ/h +626JBcFlvKBEx4pAJ8RLukak0VXrYSGAatUzez+vSW3uHhs+Lzfm278e4IFXr8ErJlE wJmiI/vuurMQK5WM6xVv3TQ2ZLq+KNSCrVub80eXGMX82YdJwefGRc2spnWpUUwMlOCR z9sHf34q3HWaRN1m46yomHEmKfRNj5GQea9i/hStTubuU0CkQj1pfkPR4N1Kzp280Zfn G0CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=TJCHga09; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y67-v6si19161553pgb.35.2018.05.08.04.46.11; Tue, 08 May 2018 04:46:25 -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=@oracle.com header.s=corp-2017-10-26 header.b=TJCHga09; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754371AbeEHLph (ORCPT + 99 others); Tue, 8 May 2018 07:45:37 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:36824 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754286AbeEHLpf (ORCPT ); Tue, 8 May 2018 07:45:35 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w48BemJ7193710; Tue, 8 May 2018 11:45:12 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=0JolZfOubwKLai7dnfpj4wWEETJhWmblplWeU3T6dlU=; b=TJCHga09a9ths2q0yc9pIOLEMFq/S+FtV/jJrIyqRsnOQaNmFOuKLKb98ewdeNqBcRYy LTqXiKn4Xb/hjcMCsWXvOore4BFFqCfiZXx4BJz8CwELphow3o9ut7hyacPynnEid2K3 abFOuPndQ+ifuGpMzw/dRWn4gQUZ9ysPlk5xIy7CGahuZfAC0N1nPHj8ZqGWjb7S8zlT fM8jNiJyaW0A046KgjpA0ryXdE4YZJVzRZ3Z/Ysk1X36kEcUaux+M7IyWymtSE44ptmN TBSWEidU+IduIidJwPL9IjD0vWfNZvmgh3BxskCbSMyFtAWpJyPytxZIUCNeMaE/4HMu eg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2hs593854k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 08 May 2018 11:45:12 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w48BjAW7012087 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 8 May 2018 11:45:11 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w48Bj9C1028739; Tue, 8 May 2018 11:45:09 GMT Received: from mwanda (/197.254.35.146) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 08 May 2018 04:45:09 -0700 Date: Tue, 8 May 2018 14:45:00 +0300 From: Dan Carpenter To: James Simmons Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Andreas Dilger , Oleg Drokin , Lai Siyao , Jinshan Xiong , NeilBrown , Linux Kernel Mailing List , Lustre Development List Subject: Re: [PATCH 4/4] staging: lustre: obdclass: change object lookup to no wait mode Message-ID: <20180508114500.qrtnjax4siupgv3n@mwanda> References: <1525285308-15347-1-git-send-email-jsimmons@infradead.org> <1525285308-15347-5-git-send-email-jsimmons@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1525285308-15347-5-git-send-email-jsimmons@infradead.org> User-Agent: NeoMutt/20170609 (1.8.3) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8886 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805080113 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > /* > * Allocate new object. This may result in rather complicated > * operations, including fld queries, inode loading, etc. > */ > o = lu_object_alloc(env, dev, f, conf); > - if (IS_ERR(o)) > + if (unlikely(IS_ERR(o))) > return o; > This is an unrelated and totally pointless. likely/unlikely annotations hurt readability, and they should only be added if it's something which is going to show up in benchmarking. lu_object_alloc() is already too slow for the unlikely() to make a difference and anyway IS_ERR() has an unlikely built in so it's duplicative... Anyway, I understand that Intel has been ignoring kernel.org instead of sending forwarding their patches properly so you're doing a difficult and thankless job... Thanks for that. I'm sure it's frustrating to look at these patches for you as well. regards, dan carpenter