lkml.org 
[lkml]   [2019]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] x86/alternatives: Move tp_vec
On Mon, Aug 26, 2019 at 02:51:40PM +0200, Peter Zijlstra wrote:

> +#define TP_VEC_MAX (PAGE_SIZE / sizeof(struct text_poke_loc))
> +extern struct text_poke_loc tp_vec[TP_VEC_MAX];
> +extern int tp_vec_nr;

FWIW, that currently results in a batch size of 128, but I've not
noticed any delay in flipping ftrace on and off on the commandline.

Growing that buffer really shouldn't be a problem, but I'm thinking we'd
want solid performance numbers to justify it.

\
 
 \ /
  Last update: 2019-08-26 16:38    [W:0.250 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site