XHCI: Increase priorities of the event and finish threads.
The "event" thread is what is woken up after interrupts, and the "finish" thread handles the results of the "event" thread, so prioritize them accordingly. Probably increases responsiveness of USB input and disk devices visibly on heavily loaded systems.
This commit is contained in:
parent
f1e99f1667
commit
4a6a2fbfda
@ -361,12 +361,12 @@ XHCI::XHCI(pci_info *info, Stack *stack)
|
||||
|
||||
// create finisher service thread
|
||||
fFinishThread = spawn_kernel_thread(FinishThread, "xhci finish thread",
|
||||
B_NORMAL_PRIORITY, (void *)this);
|
||||
B_URGENT_PRIORITY, (void *)this);
|
||||
resume_thread(fFinishThread);
|
||||
|
||||
// create finisher service thread
|
||||
fEventThread = spawn_kernel_thread(EventThread, "xhci event thread",
|
||||
B_NORMAL_PRIORITY, (void *)this);
|
||||
B_URGENT_DISPLAY_PRIORITY, (void *)this);
|
||||
resume_thread(fEventThread);
|
||||
|
||||
// Find the right interrupt vector, using MSIs if available.
|
||||
|
Loading…
Reference in New Issue
Block a user