Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58267
b: refs/heads/master
c: 9aa7b36
h: refs/heads/master
i:
  58265: 6858d6c
  58263: 84b6a9c
v: v3
  • Loading branch information
Ingo Molnar committed Jul 9, 2007
1 parent 2bf71ed commit 9164261
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 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: 425e0968a25fa3f111f9919964cac079738140b5
refs/heads/master: 9aa7b369819940cb1f3c74ba210516739a32ad95
9 changes: 8 additions & 1 deletion trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,14 @@ enum cpu_idle_type {
/*
* sched-domains (multiprocessor balancing) declarations:
*/
#define SCHED_LOAD_SCALE 128UL /* increase resolution of load */

/*
* Increase resolution of nice-level calculations:
*/
#define SCHED_LOAD_SHIFT 10
#define SCHED_LOAD_SCALE (1L << SCHED_LOAD_SHIFT)

#define SCHED_LOAD_SCALE_FUZZ (SCHED_LOAD_SCALE >> 5)

#ifdef CONFIG_SMP
#define SD_LOAD_BALANCE 1 /* Do load balancing on this domain. */
Expand Down

0 comments on commit 9164261

Please sign in to comment.