Re: [PATCH V5 7/7] x86/jump_label: Batch jump label updates
From: Daniel Bristot de Oliveira
Date: Mon Apr 15 2019 - 08:15:19 EST
On 4/15/19 1:54 PM, Peter Zijlstra wrote:
> So how about we do something like:
>
> +static struct bp_patching_desc {
> + int nr_entries;
> + struct text_patch_loc vec[PAGE_SIZE / sizeof(struct text_patch_loc)];
> +} bp_patching;
>
> and call it a day?
Sure!
Actually, I used something like that in my first poc patches (for my own), but I
thought people would complain...
If nobody else complains, I will use it in the next version.
-- Daniel