On Mon, Feb 04, 2019 at 08:59:01PM +0100, Daniel Bristot de Oliveira wrote:
> If the architecture supports the batching of jump label updates, use it!
>
> An easy way to see the benefits of this patch is switching the
> schedstats on and off. For instance:
>
> -- %< --
On 2/6/19 7:34 AM, Masami Hiramatsu wrote:
> On Mon, 4 Feb 2019 20:59:01 +0100
> Daniel Bristot de Oliveira wrote:
>
>> --- a/kernel/jump_label.c
>> +++ b/kernel/jump_label.c
>> @@ -407,6 +407,7 @@ bool jump_label_can_update_check(struct jump_entry
>> *entry, bool init)
>> return 0;
>> }
On Mon, 4 Feb 2019 20:59:01 +0100
Daniel Bristot de Oliveira wrote:
> --- a/kernel/jump_label.c
> +++ b/kernel/jump_label.c
> @@ -407,6 +407,7 @@ bool jump_label_can_update_check(struct jump_entry
> *entry, bool init)
> return 0;
> }
>
> +#ifndef HAVE_JUMP_LABEL_BATCH
> static void __
If the architecture supports the batching of jump label updates, use it!
An easy way to see the benefits of this patch is switching the
schedstats on and off. For instance:
-- %<
#!/bin/bash
while [ true ]; do
sysctl -w kernel.sched_scheds
4 matches
Mail list logo