[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 2/5] xen/livepatch: search for symbols in all loaded payloads
On Thu, Nov 30, 2023 at 2:30 PM Roger Pau Monne <roger.pau@xxxxxxxxxx> wrote: > > When checking if an address belongs to a patch, or when resolving a symbol, > take into account all loaded livepatch payloads, even if not applied. > > This is required in order for the pre-apply and post-revert hooks to work > properly, or else Xen won't detect the intruction pointer belonging to those > hooks as being part of the currently active text. > > Move the RCU handling to be used for payload_list instead of applied_list, as > now the calls from trap code will iterate over the payload_list. > > Fixes: 8313c864fa95 ('livepatch: Implement pre-|post- apply|revert hooks') > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Reviewed-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |