• Frederic Weisbecker's avatar
    context_tracking: Convert state to atomic_t · 17147677
    Frederic Weisbecker authored
    Context tracking's state and dynticks counter are going to be merged
    in a single field so that both updates can happen atomically and at the
    same time. Prepare for that with converting the state into an atomic_t.
    
    [ paulmck: Apply kernel test robot feedback. ]
    Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Neeraj Upadhyay <quic_neeraju@quicinc.com>
    Cc: Uladzislau Rezki <uladzislau.rezki@sony.com>
    Cc: Joel Fernandes <joel@joelfernandes.org>
    Cc: Boqun Feng <boqun.feng@gmail.com>
    Cc: Nicolas Saenz Julienne <nsaenz@kernel.org>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Cc: Xiongfeng Wang <wangxiongfeng2@huawei.com>
    Cc: Yu Liao <liaoyu15@huawei.com>
    Cc: Phil Auld <pauld@redhat.com>
    Cc: Paul Gortmaker<paul.gortmaker@windriver.com>
    Cc: Alex Belits <abelits@marvell.com>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    Reviewed-by: default avatarNicolas Saenz Julienne <nsaenzju@redhat.com>
    Tested-by: default avatarNicolas Saenz Julienne <nsaenzju@redhat.com>
    17147677
tree.c 146 KB