Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
50df5d6a
Commit
50df5d6a
authored
Mar 14, 2008
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sched: remove sysctl_sched_batch_wakeup_granularity
it's unused. Signed-off-by:
Ingo Molnar
<
mingo@elte.hu
>
parent
02e2b83b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
24 deletions
+0
-24
include/linux/sched.h
include/linux/sched.h
+0
-1
kernel/sched.c
kernel/sched.c
+0
-1
kernel/sched_debug.c
kernel/sched_debug.c
+0
-1
kernel/sched_fair.c
kernel/sched_fair.c
+0
-10
kernel/sysctl.c
kernel/sysctl.c
+0
-11
No files found.
include/linux/sched.h
View file @
50df5d6a
...
@@ -1551,7 +1551,6 @@ static inline void wake_up_idle_cpu(int cpu) { }
...
@@ -1551,7 +1551,6 @@ static inline void wake_up_idle_cpu(int cpu) { }
extern
unsigned
int
sysctl_sched_latency
;
extern
unsigned
int
sysctl_sched_latency
;
extern
unsigned
int
sysctl_sched_min_granularity
;
extern
unsigned
int
sysctl_sched_min_granularity
;
extern
unsigned
int
sysctl_sched_wakeup_granularity
;
extern
unsigned
int
sysctl_sched_wakeup_granularity
;
extern
unsigned
int
sysctl_sched_batch_wakeup_granularity
;
extern
unsigned
int
sysctl_sched_child_runs_first
;
extern
unsigned
int
sysctl_sched_child_runs_first
;
extern
unsigned
int
sysctl_sched_features
;
extern
unsigned
int
sysctl_sched_features
;
extern
unsigned
int
sysctl_sched_migration_cost
;
extern
unsigned
int
sysctl_sched_migration_cost
;
...
...
kernel/sched.c
View file @
50df5d6a
...
@@ -5396,7 +5396,6 @@ static inline void sched_init_granularity(void)
...
@@ -5396,7 +5396,6 @@ static inline void sched_init_granularity(void)
sysctl_sched_latency
=
limit
;
sysctl_sched_latency
=
limit
;
sysctl_sched_wakeup_granularity
*=
factor
;
sysctl_sched_wakeup_granularity
*=
factor
;
sysctl_sched_batch_wakeup_granularity
*=
factor
;
}
}
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
...
...
kernel/sched_debug.c
View file @
50df5d6a
...
@@ -214,7 +214,6 @@ static int sched_debug_show(struct seq_file *m, void *v)
...
@@ -214,7 +214,6 @@ static int sched_debug_show(struct seq_file *m, void *v)
PN
(
sysctl_sched_latency
);
PN
(
sysctl_sched_latency
);
PN
(
sysctl_sched_min_granularity
);
PN
(
sysctl_sched_min_granularity
);
PN
(
sysctl_sched_wakeup_granularity
);
PN
(
sysctl_sched_wakeup_granularity
);
PN
(
sysctl_sched_batch_wakeup_granularity
);
PN
(
sysctl_sched_child_runs_first
);
PN
(
sysctl_sched_child_runs_first
);
P
(
sysctl_sched_features
);
P
(
sysctl_sched_features
);
#undef PN
#undef PN
...
...
kernel/sched_fair.c
View file @
50df5d6a
...
@@ -61,16 +61,6 @@ const_debug unsigned int sysctl_sched_child_runs_first = 1;
...
@@ -61,16 +61,6 @@ const_debug unsigned int sysctl_sched_child_runs_first = 1;
*/
*/
unsigned
int
__read_mostly
sysctl_sched_compat_yield
;
unsigned
int
__read_mostly
sysctl_sched_compat_yield
;
/*
* SCHED_BATCH wake-up granularity.
* (default: 10 msec * (1 + ilog(ncpus)), units: nanoseconds)
*
* This option delays the preemption effects of decoupled workloads
* and reduces their over-scheduling. Synchronous workloads will still
* have immediate wakeup/sleep latencies.
*/
unsigned
int
sysctl_sched_batch_wakeup_granularity
=
10000000UL
;
/*
/*
* SCHED_OTHER wake-up granularity.
* SCHED_OTHER wake-up granularity.
* (default: 10 msec * (1 + ilog(ncpus)), units: nanoseconds)
* (default: 10 msec * (1 + ilog(ncpus)), units: nanoseconds)
...
...
kernel/sysctl.c
View file @
50df5d6a
...
@@ -268,17 +268,6 @@ static struct ctl_table kern_table[] = {
...
@@ -268,17 +268,6 @@ static struct ctl_table kern_table[] = {
.
extra1
=
&
min_wakeup_granularity_ns
,
.
extra1
=
&
min_wakeup_granularity_ns
,
.
extra2
=
&
max_wakeup_granularity_ns
,
.
extra2
=
&
max_wakeup_granularity_ns
,
},
},
{
.
ctl_name
=
CTL_UNNUMBERED
,
.
procname
=
"sched_batch_wakeup_granularity_ns"
,
.
data
=
&
sysctl_sched_batch_wakeup_granularity
,
.
maxlen
=
sizeof
(
unsigned
int
),
.
mode
=
0644
,
.
proc_handler
=
&
proc_dointvec_minmax
,
.
strategy
=
&
sysctl_intvec
,
.
extra1
=
&
min_wakeup_granularity_ns
,
.
extra2
=
&
max_wakeup_granularity_ns
,
},
{
{
.
ctl_name
=
CTL_UNNUMBERED
,
.
ctl_name
=
CTL_UNNUMBERED
,
.
procname
=
"sched_child_runs_first"
,
.
procname
=
"sched_child_runs_first"
,
...
...
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