From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 150921E522 for ; Wed, 20 Mar 2024 23:37:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710977853; cv=none; b=XjY3Fsy7CLoMG4c/k1RGVn4g1tKrT4nDXlZtdzXKg/yBZDwXffCn4VtTnjE7wXEVQpZEeC9XLRavI7zL9tXWH11TohjleGc8/X1t9QhF9xO6wgHtLm7GSOkl8/Yk63KFN67tnclgNb2LGEjJLiIaGfQvwjYyZE2n4VhWa3MNa8M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710977853; c=relaxed/simple; bh=QY2G2HUjy/jAZ2GKE0N9ixG0Uypx178TMnWr+UB5gSo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cQ96h5tQcPP9LnkdF2v6rWMOH2xYxVeFeR50X06bHpDTm8YW29Yeu5lHKpPqLmmQ3dNB3dwkstStvhJsN+ClzgE9jeZ9N5AmLWsHJiQY75BPPRyPZ3QRbJvfJ4jEMllWGAiP+qsiPM5ndSRumR+WLbDq5BJvUiO04xV5C+geLQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=XIcDpIdJ; arc=none smtp.client-ip=198.175.65.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XIcDpIdJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710977851; x=1742513851; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=QY2G2HUjy/jAZ2GKE0N9ixG0Uypx178TMnWr+UB5gSo=; b=XIcDpIdJYzrUqVqnjgE223cuRMbKTom0qGtEjNNFZ8Tuv+3eCtpshAmx WjSUHQDoAFem4r7S9YLUe8KouuEoG+3opzPFHcpiT9kYHQob6nEYkbzwE +p+N20Ez4O3ZewzIYYH+Wq54mWbyu2IS6nLgnOrLq3irzXiD+RQulPNNR 8lJJewzqaJznUdWLRHlIqMHHIBTJ/XbxFmGE4to6RbcttX4H85vs7d4op bGGiCXODINqnE43Kjx3Osnn79dUQUfh0NdhNPimKS+BT5fiQm+7aHfAEd 4awkIAmR5zIbG6j1gv3O58BoZjagrpgP45nznKYTfT++8HegYkbCiYs2v g==; X-IronPort-AV: E=McAfee;i="6600,9927,11019"; a="17077959" X-IronPort-AV: E=Sophos;i="6.07,141,1708416000"; d="scan'208";a="17077959" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 16:37:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,141,1708416000"; d="scan'208";a="45297264" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by orviesa002.jf.intel.com with ESMTP; 20 Mar 2024 16:37:27 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rn5Uq-000J0R-39; Wed, 20 Mar 2024 23:37:24 +0000 Date: Thu, 21 Mar 2024 07:37:12 +0800 From: kernel test robot To: Oscar Salvador , Andrew Morton Cc: 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: <202403210718.9IiE8NIU-lkp@intel.com> References: <20240319183212.17156-2-osalvador@suse.de> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240319183212.17156-2-osalvador@suse.de> 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-randconfig-r081-20240320 (https://download.01.org/0day-ci/archive/20240321/202403210718.9IiE8NIU-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240321/202403210718.9IiE8NIU-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/202403210718.9IiE8NIU-lkp@intel.com/ All warnings (new ones prefixed by >>): mm/page_owner.c: In function 'dec_stack_record_count': >> mm/page_owner.c:213:3: warning: ignoring return value of 'refcount_sub_and_test', declared with attribute warn_unused_result [-Wunused-result] 213 | refcount_sub_and_test(nr_base_pages, &stack_record->count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/refcount_sub_and_test +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