mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
[S390] ap bus poll thread priority.
The ap bus is supposed to have a low priority. We must use 19 instead of -20, which is just the opposite. Signed-off-by: Christian Borntraeger <cborntra@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
49f19ce401
commit
d83682b397
@ -1062,7 +1062,7 @@ static int ap_poll_thread(void *data)
|
|||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
int requests;
|
int requests;
|
||||||
|
|
||||||
set_user_nice(current, -20);
|
set_user_nice(current, 19);
|
||||||
while (1) {
|
while (1) {
|
||||||
if (need_resched()) {
|
if (need_resched()) {
|
||||||
schedule();
|
schedule();
|
||||||
|
Loading…
Reference in New Issue
Block a user