lkml.org 
[lkml]   [2020]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v9 3/7] srcu: Fix invoke_rcu_callbacks() segcb length adjustment
    On Tue, Nov 03, 2020 at 09:25:59AM -0500, Joel Fernandes (Google) wrote:
    > With earlier patches, the negative counting of the unsegmented list
    > cannot be used to adjust the segmented one. To fix this, sample the
    > unsegmented length in advance, and use it after CB execution to adjust
    > the segmented list's length.
    >
    > Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
    > Suggested-by: Frederic Weisbecker <frederic@kernel.org>
    > Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>

    This breaks bisection, you need to either fix up the previous patch
    by adding this diff inside or better yet: expand what you did
    in "rcu/tree: Make rcu_do_batch count how many callbacks were executed"
    to also handle srcu before introducing the segcb count.

    Thanks.

    \
     
     \ /
      Last update: 2020-11-03 15:47    [W:4.450 / U:0.184 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site