Skip to content

Commit

Permalink
xen/events: modify internal [un]bind interfaces
Browse files Browse the repository at this point in the history
[ Upstream commit 3fcdaf3 ]

Modify the internal bind- and unbind-interfaces to take a struct
irq_info parameter. When allocating a new IRQ pass the pointer from
the allocating function further up.

This will reduce the number of info_for_irq() calls and make the code
more efficient.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Stable-dep-of: fa765c4 ("xen/events: close evtchn after mapping cleanup")
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
jgross1 authored and gregkh committed Mar 1, 2024
1 parent 40f1476 commit 636ac94
Showing 1 changed file with 124 additions and 135 deletions.

0 comments on commit 636ac94

Please sign in to comment.