Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1574866

Re: [PATCH 58/89] sched/headers: Move the 'root_task_group' declaration to <linux/sched/autogroup.h>

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 58/89] sched/headers: Move the 'root_task_group' declaration to <linux/sched/autogroup.h>
Date 2017-02-06 16:00 +0100
Message-ID <t7SVP-6g8-7@gated-at.bofh.it> (permalink)
References <t7RGp-5x6-3@gated-at.bofh.it> <t7RQ8-5AW-71@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Feb 06, 2017 at 02:29:01PM +0100, Ingo Molnar wrote:
> diff --git a/include/linux/sched/autogroup.h b/include/linux/sched/autogroup.h
> index c0810fe196f4..55cd496df884 100644
> --- a/include/linux/sched/autogroup.h
> +++ b/include/linux/sched/autogroup.h

> @@ -23,4 +24,8 @@ static inline void sched_autogroup_exit(struct signal_struct *sig) { }
>  static inline void sched_autogroup_exit_task(struct task_struct *p) { }
>  #endif
>  
> +#ifdef CONFIG_CGROUP_SCHED
> +extern struct task_group root_task_group;
> +#endif /* CONFIG_CGROUP_SCHED */
> +
>  #endif /* _LINUX_SCHED_AUTOGROUP_H */

That's a bit weird. It has nothing to do with autogroup.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 58/89] sched/headers: Move the 'root_task_group' declaration to <linux/sched/autogroup.h> Ingo Molnar <mingo@kernel.org> - 2017-02-06 14:50 +0100
  Re: [PATCH 58/89] sched/headers: Move the 'root_task_group'  declaration to <linux/sched/autogroup.h> Peter Zijlstra <peterz@infradead.org> - 2017-02-06 16:00 +0100

csiph-web