mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: kbuild test robot <lkp@intel.com>
Cc: Jan Kara <jack@suse.cz>,
	kbuild-all@01.org, axboe@kernel.dk,
	Jeff Moyer <jmoyer@redhat.com>,
	LKML <linux-kernel@vger.kernel.org>, Tejun Heo <tj@kernel.org>,
	Jan Kara <jack@suse.com>
Subject: Re: [PATCH 4/4] cfq-iosched: Allow parent cgroup to preempt its child
Date: Thu, 26 Nov 2015 14:22:40 +0100	[thread overview]
Message-ID: <20151126132240.GC9919@quack.suse.cz> (raw)
In-Reply-To: <201511260459.yzWTWt80%fengguang.wu@intel.com>

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

On Thu 26-11-15 04:24:23, kbuild test robot wrote:
> Hi Jan,
> 
> [auto build test ERROR on block/for-next]
> [also build test ERROR on v4.4-rc2 next-20151124]
> 
> url:    https://github.com/0day-ci/linux/commits/Jan-Kara/SYNC_NOIDLE-preemption-for-ancestor-cgroups/20151125-222645
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
> config: i386-allmodconfig (attached as .config)
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
> >> ERROR: "cgroup_is_descendant" undefined!

Ah, I didn't notice the function is not exported. Attached patch fixes the
build.

								Honza
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR

[-- Attachment #2: 0001-cgroup-Export-cgroup_is_descendant.patch --]
[-- Type: text/x-patch, Size: 760 bytes --]

>From 9a489728dbae48311e2ee0fff3c1793dd1e97392 Mon Sep 17 00:00:00 2001
From: Jan Kara <jack@suse.cz>
Date: Thu, 26 Nov 2015 13:29:21 +0100
Subject: [PATCH] cgroup: Export cgroup_is_descendant()

CFQ IO scheduler will use cgroup_is_descendant() to decide whether one
queue can preempt another once.

Signed-off-by: Jan Kara <jack@suse.cz>
---
 kernel/cgroup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index f1603c153890..6b61f847b040 100644
--- a/kernel/cgroup.c
+++ b/kernel/cgroup.c
@@ -477,6 +477,7 @@ bool cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor)
 	}
 	return false;
 }
+EXPORT_SYMBOL_GPL(cgroup_is_descendant);
 
 static int notify_on_release(const struct cgroup *cgrp)
 {
-- 
2.1.4


      reply	other threads:[~2015-11-26 13:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-25 14:22 [PATCH 0/4] SYNC_NOIDLE preemption for ancestor cgroups Jan Kara
2015-11-25 14:22 ` [PATCH 1/4] cfq-iosched: Don't group_idle if cfqq has big thinktime Jan Kara
2015-11-25 14:22 ` [PATCH 2/4] cfq-iosched: Reorder checks in cfq_should_preempt() Jan Kara
2015-11-25 14:22 ` [PATCH 3/4] cfq-iosched: Allow sync noidle workloads to preempt each other Jan Kara
2015-11-25 14:22 ` [PATCH 4/4] cfq-iosched: Allow parent cgroup to preempt its child Jan Kara
2015-11-25 20:24   ` kbuild test robot
2015-11-26 13:22     ` Jan Kara [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=20151126132240.GC9919@quack.suse.cz \
    --to=jack@suse.cz \
    --cc=axboe@kernel.dk \
    --cc=jack@suse.com \
    --cc=jmoyer@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=tj@kernel.org \
    /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®