Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 30794
b: refs/heads/master
c: 2dd73a4
h: refs/heads/master
v: v3
  • Loading branch information
Peter Williams authored and Linus Torvalds committed Jun 28, 2006
1 parent 4a1ed87 commit 538df47
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 68 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: efc30814a88bdbe2bfe4ac94de2eb089ad80bee3
refs/heads/master: 2dd73a4f09beacadde827a032cf15fd8b1fa3d48
8 changes: 6 additions & 2 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ extern unsigned long nr_running(void);
extern unsigned long nr_uninterruptible(void);
extern unsigned long nr_active(void);
extern unsigned long nr_iowait(void);
extern unsigned long weighted_cpuload(const int cpu);


/*
Expand Down Expand Up @@ -558,9 +559,9 @@ enum idle_type
/*
* sched-domains (multiprocessor balancing) declarations:
*/
#ifdef CONFIG_SMP
#define SCHED_LOAD_SCALE 128UL /* increase resolution of load */

#ifdef CONFIG_SMP
#define SD_LOAD_BALANCE 1 /* Do load balancing on this domain. */
#define SD_BALANCE_NEWIDLE 2 /* Balance when about to become idle */
#define SD_BALANCE_EXEC 4 /* Balance on exec */
Expand Down Expand Up @@ -713,9 +714,12 @@ struct task_struct {

int lock_depth; /* BKL lock depth */

#if defined(CONFIG_SMP) && defined(__ARCH_WANT_UNLOCKED_CTXSW)
#ifdef CONFIG_SMP
#ifdef __ARCH_WANT_UNLOCKED_CTXSW
int oncpu;
#endif
#endif
int load_weight; /* for niceness load balancing purposes */
int prio, static_prio;
struct list_head run_list;
prio_array_t *array;
Expand Down
Loading

0 comments on commit 538df47

Please sign in to comment.