Replace various -20/+19 hardcoded nice values with MIN_NICE/MAX_NICE.
Showing the changes to kernel/workqueue.c (1 of 18 files). Show all
Unified · Split
| @@ -100,10 +100,10 @@ enum { · 99 unmodified lines | |||
| 100 | 100 | ||
| 101 | /* | 101 | /* |
| 102 | * Rescue workers are used only on emergencies and shared by | 102 | * Rescue workers are used only on emergencies and shared by |
| 103 | * all cpus. Give -20. | 103 | * all cpus. Give MIN_NICE. |
| 104 | */ | 104 | */ |
| 105 | RESCUER_NICE_LEVEL = -20, | 105 | RESCUER_NICE_LEVEL = MIN_NICE, |
| 106 | HIGHPRI_NICE_LEVEL = -20, | 106 | HIGHPRI_NICE_LEVEL = MIN_NICE, |
| 107 | 107 | ||
| 108 | WQ_NAME_LEN = 24, | 108 | WQ_NAME_LEN = 24, |
| 109 | }; | 109 | }; |