Skip to content

Commit

Permalink
[S390] ap bus poll thread priority.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christian Borntraeger authored and Martin Schwidefsky committed Oct 6, 2006
1 parent 49f19ce commit d83682b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/crypto/ap_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ static int ap_poll_thread(void *data)
unsigned long flags;
int requests;

set_user_nice(current, -20);
set_user_nice(current, 19);
while (1) {
if (need_resched()) {
schedule();
Expand Down

0 comments on commit d83682b

Please sign in to comment.