mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
Kernel: Evaluate block conditions only once on new mouse packets
Since we're in an IRQ each of these evaluate_block_conditions() calls enqueues a new deferred call, so to save on some space in the deferred call queue let's just do it once.
This commit is contained in:
parent
e384f62ee2
commit
c620f18d8c
1 changed files with 1 additions and 1 deletions
|
@ -49,8 +49,8 @@ void VMWareMouseDevice::irq_handle_byte_read(u8)
|
|||
SpinlockLocker lock(m_queue_lock);
|
||||
m_queue.enqueue(mouse_packet);
|
||||
}
|
||||
evaluate_block_conditions();
|
||||
}
|
||||
evaluate_block_conditions();
|
||||
}
|
||||
|
||||
VMWareMouseDevice::VMWareMouseDevice(const I8042Controller& ps2_controller)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue