Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp18529605rwd; Tue, 27 Jun 2023 19:18:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5hWcseTm3A8OcpNcrW1KnMewE4a8pp5H0IKvzSCa5vDIjyb3dzyiBGHTFdUpdOGRUSJ3Bb X-Received: by 2002:a05:6a20:2446:b0:127:159d:182a with SMTP id t6-20020a056a20244600b00127159d182amr7792168pzc.27.1687918688899; Tue, 27 Jun 2023 19:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687918688; cv=none; d=google.com; s=arc-20160816; b=QXx1HF3TWVk1EGFwwXOF0aBrPAx5RdQ75ilT/97X/9r52FnWED/zBI2oeQgNOQZK0H WWvJZphXYChcZIf3Y/5+KH8TFryeOXJrGec4cahhmUq3wh6OZs3Sb/NzXU4x+yF7gj8+ ufPserFAnbCwwXvmeE4J8gSTIWV9woum1eJbhnHxoGEN5CjsrhV87xkKWn8vH2RryBX2 ox6JxqFBZJLId6g4sMEJpEyssFDBDZrdSO8xUbgGNg14NjOOQ4CrfYwIPfnIkfPgjcg9 LuQNsFYrFsSv5sN0tt+1+NN0Fg0hXV6gyY8nX1y+0CumnHMI1zVuSfW5tSc2YYuqhozl F53Q== 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=ZjeeXYdgLRSB9mE8MulMvGY0o3NAEgNgM10kUqfF1A4=; fh=9v4vQNo1SLmycKczWaVLN8BmMeDfTsj43WqhFai5huY=; b=mkkMhNserdEBSCefODYWMHb/OemzFsfdVBSo9Bp4+n9q/vOy/Mt6wzgAzZEBBt4qPs 8/+zYm3QTMdAjVSoOihr8BfnSpIDFmw4umJtoVXQGV2xmbWBQdum1EMgIO8Y8I1w4RDH eo4Z9SQTOuvs3Qoz+nXsmNxa09gW7j1ICuo3XKnyF1z53bHAmu0weIFkFeV44eKY8XPA a1vdtZN2C/Gr/ovXVzDsvNO+GdM5yWDLfF31l/NVdKBGC5bxbDQ0a4RTsftxOEkCmGg8 vVdRHo9EmjF1HrMbj3YHgj8Q2SmBw2nUg2HAdczhc4hPTS9OJ+c7cp6dDm8w3HOxnFor Bp3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=A27rpiNK; 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 a3-20020a170902b58300b001ae0691dff4si7500783pls.630.2023.06.27.19.17.56; Tue, 27 Jun 2023 19:18:08 -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=A27rpiNK; 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 S229718AbjF1CAj (ORCPT + 99 others); Tue, 27 Jun 2023 22:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbjF1CAh (ORCPT ); Tue, 27 Jun 2023 22:00:37 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1B0DDA for ; Tue, 27 Jun 2023 19:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1687917635; x=1719453635; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=eAtorlL9hKbOWTYbIFentcep4Cr94YB9cjfXVwCiIj8=; b=A27rpiNKQHI0dWG+EWcrOxlkJmCTBIgdjg1p8PhMrtnaYBW2ShYtS83G frbT5/1Nx9H0lIMkQDEWE+MN+HUzawYmR+y/uEBmnA4S8XbDz+UwMBtF1 mCiXZ3xRrqVsZEfZp0aDivU3LuWqtosxZpYC5J5kmmttWa+EIpdewxi3t pOkAcOCck194sKbLhDQgJWz1pp30TG50tg0eESmyAU/5q8BSUI05OCGzh HKZ+jvOCtk1oUbSudRL28At0eNqIPSLdxRRptYAIyu5Qh4/Ihi4N5k54P jZavJf/wLtHQOUrsC7XNGWmvGjY8qrZ3KAyQSPjhOONiYhzhrKsbuR/Jo A==; X-IronPort-AV: E=McAfee;i="6600,9927,10754"; a="361768845" X-IronPort-AV: E=Sophos;i="6.01,164,1684825200"; d="scan'208";a="361768845" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2023 19:00:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10754"; a="694106856" X-IronPort-AV: E=Sophos;i="6.01,164,1684825200"; d="scan'208";a="694106856" Received: from lkp-server01.sh.intel.com (HELO 783282924a45) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 27 Jun 2023 19:00:31 -0700 Received: from kbuild by 783282924a45 with local (Exim 4.96) (envelope-from ) id 1qEKTu-000CSr-2O; Wed, 28 Jun 2023 02:00:30 +0000 Date: Wed, 28 Jun 2023 10:00:17 +0800 From: kernel test robot To: David Hildenbrand , linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-mm@kvack.org, virtualization@lists.linux-foundation.org, David Hildenbrand , Andrew Morton , "Michael S. Tsirkin" , John Hubbard , Oscar Salvador , Michal Hocko , Jason Wang , Xuan Zhuo Subject: Re: [PATCH v1 3/5] mm/memory_hotplug: make offline_and_remove_memory() timeout instead of failing on fatal signals Message-ID: <202306280935.dKTWlHFD-lkp@intel.com> References: <20230627112220.229240-4-david@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230627112220.229240-4-david@redhat.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 David, kernel test robot noticed the following build warnings: [auto build test WARNING on 6995e2de6891c724bfeb2db33d7b87775f913ad1] url: https://github.com/intel-lab-lkp/linux/commits/David-Hildenbrand/mm-memory_hotplug-check-for-fatal-signals-only-in-offline_pages/20230627-192444 base: 6995e2de6891c724bfeb2db33d7b87775f913ad1 patch link: https://lore.kernel.org/r/20230627112220.229240-4-david%40redhat.com patch subject: [PATCH v1 3/5] mm/memory_hotplug: make offline_and_remove_memory() timeout instead of failing on fatal signals config: x86_64-randconfig-x006-20230627 (https://download.01.org/0day-ci/archive/20230628/202306280935.dKTWlHFD-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230628/202306280935.dKTWlHFD-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/202306280935.dKTWlHFD-lkp@intel.com/ All warnings (new ones prefixed by >>): >> mm/memory_hotplug.c:163:13: warning: unused variable 'mhp_offlining_timer_active' [-Wunused-variable] static bool mhp_offlining_timer_active; ^ mm/memory_hotplug.c:166:13: warning: unused function 'mhp_offline_timer_fn' [-Wunused-function] static void mhp_offline_timer_fn(struct timer_list *unused) ^ 2 warnings generated. vim +/mhp_offlining_timer_active +163 mm/memory_hotplug.c 154 155 /* 156 * Protected by the device hotplug lock: offline_and_remove_memory() 157 * will activate a timer such that offlining cannot be stuck forever. 158 * 159 * With an active timer, fatal signals will be ignored, because they can be 160 * counter-productive when dying user space triggers device unplug/driver 161 * unloading that ends up offlining+removing device memory. 162 */ > 163 static bool mhp_offlining_timer_active; 164 static atomic_t mhp_offlining_timer_expired; 165 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki