lkml.org 
[lkml]   [2018]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH RT] rt: convert mm/kasan/quarantine_lock to raw_spinlock
Hi Clark,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linux-rt-devel/for-kbuild-bot/current-stable]

url: https://github.com/0day-ci/linux/commits/Clark-Williams/rt-convert-mm-kasan-quarantine_lock-to-raw_spinlock/20180919-021343
base: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git for-kbuild-bot/current-stable
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All warnings (new ones prefixed by >>):

include/uapi/linux/perf_event.h:147:56: warning: cast truncates bits from constant value (8000000000000000 becomes 0)
kernel/rcu/tree.c:216:15: warning: symbol 'rcu_rnp_online_cpus' was not declared. Should it be static?
kernel/rcu/tree.c:366:6: warning: symbol 'rcu_dynticks_curr_cpu_in_eqs' was not declared. Should it be static?
>> kernel/rcu/tree.c:2930:36: warning: incorrect type in initializer (different address spaces)
kernel/rcu/tree.c:2930:36: expected struct task_struct [noderef] <asn:3>**store
kernel/rcu/tree.c:2930:36: got struct task_struct *[noderef] <asn:3>*<noident>
kernel/rcu/tree.c:3978:21: warning: incorrect type in argument 1 (different modifiers)
kernel/rcu/tree.c:3978:21: expected int ( *threadfn )( ... )
kernel/rcu/tree.c:3978:21: got int ( [noreturn] *<noident> )( ... )
kernel/rcu/tree.c:1680:13: warning: context imbalance in 'rcu_start_this_gp' - different lock contexts for basic block
kernel/rcu/tree.c:2703:9: warning: context imbalance in 'force_qs_rnp' - different lock contexts for basic block
kernel/rcu/tree.c:2766:25: warning: context imbalance in 'force_quiescent_state' - unexpected unlock
kernel/rcu/tree_exp.h:203:9: warning: context imbalance in '__rcu_report_exp_rnp' - different lock contexts for basic block

vim +2930 kernel/rcu/tree.c

385c3906 Paul E. McKenney 2013-11-04 2928
385c3906 Paul E. McKenney 2013-11-04 2929 static struct smp_hotplug_thread rcu_cpu_thread_spec = {
385c3906 Paul E. McKenney 2013-11-04 @2930 .store = &rcu_cpu_kthread_task,
385c3906 Paul E. McKenney 2013-11-04 2931 .thread_should_run = rcu_cpu_kthread_should_run,
385c3906 Paul E. McKenney 2013-11-04 2932 .thread_fn = rcu_cpu_kthread,
385c3906 Paul E. McKenney 2013-11-04 2933 .thread_comm = "rcuc/%u",
385c3906 Paul E. McKenney 2013-11-04 2934 .setup = rcu_cpu_kthread_setup,
385c3906 Paul E. McKenney 2013-11-04 2935 .park = rcu_cpu_kthread_park,
385c3906 Paul E. McKenney 2013-11-04 2936 };
385c3906 Paul E. McKenney 2013-11-04 2937

:::::: The code at line 2930 was first introduced by commit
:::::: 385c3906e2a7db036cd3185d1a2f38c842664ce0 rcu: Eliminate softirq processing from rcutree

:::::: TO: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
:::::: CC: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2018-09-18 22:35    [W:0.089 / U:1.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site