[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201610281959.3HRKVs8R%fengguang.wu@intel.com>
Date: Fri, 28 Oct 2016 19:33:05 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Emese Revfy <re.emese@...il.com>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
Kees Cook <keescook@...omium.org>
Subject: kernel/rcu/tree.c:3026:1: warning: the frame size of 1040 bytes is
larger than 1024 bytes
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 14970f204b1993af7459d5bd34aaff38dfee6670
commit: 0766f788eb727e2e330d55d30545db65bcf2623f latent_entropy: Mark functions with __latent_entropy
date: 3 weeks ago
config: i386-randconfig-b0-10281653 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
git checkout 0766f788eb727e2e330d55d30545db65bcf2623f
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
Cyclomatic Complexity 8 kernel/rcu/tree.c:rcu_report_unblock_qs_rnp
Cyclomatic Complexity 11 kernel/rcu/tree.c:rcu_report_qs_rdp
Cyclomatic Complexity 13 kernel/rcu/tree_plugin.h:invoke_rcu_callbacks_kthread
Cyclomatic Complexity 25 kernel/rcu/tree.c:rcu_boot_init_percpu_data
Cyclomatic Complexity 14 kernel/rcu/tree_exp.h:sync_exp_reset_tree
Cyclomatic Complexity 9 kernel/rcu/tree.c:note_gp_changes
Cyclomatic Complexity 6 kernel/rcu/tree.c:rcu_check_quiescent_state
Cyclomatic Complexity 2 kernel/rcu/tree.c:show_rcu_gp_kthreads
Cyclomatic Complexity 1 kernel/rcu/tree_plugin.h:print_cpu_stall_info_begin
Cyclomatic Complexity 3 kernel/rcu/tree_plugin.h:print_cpu_stall_info
Cyclomatic Complexity 1 kernel/rcu/tree_plugin.h:print_cpu_stall_info_end
Cyclomatic Complexity 7 kernel/rcu/tree_plugin.h:rcu_bootup_announce_oddness
Cyclomatic Complexity 1 kernel/rcu/tree_plugin.h:rcu_bootup_announce
Cyclomatic Complexity 27 kernel/rcu/tree.c:rcu_init_geometry
Cyclomatic Complexity 4 kernel/rcu/tree.c:rcu_dump_rcu_node_tree
Cyclomatic Complexity 31 kernel/rcu/tree.c:rcu_eqs_exit_common
Cyclomatic Complexity 15 kernel/rcu/tree.c:rcu_eqs_exit
Cyclomatic Complexity 15 kernel/rcu/tree.c:rcu_cleanup_dead_cpu
Cyclomatic Complexity 44 kernel/rcu/tree.c:rcu_eqs_enter_common
Cyclomatic Complexity 15 kernel/rcu/tree.c:rcu_eqs_enter
Cyclomatic Complexity 23 kernel/rcu/tree.c:rcu_stall_kick_kthreads
Cyclomatic Complexity 1 kernel/rcu/tree.c:record_gp_stall_check_time
Cyclomatic Complexity 5 kernel/rcu/tree_exp.h:sync_sched_exp_handler
Cyclomatic Complexity 18 kernel/rcu/tree.c:rcu_implicit_dynticks_qs
Cyclomatic Complexity 6 kernel/rcu/tree.c:rcu_check_gp_kthread_starvation
Cyclomatic Complexity 7 kernel/rcu/tree.c:rcu_dump_cpu_stacks
Cyclomatic Complexity 5 kernel/rcu/tree.c:print_cpu_stall
Cyclomatic Complexity 18 kernel/rcu/tree.c:print_other_cpu_stall
Cyclomatic Complexity 22 kernel/rcu/tree.c:check_cpu_stall
Cyclomatic Complexity 18 kernel/rcu/tree.c:__rcu_pending
Cyclomatic Complexity 3 kernel/rcu/tree.c:rcu_pending
Cyclomatic Complexity 2 kernel/rcu/tree.c:invoke_rcu_core
Cyclomatic Complexity 62 kernel/rcu/tree.c:rcu_do_batch
Cyclomatic Complexity 4 kernel/rcu/tree.c:invoke_rcu_callbacks
Cyclomatic Complexity 18 kernel/rcu/tree.c:__rcu_process_callbacks
Cyclomatic Complexity 3 kernel/rcu/tree.c:rcu_process_callbacks
Cyclomatic Complexity 9 kernel/rcu/tree.c:synchronize_rcu_bh
Cyclomatic Complexity 3 kernel/rcu/tree.c:get_state_synchronize_rcu
Cyclomatic Complexity 5 kernel/rcu/tree.c:cond_synchronize_rcu
Cyclomatic Complexity 3 kernel/rcu/tree.c:get_state_synchronize_sched
Cyclomatic Complexity 14 kernel/rcu/tree_exp.h:sync_sched_exp_online_cleanup
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_barrier_callback
Cyclomatic Complexity 10 kernel/rcu/tree.c:rcu_spawn_gp_kthread
Cyclomatic Complexity 28 kernel/rcu/tree_exp.h:synchronize_sched_expedited_wait
Cyclomatic Complexity 9 kernel/rcu/tree.c:rcu_gp_slow
Cyclomatic Complexity 22 kernel/rcu/tree_exp.h:sync_rcu_exp_select_cpus
Cyclomatic Complexity 14 kernel/rcu/tree.c:rcu_init_one
Cyclomatic Complexity 7 kernel/rcu/tree.c:rcu_pm_notify
Cyclomatic Complexity 13 kernel/rcu/tree_exp.h:exp_funnel_lock
Cyclomatic Complexity 5 kernel/rcu/tree_exp.h:rcu_exp_wait_wake
Cyclomatic Complexity 4 kernel/rcu/tree_exp.h:synchronize_sched_expedited
Cyclomatic Complexity 9 kernel/rcu/tree.c:synchronize_sched
Cyclomatic Complexity 5 kernel/rcu/tree.c:cond_synchronize_sched
Cyclomatic Complexity 1 kernel/rcu/tree_exp.h:synchronize_rcu_expedited
Cyclomatic Complexity 1 kernel/rcu/tree.c:rcu_rnp_online_cpus
Cyclomatic Complexity 3 kernel/rcu/tree.c:rcu_sched_qs
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_bh_qs
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_note_context_switch
Cyclomatic Complexity 4 kernel/rcu/tree.c:rcu_all_qs
Cyclomatic Complexity 53 kernel/rcu/tree.c:rcu_gp_init
Cyclomatic Complexity 24 kernel/rcu/tree.c:force_qs_rnp
Cyclomatic Complexity 5 kernel/rcu/tree.c:rcu_gp_fqs
Cyclomatic Complexity 39 kernel/rcu/tree.c:rcu_gp_cleanup
Cyclomatic Complexity 44 kernel/rcu/tree.c:rcu_gp_kthread
Cyclomatic Complexity 1 kernel/rcu/tree.c:rcu_exp_batches_completed
Cyclomatic Complexity 1 kernel/rcu/tree.c:rcu_exp_batches_completed_sched
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_idle_enter
Cyclomatic Complexity 19 kernel/rcu/tree.c:rcu_irq_exit
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_irq_exit_irqson
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_idle_exit
Cyclomatic Complexity 19 kernel/rcu/tree.c:rcu_irq_enter
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_irq_enter_irqson
Cyclomatic Complexity 26 kernel/rcu/tree.c:rcu_nmi_enter
Cyclomatic Complexity 39 kernel/rcu/tree.c:rcu_nmi_exit
Cyclomatic Complexity 1 kernel/rcu/tree.c:__rcu_is_watching
Cyclomatic Complexity 1 kernel/rcu/tree.c:rcu_is_watching
Cyclomatic Complexity 18 kernel/rcu/tree.c:__call_rcu_core
Cyclomatic Complexity 66 kernel/rcu/tree.c:__call_rcu
Cyclomatic Complexity 1 kernel/rcu/tree.c:call_rcu_sched
Cyclomatic Complexity 1 kernel/rcu/tree.c:call_rcu_bh
Cyclomatic Complexity 1 kernel/rcu/tree.c:kfree_call_rcu
Cyclomatic Complexity 10 kernel/rcu/tree.c:_rcu_barrier
Cyclomatic Complexity 1 kernel/rcu/tree.c:rcu_barrier_bh
Cyclomatic Complexity 1 kernel/rcu/tree.c:rcu_barrier_sched
Cyclomatic Complexity 1 kernel/rcu/tree_plugin.h:rcu_barrier
Cyclomatic Complexity 4 kernel/rcu/tree.c:rcu_lockdep_current_cpu_online
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_cpu_stall_reset
Cyclomatic Complexity 9 kernel/rcu/tree.c:rcu_check_callbacks
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcutree_prepare_cpu
Cyclomatic Complexity 1 kernel/rcu/tree.c:rcutree_online_cpu
Cyclomatic Complexity 1 kernel/rcu/tree.c:rcutree_offline_cpu
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcutree_dying_cpu
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcutree_dead_cpu
Cyclomatic Complexity 2 kernel/rcu/tree.c:rcu_report_dead
Cyclomatic Complexity 7 kernel/rcu/tree.c:rcu_scheduler_starting
Cyclomatic Complexity 4 kernel/rcu/tree.c:rcu_init
Cyclomatic Complexity 1 kernel/rcu/tree_plugin.h:exit_rcu
Cyclomatic Complexity 1 kernel/rcu/tree_plugin.h:rcu_needs_cpu
Cyclomatic Complexity 1 kernel/rcu/tree.c:_GLOBAL__sub_I_65535_0_rcu_sched_state
kernel/rcu/tree.c: In function 'rcu_process_callbacks':
>> kernel/rcu/tree.c:3026:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
vim +3026 kernel/rcu/tree.c
96d3fd0d kernel/rcu/tree.c Paul E. McKenney 2013-10-04 3010 do_nocb_deferred_wakeup(rdp);
09223371 kernel/rcutree.c Shaohua Li 2011-06-14 3011 }
09223371 kernel/rcutree.c Shaohua Li 2011-06-14 3012
64db4cff kernel/rcutree.c Paul E. McKenney 2008-12-18 3013 /*
e0f23060 kernel/rcutree.c Paul E. McKenney 2011-06-21 3014 * Do RCU core processing for the current CPU.
64db4cff kernel/rcutree.c Paul E. McKenney 2008-12-18 3015 */
0766f788 kernel/rcu/tree.c Emese Revfy 2016-06-20 3016 static __latent_entropy void rcu_process_callbacks(struct softirq_action *unused)
64db4cff kernel/rcutree.c Paul E. McKenney 2008-12-18 3017 {
6ce75a23 kernel/rcutree.c Paul E. McKenney 2012-06-12 3018 struct rcu_state *rsp;
6ce75a23 kernel/rcutree.c Paul E. McKenney 2012-06-12 3019
bfa00b4c kernel/rcutree.c Paul E. McKenney 2012-06-21 3020 if (cpu_is_offline(smp_processor_id()))
bfa00b4c kernel/rcutree.c Paul E. McKenney 2012-06-21 3021 return;
f7f7bac9 kernel/rcutree.c Steven Rostedt (Red Hat 2013-07-12 3022) trace_rcu_utilization(TPS("Start RCU core"));
6ce75a23 kernel/rcutree.c Paul E. McKenney 2012-06-12 3023 for_each_rcu_flavor(rsp)
6ce75a23 kernel/rcutree.c Paul E. McKenney 2012-06-12 3024 __rcu_process_callbacks(rsp);
f7f7bac9 kernel/rcutree.c Steven Rostedt (Red Hat 2013-07-12 3025) trace_rcu_utilization(TPS("End RCU core"));
64db4cff kernel/rcutree.c Paul E. McKenney 2008-12-18 @3026 }
64db4cff kernel/rcutree.c Paul E. McKenney 2008-12-18 3027
a26ac245 kernel/rcutree.c Paul E. McKenney 2011-01-12 3028 /*
e0f23060 kernel/rcutree.c Paul E. McKenney 2011-06-21 3029 * Schedule RCU callback invocation. If the specified type of RCU
e0f23060 kernel/rcutree.c Paul E. McKenney 2011-06-21 3030 * does not support RCU priority boosting, just do a direct call,
e0f23060 kernel/rcutree.c Paul E. McKenney 2011-06-21 3031 * otherwise wake up the per-CPU kernel kthread. Note that because we
924df8a0 kernel/rcu/tree.c Paul E. McKenney 2014-10-29 3032 * are running on the current CPU with softirqs disabled, the
e0f23060 kernel/rcutree.c Paul E. McKenney 2011-06-21 3033 * rcu_cpu_kthread_task cannot disappear out from under us.
a26ac245 kernel/rcutree.c Paul E. McKenney 2011-01-12 3034 */
:::::: The code at line 3026 was first introduced by commit
:::::: 64db4cfff99c04cd5f550357edcc8780f96b54a2 "Tree RCU": scalable classic RCU implementation
:::::: TO: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
:::::: CC: Ingo Molnar <mingo@...e.hu>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (30285 bytes)
Powered by blists - more mailing lists