mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Chanho Min <chanho.min@lge.com>
Cc: kbuild-all@01.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Pavel Machek <pavel@ucw.cz>, Len Brown <len.brown@intel.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	Christian Brauner <christian@brauner.io>,
	Oleg Nesterov <oleg@redhat.com>,
	Anna-Maria Gleixner <anna-maria@linutronix.de>,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Seungho Park <seungho1.park@lge.com>,
	Chanho Min <chanho.min@lge.com>
Subject: Re: [PATCH] freezer: fix freeze timeout on exec
Date: Sun, 11 Nov 2018 17:51:22 +0800	[thread overview]
Message-ID: <201811111718.mTJCiecP%fengguang.wu@intel.com> (raw)
In-Reply-To: <1541671796-8725-1-git-send-email-chanho.min@lge.com>

[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]

Hi Chanho,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.20-rc1 next-20181109]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Chanho-Min/freezer-fix-freeze-timeout-on-exec/20181111-171200
config: i386-randconfig-x002-201845 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   kernel/signal.c: In function 'zap_other_threads':
>> kernel/signal.c:1283:3: error: implicit declaration of function 'cancel_freezing_thaw_task' [-Werror=implicit-function-declaration]
      cancel_freezing_thaw_task(t);
      ^~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/cancel_freezing_thaw_task +1283 kernel/signal.c

  1260	
  1261	/*
  1262	 * Nuke all other threads in the group.
  1263	 */
  1264	int zap_other_threads(struct task_struct *p)
  1265	{
  1266		struct task_struct *t = p;
  1267		int count = 0;
  1268	
  1269		p->signal->group_stop_count = 0;
  1270	
  1271		while_each_thread(p, t) {
  1272			task_clear_jobctl_pending(t, JOBCTL_PENDING_MASK);
  1273			count++;
  1274	
  1275			/* Don't bother with already dead threads */
  1276			if (t->exit_state)
  1277				continue;
  1278	
  1279			/*
  1280			 * we can check sig->group_exit_task to detect de_thread,
  1281			 * but perhaps it doesn't hurt if the caller is do_group_exit
  1282			 */
> 1283			cancel_freezing_thaw_task(t);
  1284			sigaddset(&t->pending.signal, SIGKILL);
  1285			signal_wake_up(t, 1);
  1286		}
  1287	
  1288		return count;
  1289	}
  1290	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27026 bytes --]

      parent reply	other threads:[~2018-11-11  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-08 10:09 Chanho Min
2018-11-08 10:50 ` Oleg Nesterov
2018-11-09  0:29   ` Chanho Min
2018-11-09  7:50   ` Chanho Min
2018-11-11  9:50 ` kbuild test robot
2018-11-11  9:51 ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201811111718.mTJCiecP%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=anna-maria@linutronix.de \
    --cc=chanho.min@lge.com \
    --cc=christian@brauner.io \
    --cc=ebiederm@xmission.com \
    --cc=kbuild-all@01.org \
    --cc=len.brown@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=pavel@ucw.cz \
    --cc=rjw@rjwysocki.net \
    --cc=seungho1.park@lge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®