From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 459A1C54E58 for ; Wed, 20 Mar 2024 17:36:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B492A6B0092; Wed, 20 Mar 2024 13:36:27 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AF91C6B0093; Wed, 20 Mar 2024 13:36:27 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9C0E56B0095; Wed, 20 Mar 2024 13:36:27 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 8E0D66B0092 for ; Wed, 20 Mar 2024 13:36:27 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 5B5BD1612CD for ; Wed, 20 Mar 2024 17:36:27 +0000 (UTC) X-FDA: 81918121614.29.9B814F3 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by imf16.hostedemail.com (Postfix) with ESMTP id 265AA180019 for ; Wed, 20 Mar 2024 17:36:23 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=QEnUBzaQ; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.198.163.13 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1710956184; a=rsa-sha256; cv=none; b=mWu86afedhbHFJyCzMHhi9jTFBNGM/6UQ1AMJ8gJJurdPuUsDRs4qx2CP+HDcIPpHx/Qvn i48zQT8iVeH8ov24rcjK1O2y/oMjY3YOgmeuk0gB8qtTiINpKFYgwV+9bMOApQe1bUb10n FVeQ5y5ld2VkdjGoDz98EjNxFcVlYTQ= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=QEnUBzaQ; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.198.163.13 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1710956184; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=JZ7nM5fzRmqtKbzBC6y1m8dSPlxtEILcqyMO2td7zW0=; b=gBP5UPvsXYNy0i28F5+ZfOdjp9PdWDTqSdBkSNJjxtDk9YGYVDgvekjEA5N94Dej06MqYJ u2bTwCEfb93THzt3QTGoBRirvFlGgXgod2IOfeNHb7TXLpbM3tnQTk5GUzOy2Ex5q1wi5A tCdjsHEKZAIAC8lFgeTFSmrVH69MP/g= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710956184; x=1742492184; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=614TyGgZR8YUe7ivLVIdx/2LjYPVT1YP379tVWiMKOI=; b=QEnUBzaQaRsgbT7+XtrXa53WHbv/2KF/nwe3fYuV968zk+Fd1Jcoi4nd Bm/wq8XFNRMdQNOzDmjr9x6f4P6oOUyryN9JLx/8Y5kMgjph+VksqP9C/ p9hgGQTOMcx84ZiMuGnUHmfEvY9EA3+Nkuo6nbCtcEvBJ73uAgXHiLdH5 06jAtCm5383wPu+to3GU7Svnnh/QgAa+2LnUu4iVonRRBXZMHOosuCeeA hjAQgxtHReAKDCZMjz80wqcbHwgT2Uk2kLQGxGJRAGpUCHwcr1oUBdKSE 4SBMsliu232JJiF+8pBfKEKVF3VKsWfedfjFwsAQYtGtAsWHgzqz08xgB w==; X-IronPort-AV: E=McAfee;i="6600,9927,11019"; a="8851146" X-IronPort-AV: E=Sophos;i="6.07,140,1708416000"; d="scan'208";a="8851146" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 10:36:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,140,1708416000"; d="scan'208";a="14303809" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa006.fm.intel.com with ESMTP; 20 Mar 2024 10:36:19 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rmzrN-000Ip9-0i; Wed, 20 Mar 2024 17:36:17 +0000 Date: Thu, 21 Mar 2024 01:35:55 +0800 From: kernel test robot To: Oscar Salvador , Andrew Morton Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org, Michal Hocko , Vlastimil Babka , Marco Elver , Andrey Konovalov , Alexander Potapenko , Tetsuo Handa , Oscar Salvador , syzbot+41bbfdb8d41003d12c0f@syzkaller.appspotmail.com Subject: Re: [PATCH v2 1/2] mm,page_owner: Fix refcount imbalance Message-ID: <202403210131.YLR6USxm-lkp@intel.com> References: <20240319183212.17156-2-osalvador@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240319183212.17156-2-osalvador@suse.de> X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 265AA180019 X-Stat-Signature: z1hddbchbrhqbgad7xa56p41ht4gzf8y X-HE-Tag: 1710956183-826517 X-HE-Meta: U2FsdGVkX195buZg9L+euLMUzbg4Qr4NsrtHIEchXJ0pJugq06PgO4FdutwXiRQZNcXvQOx0H2W8ZaWNH7G4IdIHPMERFEiNCEUUx5bSwKXZonFfhCpgqRpaRo1mxtEf5mvtxVjuAVDXMcjc5ToSz3AY9NKHPFQQT5npR1AOjsdgtNr4JNDx5/sR7KcJlamY88tWgy/tZmp7SMN8NJs4m80UL+IV2r+vlrfpBF84+zRFu+K0Bv1J+vFQtjamYGbhXHNAeXeTaQSaIzNFh9u0UEfI1Q3DAzhHD2bP2Fn2ZOn226VE9d+Opzst4jL5Zy/FQVbMRaIuGXNjK80iYNYU5fqyVheYmdiA0ZwzB2GsxlaFEEOImYHyf2kkRAhxx62yEYUARXGkt5+ZHyvur6/d9BH7+QjwkUMKWmVBoLUQWy6PWwZ9fVRjYCGv1GCZEs4Gb7yUbR8zkBfFlxO9/7EjcfUINVmuu6wxazJax7XKQ839TqMSUtbSTe6dnjiCSPyEB3197lYC6vJUfz9i4QRSyig7sXKm6MF99FHoWTsGvXLXe8s5S2RXdScCKplbdA97Jt5C0eojQAUZj5hPU5XHwXdWF2TYrD/wzUcQMxhwU4M6CG6krtzIIGE3IROv021aLD6xbQt4gOatEmq7EI/3CeDyqYBNTr2sVVQdpDwP9Jb5mMZmn5soZeAwBIJsxn9V5hRGPUW3CMiALNZtLiuEnd4Xut1XZwS0zqFxZL/JVsl+u0vzKzEIJFjSi72EZCPsV90yaWQ5yLFPxu3Ardvkzr/EBEO3cVsIO3c7PRdtteRrFAWL7aZvrbYVzFR0iCCaHrmgGW6xB+jUjQRIwteoGqzIrg9iYzYQdoMlqKLnEDgwaaLH6iPvORrqPAfAu9jslKPLOMrwFEt6nuPA/h0uvG9oqrUC1EVWMJHUK5quIPi6J31gQjdOsqPb14OGh2KYsd5GBHpBEfBcQZ6KqJG 4psb2/1A kqZL3KCMKCLEs01Y= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Hi Oscar, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on linus/master next-20240320] [cannot apply to v6.8] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Oscar-Salvador/mm-page_owner-Fix-refcount-imbalance/20240320-023302 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240319183212.17156-2-osalvador%40suse.de patch subject: [PATCH v2 1/2] mm,page_owner: Fix refcount imbalance config: x86_64-buildonly-randconfig-004-20240320 (https://download.01.org/0day-ci/archive/20240321/202403210131.YLR6USxm-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240321/202403210131.YLR6USxm-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202403210131.YLR6USxm-lkp@intel.com/ All warnings (new ones prefixed by >>): >> mm/page_owner.c:213:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result] 213 | refcount_sub_and_test(nr_base_pages, &stack_record->count); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. vim +/warn_unused_result +213 mm/page_owner.c 206 207 static void dec_stack_record_count(depot_stack_handle_t handle, 208 int nr_base_pages) 209 { 210 struct stack_record *stack_record = __stack_depot_get_stack_record(handle); 211 212 if (stack_record) > 213 refcount_sub_and_test(nr_base_pages, &stack_record->count); 214 } 215 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki