mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
e3215deca4
Use list_for_each_entry_safe() to allow iterating through the list and
deleting the entry in the iteration process. The descriptor is freed via
idxd_desc_complete() and there's a slight chance may cause issue for
the list iterator when the descriptor is reused by another thread
without it being deleted from the list.
Fixes:
|
||
---|---|---|
.. | ||
bus.c | ||
cdev.c | ||
compat.c | ||
debugfs.c | ||
defaults.c | ||
device.c | ||
dma.c | ||
idxd.h | ||
init.c | ||
irq.c | ||
Makefile | ||
perfmon.c | ||
perfmon.h | ||
registers.h | ||
submit.c | ||
sysfs.c |