diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-20 17:36:56 +0900 |
|---|---|---|
| committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2026-09-20 17:36:56 +0900 |
| commit | a520ce89fcf838acce1c8b2d52f02825d0d37796 (patch) | |
| tree | 38107817eebad4a035ec583dd4e6d35e9384cafe /rust/kernel/alloc | |
| parent | 567a656d929c3d5c07ab70eab4aa62cc76059e6b (diff) | |
firewire: cdev: use mutex for phy receiver list
In the cdev layer, the list of phy packet receivers is currently
protected by a spinlock. This requires GFP_ATOMIC for memory allocation
when enumerating the list in fw_cdev_handle_phy_packet(). However, the
function is guaranteed to be invoked in process context, so GFP_KERNEL
can be used by switching from the spinlock to a mutex.
Link: https://lore.kernel.org/r/20260920083659.191855-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions
