summaryrefslogtreecommitdiff
path: root/arch/um/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2020-12-02 12:59:56 +0100
committerRichard Weinberger <richard@nod.at>2020-12-13 22:22:33 +0100
commit3032b94587c78c52173a9b8488d15528481ffcdb (patch)
tree922c70111b855b6009c0464becc1bdf361467e7d /arch/um/include
parent2fccfcc0c742625c01e6a3913f4fc2d330541fbb (diff)
um: Simplify IRQ handling code
Reduce dynamic allocations (and thereby cache misses) by simply embedding the registration data for IRQs in the irq_entry, we never supported these being really dynamic anyway as only one was ever allowed ("Trying to reregister ..."). Lockless behaviour is preserved by removing the FD from the poll set appropriately, but we use reg->events to indicate whether or not this entry is used, rather than dynamically allocating them. Also port the list of IRQ entries to list_head instead of the current open-coded singly-linked list implementation, just for sanity. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include')
0 files changed, 0 insertions, 0 deletions