Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3634932rwb; Mon, 5 Sep 2022 15:51:03 -0700 (PDT) X-Google-Smtp-Source: AA6agR4cPTi5eKQv4ZcsnhYDPw+ZEe56+dC54c3dxYUWadA7D3PrGUPZEJAdmyZiPub0fjPeGFJB X-Received: by 2002:a05:6402:40b:b0:44e:6c5c:441b with SMTP id q11-20020a056402040b00b0044e6c5c441bmr7259403edv.223.1662418263293; Mon, 05 Sep 2022 15:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662418263; cv=none; d=google.com; s=arc-20160816; b=M+sXv/4fOgmVIYt6SQiUi5tv2eXyvLHK5pOoPlXji0smpoRSmBG4a/2lnFtTWi2Jgs Xxiv3eHKytmJd+0P+v2KfWqNDqnNxoYiQ+SIn6nMriK35Qly2oTKfD42wATWh83t/o+R yZ5a3wwfbskH/qQJcnWaSbshzUPP2wPGP7JL1vnmquuLVIrOmHhq7yitIMV8ycuYkXhR Up5oBOpjwENCcTvA67u+a9kqLxgcAU03W3YgAZ7kJp0YkhcDypolYwMQNAYMI24F55cs F/h+S0lIGt1P/Y/EUtdZmHM/wnwro0df//dYZRLO3mEB+hSzGp7LAzUONBIrjd7HOwK6 TA8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fSOX5kgTZT2J2q2qtAOxFJBHXGtNff29R0AZkkSYN5M=; b=IEuUr5Br2IiaQtsOyipG9QwfVBXnYMnYXJMBaWD/+MTb1fWAi7EMQokUpEVpukSxx4 j+Kyy1EulXO5qEdON+8yGrRCYQ8yp7iTdEvLRqmnncy4YyGVUPekjoIVU8XazuDcmLns sHr6VVG3ksYY/pif5HBLrmObw3IfSxsGHKGtB9Yy6eRpgZau3aNoOOF+ovbMwavEJ/WE uDPJkJ92r80l+SC6/OuM/ut0zK/KToneBbi5opqFg2Deh/rDDIQXaJrjxGVYnOU1S1gu 5teAbN/y912KkBq/sGMIRA8enkXIKVNtMRPqeJpcT3jNxnTiKJl3ukN24idyRJOWNGsp eSHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=V2TOVQ6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr28-20020a1709073f9c00b00730c1868d6bsi619156ejc.90.2022.09.05.15.50.38; Mon, 05 Sep 2022 15:51:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=V2TOVQ6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229577AbiIEWVE (ORCPT + 99 others); Mon, 5 Sep 2022 18:21:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231377AbiIEWVB (ORCPT ); Mon, 5 Sep 2022 18:21:01 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 267266715F for ; Mon, 5 Sep 2022 15:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662416460; x=1693952460; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0KJ1X0d+ghH08Og6OhWwp+HwtemNrkvvpJiE5KXax78=; b=V2TOVQ6aL7Kz8iE48VVbEoNb9A2hWzjcTp+06YQ4DuHh0QaOmn+gBL8c kH3UObOelNdxMETTx2+mucLJngkJaCrCmEH2chPCUUPyQx1Zp4F6Q2k/c K3vJoScXPRqOrL51s+/8FGz0MErq9v7k6K2YMvsrYCzVDhMFvHzDwiOmq 0RQm82LbmwuFFv4EFPS0+IO0I1Rs4jkx6JmduyBCRCi0ARlRk0MKuqAN6 /yt8epjrUN78X6VkrqdWM8c+Wk85AJmROHDG/tiVc+k/liUBEKImEz186 FJx4+PYoKWBgIlchRP0leJ28kVxM6P/rROhNa2BSubNShqghTt0SSHgse g==; X-IronPort-AV: E=McAfee;i="6500,9779,10461"; a="279471807" X-IronPort-AV: E=Sophos;i="5.93,292,1654585200"; d="scan'208";a="279471807" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2022 15:20:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,292,1654585200"; d="scan'208";a="591039129" Received: from lkp-server02.sh.intel.com (HELO 95dfd251caa2) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 05 Sep 2022 15:20:56 -0700 Received: from kbuild by 95dfd251caa2 with local (Exim 4.96) (envelope-from ) id 1oVKSe-0004Zx-0Q; Mon, 05 Sep 2022 22:20:56 +0000 Date: Tue, 6 Sep 2022 06:20:38 +0800 From: kernel test robot To: Oscar Salvador , Andrew Morton Cc: kbuild-all@lists.01.org, Linux Memory Management List , linux-kernel@vger.kernel.org, Michal Hocko , Vlastimil Babka , Eric Dumazet , Waiman Long , Suren Baghdasaryan , Marco Elver , Andrey Konovalov , Alexander Potapenko , Oscar Salvador Subject: Re: [PATCH v2 2/3] mm, page_owner: Add page_owner_stacks file to print out only stacks and their counter Message-ID: <202209060655.H9CK1KgC-lkp@intel.com> References: <20220905031012.4450-3-osalvador@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220905031012.4450-3-osalvador@suse.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Oscar, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v6.0-rc4] [cannot apply to akpm-mm/mm-everything next-20220901] [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/page_owner-print-stacks-and-their-counter/20220905-111139 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 7e18e42e4b280c85b76967a9106a13ca61c16179 config: microblaze-randconfig-m041-20220905 (https://download.01.org/0day-ci/archive/20220906/202209060655.H9CK1KgC-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 12.1.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot smatch warnings: lib/stackdepot.c:586 stack_depot_print_stacks_threshold() warn: unsigned 'stack->size' is never less than zero. vim +586 lib/stackdepot.c 568 569 int stack_depot_print_stacks_threshold(char *buf, size_t size, loff_t *pos) 570 { 571 int i = *pos, ret = 0; 572 struct stack_record **stacks, *stack; 573 static struct stack_record *last = NULL; 574 unsigned long stack_table_entries = stack_hash_mask + 1; 575 576 /* Continue from the last stack if we have one */ 577 if (last) { 578 stack = last->next; 579 } else { 580 new_table: 581 stacks = &stack_table[i]; 582 stack = (struct stack_record *)stacks; 583 } 584 585 for (; stack; stack = stack->next) { > 586 if (!stack->size || stack->size < 0 || -- 0-DAY CI Kernel Test Service https://01.org/lkp