Skip to content
Snippets Groups Projects
Select Git revision
  • android-msm-flo-3.4-kitkat-mr1
  • master default protected
  • android-msm-bullhead-3.10-nougat_kgdb_less_changes
  • android-msm-bullhead-3.10-nougat_kgdb
  • android-msm-bullhead-3.10-nougat_klist
  • android-4.4
  • android-msm-vega-4.4-oreo-daydream
  • android-msm-wahoo-4.4-p-preview-5
  • android-msm-wahoo-4.4-pie
  • android-msm-marlin-3.18-p-preview-5
  • android-msm-marlin-3.18-pie
  • android-msm-wahoo-2018.07-oreo-m2
  • android-msm-wahoo-2018.07-oreo-m4
  • android-msm-wahoo-4.4-p-preview-4
  • android-msm-bullhead-3.10-oreo-m6
  • android-msm-angler-3.10-oreo-m6
  • android-msm-marlin-3.18-p-preview-4
  • android-msm-stargazer-3.18-oreo-wear-dr
  • android-msm-catshark-3.18-oreo-wear-dr
  • android-msm-wahoo-4.4-oreo-m2
  • android-msm-wahoo-4.4-oreo-m4
  • android-daydreamos-8.0.0_r0.5
  • android-8.1.0_r0.92
  • android-8.1.0_r0.91
  • android-daydreamos-8.0.0_r0.4
  • android-p-preview-5_r0.2
  • android-p-preview-5_r0.1
  • android-9.0.0_r0.5
  • android-9.0.0_r0.4
  • android-9.0.0_r0.2
  • android-9.0.0_r0.1
  • android-8.1.0_r0.81
  • android-8.1.0_r0.80
  • android-8.1.0_r0.78
  • android-8.1.0_r0.76
  • android-8.1.0_r0.75
  • android-8.1.0_r0.72
  • android-8.1.0_r0.70
  • android-p-preview-4_r0.2
  • android-p-preview-4_r0.1
  • android-wear-8.0.0_r0.30
41 results

rcutree_plugin.h

Blame
  • rcutree_plugin.h 66.93 KiB
    /*
     * Read-Copy Update mechanism for mutual exclusion (tree-based version)
     * Internal non-public definitions that provide either classic
     * or preemptible semantics.
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
     *
     * Copyright Red Hat, 2009
     * Copyright IBM Corporation, 2009
     *
     * Author: Ingo Molnar <mingo@elte.hu>
     *	   Paul E. McKenney <paulmck@linux.vnet.ibm.com>
     */
    
    #include <linux/delay.h>
    
    #define RCU_KTHREAD_PRIO 1
    
    #ifdef CONFIG_RCU_BOOST
    #define RCU_BOOST_PRIO CONFIG_RCU_BOOST_PRIO
    #else
    #define RCU_BOOST_PRIO RCU_KTHREAD_PRIO
    #endif
    
    /*
     * Check the RCU kernel configuration parameters and print informative
     * messages about anything out of the ordinary.  If you like #ifdef, you
     * will love this function.
     */
    static void __init rcu_bootup_announce_oddness(void)
    {
    #ifdef CONFIG_RCU_TRACE
    	printk(KERN_INFO "\tRCU debugfs-based tracing is enabled.\n");
    #endif
    #if (defined(CONFIG_64BIT) && CONFIG_RCU_FANOUT != 64) || (!defined(CONFIG_64BIT) && CONFIG_RCU_FANOUT != 32)
    	printk(KERN_INFO "\tCONFIG_RCU_FANOUT set to non-default value of %d\n",
    	       CONFIG_RCU_FANOUT);
    #endif
    #ifdef CONFIG_RCU_FANOUT_EXACT
    	printk(KERN_INFO "\tHierarchical RCU autobalancing is disabled.\n");
    #endif
    #ifdef CONFIG_RCU_FAST_NO_HZ
    	printk(KERN_INFO
    	       "\tRCU dyntick-idle grace-period acceleration is enabled.\n");
    #endif
    #ifdef CONFIG_PROVE_RCU
    	printk(KERN_INFO "\tRCU lockdep checking is enabled.\n");
    #endif
    #ifdef CONFIG_RCU_TORTURE_TEST_RUNNABLE
    	printk(KERN_INFO "\tRCU torture testing starts during boot.\n");
    #endif
    #if defined(CONFIG_TREE_PREEMPT_RCU) && !defined(CONFIG_RCU_CPU_STALL_VERBOSE)
    	printk(KERN_INFO "\tDump stacks of tasks blocking RCU-preempt GP.\n");
    #endif
    #if defined(CONFIG_RCU_CPU_STALL_INFO)
    	printk(KERN_INFO "\tAdditional per-CPU info printed with stalls.\n");
    #endif
    #if NUM_RCU_LVL_4 != 0