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

Reply via email to