Received: by 10.213.65.68 with SMTP id h4csp176415imn; Wed, 28 Mar 2018 01:05:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx483lFMNbWgBpvXkmbvnAa6dLRSyatmYnHiN8qe3Eif9ZeMlbGe1qaBuwdnlJgmG2+3wZ6nE X-Received: by 10.98.141.78 with SMTP id z75mr2164077pfd.174.1522224351552; Wed, 28 Mar 2018 01:05:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522224351; cv=none; d=google.com; s=arc-20160816; b=Uqxp6Yg9nx99az8zVPJYyxKYKHDjLyEvJdj5TDbi7HRHo5Dum2gyztZXZ3ROZEDvSb 5NNwXsO/827zeIexK61G8oGq/ejquChOIxshuUcdPB4epYickVpxExEqg3sMjvD4NUC/ 4Y0cAt4Rw1rq9p3o/8+4lyNKf9j6Hcd/aMxCY4skz5hfa4ZB3lxPbSZ7iYKcbgZ0gtBP q2boi553hLgmaHaMQRy/1SuNSaqg1Cne+NvvwLoDZeC1RPgVJ00WbXWIt31oV7TSVWLi G3/vbSjTwUkQQWcgxm9F2Ll2eDz5H9cDPSZv34l60GJeaexBNsIwel3goxX9RzNpN910 vi1w== 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:arc-authentication-results; bh=Oe5Cj/DT3Vp71GXdL8GsqwvYmZLjhB9m7rklAsYk1Ws=; b=TREMlUZTY/9Zc+0+1NwuHqhuITC2e1nMun31sl6QdXP5cnaOb347bmBX2K2ndAZooI tYBIQIdaTudI+wiES0JTnI1ULiGW71/ZKLaJRLOCMM1uuiSPfW3Zk4kOLNVFMHHy/U7V cCAWjNxSRkc+6sUFu0dn8hME91TLbg/NtR6V98/0UkNb9F/l2zo37Zs/fNoCpUhJeAqm A3UOBuILADfXzY6tOIDySVrE+aV1sPIqAG/ngS2KoMkZz+cwBii/dkRs2REar7VO3RMK MlrlocSlHS3nqg27eF8nsuyQuydJhRlAWnuDfeBHodI59dln9FRXEJm2d5unea0dxcjX u/hA== 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 u6-v6si3016713plm.239.2018.03.28.01.05.37; Wed, 28 Mar 2018 01:05:51 -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 S1752416AbeC1IAs (ORCPT + 99 others); Wed, 28 Mar 2018 04:00:48 -0400 Received: from mga17.intel.com ([192.55.52.151]:34798 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752305AbeC1IAr (ORCPT ); Wed, 28 Mar 2018 04:00:47 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2018 01:00:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,370,1517904000"; d="scan'208";a="28697909" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga007.jf.intel.com with ESMTP; 28 Mar 2018 01:00:45 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1f160i-000N4n-Ep; Wed, 28 Mar 2018 16:00:44 +0800 Date: Wed, 28 Mar 2018 15:59:48 +0800 From: kbuild test robot To: Li RongQing Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Michal Hocko , Johannes Weiner Subject: Re: [PATCH] mm/list_lru: replace spinlock with RCU in __list_lru_count_one Message-ID: <201803281454.4QSlrPKy%fengguang.wu@intel.com> References: <1522137544-27496-1-git-send-email-lirongqing@baidu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1522137544-27496-1-git-send-email-lirongqing@baidu.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Li, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc7] [cannot apply to next-20180327] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Li-RongQing/mm-list_lru-replace-spinlock-with-RCU-in-__list_lru_count_one/20180328-042620 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> mm/list_lru.c:59:15: sparse: incompatible types in comparison expression (different address spaces) mm/list_lru.c:61:24: sparse: incompatible types in comparison expression (different address spaces) >> mm/list_lru.c:59:15: sparse: incompatible types in comparison expression (different address spaces) mm/list_lru.c:61:24: sparse: incompatible types in comparison expression (different address spaces) >> mm/list_lru.c:59:15: sparse: incompatible types in comparison expression (different address spaces) mm/list_lru.c:61:24: sparse: incompatible types in comparison expression (different address spaces) >> mm/list_lru.c:59:15: sparse: incompatible types in comparison expression (different address spaces) mm/list_lru.c:61:24: sparse: incompatible types in comparison expression (different address spaces) >> mm/list_lru.c:59:15: sparse: incompatible types in comparison expression (different address spaces) mm/list_lru.c:61:24: sparse: incompatible types in comparison expression (different address spaces) >> mm/list_lru.c:59:15: sparse: incompatible types in comparison expression (different address spaces) mm/list_lru.c:61:24: sparse: incompatible types in comparison expression (different address spaces) vim +59 mm/list_lru.c 51 52 static inline struct list_lru_one * 53 list_lru_from_memcg_idx(struct list_lru_node *nlru, int idx) 54 { 55 struct list_lru_memcg *tmp; 56 57 WARN_ON_ONCE(!rcu_read_lock_held()); 58 > 59 tmp = rcu_dereference(nlru->memcg_lrus); 60 if (tmp && idx >= 0) 61 return rcu_dereference(tmp->lru[idx]); 62 63 return &nlru->lru; 64 } 65 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation