From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 E1E364A3E; Wed, 24 Dec 2025 01:30:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766539850; cv=none; b=th0QTIEoML7frp/+RbkN8pqGvCZiXdhetJieDeFWkM+ZFQd8rxBl37Harjh5tytDwWCfUx1bJw2dbGXF3RSfB/NoRrYQJzaOQtKwbpCn/vzT30B35t+FZz+++WF8hZtwV70S8emJgNVp6cMJin6h/aGHIuLl6SQ70d+WMWfIhnk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766539850; c=relaxed/simple; bh=skQ0+qYPReTeRZw8sTAnoA64uJ/Hd430GeZTZzoUiQo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m2nXP5s7fY22h00L+SKH7xGYXA8ElQuZLAIyjhPLY+p+7iqeOjn5Iaj2rsOvxmrkDrNuhzfauNXAp765OKxvK6CckOhc7RlXVeq23bQA09Kl3amFlciirmPM6b5RjFaG6DBYRs+HRdVg0pPBt01Ek0QsWtL7govGYJKEMO/xeeM= 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=V8q46HOJ; arc=none smtp.client-ip=192.198.163.12 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="V8q46HOJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1766539849; x=1798075849; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=skQ0+qYPReTeRZw8sTAnoA64uJ/Hd430GeZTZzoUiQo=; b=V8q46HOJaPln7pE6SssozIdyPtqfKJCpng3vUZc3dRB6c0sipIlIgtCK tR71OwMTedfGZli3wd2a2G9ghLjietKmvAazS//tNRpIE+8V4N2PizTLc ET5KwWJeVg8QDnyq7z9Boh6BRS5cu0CM0sInZhHUvEOxtvpfrWnHY/ImY C4afwdceOx3ocCE9tQ8gnwzdtpzA5+z4uiz1ECr/pyfvSM6Tekh2aXgN3 K4hvzqnlg+rxkJBv4n+xorfhvZXXxFaoaUpOa7oI9fRQJmXXvoytxos9C 03bVcBmpT3p0hHT3EUnQQHQkViR044mvWOLSp2pIQZ+ogzJmP5FCPzDXc Q==; X-CSE-ConnectionGUID: WEgVR/VqQkuEZ4fQ9vow2Q== X-CSE-MsgGUID: Jhm883P7SkuANRxzA99asQ== X-IronPort-AV: E=McAfee;i="6800,10657,11651"; a="72247634" X-IronPort-AV: E=Sophos;i="6.21,172,1763452800"; d="scan'208";a="72247634" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Dec 2025 17:30:48 -0800 X-CSE-ConnectionGUID: NnaiU3w5QnKuhy0O5c3kqA== X-CSE-MsgGUID: kbQ72kWGT/2vLf41xHnebg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,172,1763452800"; d="scan'208";a="199564218" Received: from igk-lkp-server01.igk.intel.com (HELO 8a0c053bdd2a) ([10.211.93.152]) by fmviesa007.fm.intel.com with ESMTP; 23 Dec 2025 17:30:46 -0800 Received: from kbuild by 8a0c053bdd2a with local (Exim 4.98.2) (envelope-from ) id 1vYDi8-0000000063I-0KWN; Wed, 24 Dec 2025 01:30:44 +0000 Date: Wed, 24 Dec 2025 02:30:36 +0100 From: kernel test robot To: Pavel Tikhomirov , Tejun Heo Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Johannes Weiner , Michal =?iso-8859-1?Q?Koutn=FD?= , cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Tikhomirov Subject: Re: [PATCH 2/2] cgroup-v2/freezer: Print information about unfreezable process Message-ID: <202512240240.TCvafX5S-lkp@intel.com> References: <20251223102124.738818-4-ptikhomirov@virtuozzo.com> Precedence: bulk X-Mailing-List: cgroups@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251223102124.738818-4-ptikhomirov@virtuozzo.com> Hi Pavel, kernel test robot noticed the following build errors: [auto build test ERROR on tj-cgroup/for-next] [also build test ERROR on linus/master v6.19-rc2 next-20251219] [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/Pavel-Tikhomirov/cgroup-v2-freezer-allow-freezing-with-kthreads/20251223-182826 base: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-next patch link: https://lore.kernel.org/r/20251223102124.738818-4-ptikhomirov%40virtuozzo.com patch subject: [PATCH 2/2] cgroup-v2/freezer: Print information about unfreezable process config: x86_64-kexec (https://download.01.org/0day-ci/archive/20251224/202512240240.TCvafX5S-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251224/202512240240.TCvafX5S-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/202512240240.TCvafX5S-lkp@intel.com/ All errors (new ones prefixed by >>): >> kernel/cgroup/freezer.c:374:7: error: call to undeclared function 'try_get_task_stack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | if (!try_get_task_stack(task)) | ^ kernel/cgroup/freezer.c:374:7: note: did you mean 'tryget_task_struct'? include/linux/sched/task.h:120:35: note: 'tryget_task_struct' declared here 120 | static inline struct task_struct *tryget_task_struct(struct task_struct *t) | ^ >> kernel/cgroup/freezer.c:377:2: error: call to undeclared function 'put_task_stack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | put_task_stack(task); | ^ kernel/cgroup/freezer.c:377:2: note: did you mean 'put_task_struct'? include/linux/sched/task.h:128:20: note: 'put_task_struct' declared here 128 | static inline void put_task_struct(struct task_struct *t) | ^ 2 errors generated. vim +/try_get_task_stack +374 kernel/cgroup/freezer.c 357 358 static void warn_freeze_timeout_task(struct cgroup *cgrp, int timeout, 359 struct task_struct *task) 360 { 361 char *buf __free(kfree) = NULL; 362 pid_t tgid; 363 364 buf = kmalloc(PATH_MAX, GFP_KERNEL); 365 if (!buf) 366 return; 367 368 if (cgroup_path(cgrp, buf, PATH_MAX) < 0) 369 return; 370 371 tgid = task_pid_nr_ns(task, &init_pid_ns); 372 pr_warn("Freeze of %s took %ld sec, due to unfreezable process %d:%s.\n", 373 buf, timeout / USEC_PER_SEC, tgid, task->comm); > 374 if (!try_get_task_stack(task)) 375 return; 376 show_stack(task, NULL, KERN_WARNING); > 377 put_task_stack(task); 378 } 379 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki