Server IP : 15.235.198.142 / Your IP : 216.73.216.155 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/modules/6.8.0-45-generic/build/tools/memory-model/scripts/ |
Upload File : |
#!/bin/sh # SPDX-License-Identifier: GPL-2.0+ # # Give zero status if this is a simple test and non-zero otherwise. # Simple tests do not contain locking, RCU, or SRCU. # # Usage: # simpletest.sh file.litmus # # Copyright IBM Corporation, 2019 # # Author: Paul E. McKenney <paulmck@linux.ibm.com> litmus=$1 if test -f "$litmus" -a -r "$litmus" then : else echo ' --- ' error: \"$litmus\" is not a readable file exit 255 fi exclude="^[[:space:]]*\(" exclude="${exclude}spin_lock(\|spin_unlock(\|spin_trylock(\|spin_is_locked(" exclude="${exclude}\|rcu_read_lock(\|rcu_read_unlock(" exclude="${exclude}\|synchronize_rcu(\|synchronize_rcu_expedited(" exclude="${exclude}\|srcu_read_lock(\|srcu_read_unlock(" exclude="${exclude}\|synchronize_srcu(\|synchronize_srcu_expedited(" exclude="${exclude}\)" if grep -q $exclude $litmus then exit 255 fi exit 0