lkml.org 
[lkml]   [2019]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V5 7/7] x86/jump_label: Batch jump label updates
From
Date
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

\
 
 \ /
  Last update: 2019-04-15 14:16    [W:0.205 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site