Merge "sched/tune: remove duplicate allow_attach in schedtune_cgrp_subsys"
This commit is contained in:
commit
6af6366bf2
1 changed files with 0 additions and 7 deletions
|
@ -517,12 +517,6 @@ void schedtune_enqueue_task(struct task_struct *p, int cpu)
|
|||
raw_spin_unlock_irqrestore(&bg->lock, irq_flags);
|
||||
}
|
||||
|
||||
int schedtune_allow_attach(struct cgroup_taskset *tset)
|
||||
{
|
||||
/* We always allows tasks to be moved between existing CGroups */
|
||||
return 0;
|
||||
}
|
||||
|
||||
int schedtune_can_attach(struct cgroup_taskset *tset)
|
||||
{
|
||||
struct task_struct *task;
|
||||
|
@ -898,7 +892,6 @@ schedtune_css_free(struct cgroup_subsys_state *css)
|
|||
struct cgroup_subsys schedtune_cgrp_subsys = {
|
||||
.css_alloc = schedtune_css_alloc,
|
||||
.css_free = schedtune_css_free,
|
||||
.allow_attach = schedtune_allow_attach,
|
||||
.can_attach = schedtune_can_attach,
|
||||
.cancel_attach = schedtune_cancel_attach,
|
||||
.legacy_cftypes = files,
|
||||
|
|
Loading…
Add table
Reference in a new issue