Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a09833f7
Commit
a09833f7
authored
Mar 12, 2020
by
Tejun Heo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-5.6-fixes' into for-5.7
parents
9bd5910d
2e5383d7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
kernel/cgroup/cgroup-v1.c
kernel/cgroup/cgroup-v1.c
+1
-1
kernel/cgroup/cgroup.c
kernel/cgroup/cgroup.c
+3
-3
No files found.
kernel/cgroup/cgroup-v1.c
View file @
a09833f7
...
@@ -783,7 +783,7 @@ void cgroup1_release_agent(struct work_struct *work)
...
@@ -783,7 +783,7 @@ void cgroup1_release_agent(struct work_struct *work)
pathbuf
=
kmalloc
(
PATH_MAX
,
GFP_KERNEL
);
pathbuf
=
kmalloc
(
PATH_MAX
,
GFP_KERNEL
);
agentbuf
=
kstrdup
(
cgrp
->
root
->
release_agent_path
,
GFP_KERNEL
);
agentbuf
=
kstrdup
(
cgrp
->
root
->
release_agent_path
,
GFP_KERNEL
);
if
(
!
pathbuf
||
!
agentbuf
)
if
(
!
pathbuf
||
!
agentbuf
||
!
strlen
(
agentbuf
)
)
goto
out
;
goto
out
;
spin_lock_irq
(
&
css_set_lock
);
spin_lock_irq
(
&
css_set_lock
);
...
...
kernel/cgroup/cgroup.c
View file @
a09833f7
...
@@ -3538,21 +3538,21 @@ static int cpu_stat_show(struct seq_file *seq, void *v)
...
@@ -3538,21 +3538,21 @@ static int cpu_stat_show(struct seq_file *seq, void *v)
static
int
cgroup_io_pressure_show
(
struct
seq_file
*
seq
,
void
*
v
)
static
int
cgroup_io_pressure_show
(
struct
seq_file
*
seq
,
void
*
v
)
{
{
struct
cgroup
*
cgrp
=
seq_css
(
seq
)
->
cgroup
;
struct
cgroup
*
cgrp
=
seq_css
(
seq
)
->
cgroup
;
struct
psi_group
*
psi
=
cgroup_i
d
(
cgrp
)
==
1
?
&
psi_system
:
&
cgrp
->
psi
;
struct
psi_group
*
psi
=
cgroup_i
no
(
cgrp
)
==
1
?
&
psi_system
:
&
cgrp
->
psi
;
return
psi_show
(
seq
,
psi
,
PSI_IO
);
return
psi_show
(
seq
,
psi
,
PSI_IO
);
}
}
static
int
cgroup_memory_pressure_show
(
struct
seq_file
*
seq
,
void
*
v
)
static
int
cgroup_memory_pressure_show
(
struct
seq_file
*
seq
,
void
*
v
)
{
{
struct
cgroup
*
cgrp
=
seq_css
(
seq
)
->
cgroup
;
struct
cgroup
*
cgrp
=
seq_css
(
seq
)
->
cgroup
;
struct
psi_group
*
psi
=
cgroup_i
d
(
cgrp
)
==
1
?
&
psi_system
:
&
cgrp
->
psi
;
struct
psi_group
*
psi
=
cgroup_i
no
(
cgrp
)
==
1
?
&
psi_system
:
&
cgrp
->
psi
;
return
psi_show
(
seq
,
psi
,
PSI_MEM
);
return
psi_show
(
seq
,
psi
,
PSI_MEM
);
}
}
static
int
cgroup_cpu_pressure_show
(
struct
seq_file
*
seq
,
void
*
v
)
static
int
cgroup_cpu_pressure_show
(
struct
seq_file
*
seq
,
void
*
v
)
{
{
struct
cgroup
*
cgrp
=
seq_css
(
seq
)
->
cgroup
;
struct
cgroup
*
cgrp
=
seq_css
(
seq
)
->
cgroup
;
struct
psi_group
*
psi
=
cgroup_i
d
(
cgrp
)
==
1
?
&
psi_system
:
&
cgrp
->
psi
;
struct
psi_group
*
psi
=
cgroup_i
no
(
cgrp
)
==
1
?
&
psi_system
:
&
cgrp
->
psi
;
return
psi_show
(
seq
,
psi
,
PSI_CPU
);
return
psi_show
(
seq
,
psi
,
PSI_CPU
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment