Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71316
b: refs/heads/master
c: d801649
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Oct 18, 2007
1 parent 1453f10 commit 4606b8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8401f77505d00b779e3d2d74180cb465de1c2e2b
refs/heads/master: d80164916221216dedbd5d0e8423daca9e7682ea
12 changes: 8 additions & 4 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ struct rt_rq {
* acquire operations must be ordered by ascending &runqueue.
*/
struct rq {
spinlock_t lock; /* runqueue lock */
/* runqueue lock: */
spinlock_t lock;

/*
* nr_running and cpu_load should be in the same cacheline because
Expand All @@ -279,13 +280,15 @@ struct rq {
#ifdef CONFIG_NO_HZ
unsigned char in_nohz_recently;
#endif
struct load_weight load; /* capture load from *all* tasks on this cpu */
/* capture load from *all* tasks on this cpu: */
struct load_weight load;
unsigned long nr_load_updates;
u64 nr_switches;

struct cfs_rq cfs;
#ifdef CONFIG_FAIR_GROUP_SCHED
struct list_head leaf_cfs_rq_list; /* list of leaf cfs_rq on this cpu */
/* list of leaf cfs_rq on this cpu: */
struct list_head leaf_cfs_rq_list;
#endif
struct rt_rq rt;

Expand Down Expand Up @@ -317,7 +320,8 @@ struct rq {
/* For active balancing */
int active_balance;
int push_cpu;
int cpu; /* cpu of this runqueue */
/* cpu of this runqueue: */
int cpu;

struct task_struct *migration_thread;
struct list_head migration_queue;
Expand Down

0 comments on commit 4606b8c

Please sign in to comment.