Re: [PATCH 1/1] kernel/smp: Split call_single_queue into 3 queues

2021-02-08 Thread Peter Zijlstra
On Mon, Feb 08, 2021 at 02:03:47PM -0300, Leonardo Bras wrote: > > with the patch at the bottom of the mail. This shows that in my > > smoke test at least, the number of items in the individual list is low. > > Yes, but depending on workload this list may get longer. Get a median number of entri

Re: [PATCH 1/1] kernel/smp: Split call_single_queue into 3 queues

2021-02-08 Thread Leonardo Bras
Hello Sebastian, Thanks for the feedback! On Thu, 2021-01-28 at 11:33 +0100, Sebastian Andrzej Siewior wrote: > On 2021-01-28 03:55:06 [-0300], Leonardo Bras wrote: > > Currently, during flush_smp_call_function_queue(): > > - All items are transversed once, for inverting. > > - The SYNC items are

Re: [PATCH 1/1] kernel/smp: Split call_single_queue into 3 queues

2021-01-28 Thread Sebastian Andrzej Siewior
On 2021-01-28 03:55:06 [-0300], Leonardo Bras wrote: > Currently, during flush_smp_call_function_queue(): > - All items are transversed once, for inverting. > - The SYNC items are transversed twice. > - The ASYNC & IRQ_WORK items are transversed tree times. > - The TTWU items are transversed four t

[PATCH 1/1] kernel/smp: Split call_single_queue into 3 queues

2021-01-27 Thread Leonardo Bras
Currently, during flush_smp_call_function_queue(): - All items are transversed once, for inverting. - The SYNC items are transversed twice. - The ASYNC & IRQ_WORK items are transversed tree times. - The TTWU items are transversed four times;. Also, a lot of extra work is done to keep track and rem