@@ -251,25 +251,20 @@ set_table_entry(struct ctl_table *entry,
251
251
static struct ctl_table *
252
252
sd_alloc_ctl_domain_table (struct sched_domain * sd )
253
253
{
254
- struct ctl_table * table = sd_alloc_ctl_entry (14 );
254
+ struct ctl_table * table = sd_alloc_ctl_entry (9 );
255
255
256
256
if (table == NULL )
257
257
return NULL ;
258
258
259
- set_table_entry (& table [0 ], "min_interval" , & sd -> min_interval , sizeof (long ), 0644 , proc_doulongvec_minmax );
260
- set_table_entry (& table [1 ], "max_interval" , & sd -> max_interval , sizeof (long ), 0644 , proc_doulongvec_minmax );
261
- set_table_entry (& table [2 ], "busy_idx" , & sd -> busy_idx , sizeof (int ), 0644 , proc_dointvec_minmax );
262
- set_table_entry (& table [3 ], "idle_idx" , & sd -> idle_idx , sizeof (int ), 0644 , proc_dointvec_minmax );
263
- set_table_entry (& table [4 ], "newidle_idx" , & sd -> newidle_idx , sizeof (int ), 0644 , proc_dointvec_minmax );
264
- set_table_entry (& table [5 ], "wake_idx" , & sd -> wake_idx , sizeof (int ), 0644 , proc_dointvec_minmax );
265
- set_table_entry (& table [6 ], "forkexec_idx" , & sd -> forkexec_idx , sizeof (int ), 0644 , proc_dointvec_minmax );
266
- set_table_entry (& table [7 ], "busy_factor" , & sd -> busy_factor , sizeof (int ), 0644 , proc_dointvec_minmax );
267
- set_table_entry (& table [8 ], "imbalance_pct" , & sd -> imbalance_pct , sizeof (int ), 0644 , proc_dointvec_minmax );
268
- set_table_entry (& table [9 ], "cache_nice_tries" , & sd -> cache_nice_tries , sizeof (int ), 0644 , proc_dointvec_minmax );
269
- set_table_entry (& table [10 ], "flags" , & sd -> flags , sizeof (int ), 0644 , proc_dointvec_minmax );
270
- set_table_entry (& table [11 ], "max_newidle_lb_cost" , & sd -> max_newidle_lb_cost , sizeof (long ), 0644 , proc_doulongvec_minmax );
271
- set_table_entry (& table [12 ], "name" , sd -> name , CORENAME_MAX_SIZE , 0444 , proc_dostring );
272
- /* &table[13] is terminator */
259
+ set_table_entry (& table [0 ], "min_interval" , & sd -> min_interval , sizeof (long ), 0644 , proc_doulongvec_minmax );
260
+ set_table_entry (& table [1 ], "max_interval" , & sd -> max_interval , sizeof (long ), 0644 , proc_doulongvec_minmax );
261
+ set_table_entry (& table [2 ], "busy_factor" , & sd -> busy_factor , sizeof (int ), 0644 , proc_dointvec_minmax );
262
+ set_table_entry (& table [3 ], "imbalance_pct" , & sd -> imbalance_pct , sizeof (int ), 0644 , proc_dointvec_minmax );
263
+ set_table_entry (& table [4 ], "cache_nice_tries" , & sd -> cache_nice_tries , sizeof (int ), 0644 , proc_dointvec_minmax );
264
+ set_table_entry (& table [5 ], "flags" , & sd -> flags , sizeof (int ), 0644 , proc_dointvec_minmax );
265
+ set_table_entry (& table [6 ], "max_newidle_lb_cost" , & sd -> max_newidle_lb_cost , sizeof (long ), 0644 , proc_doulongvec_minmax );
266
+ set_table_entry (& table [7 ], "name" , sd -> name , CORENAME_MAX_SIZE , 0444 , proc_dostring );
267
+ /* &table[8] is terminator */
273
268
274
269
return table ;
275
270
}
0 commit comments