ysenda / rpms / rt-setup

Forked from rpms/rt-setup 2 years ago
Clone

Blame SOURCES/slub_cpu_partial_off

876737
#!/bin/sh
876737
#
876737
# shell script to turn SLUB cpu_partial logic off
876737
# for improved determinism
876737
#
876737
876737
if [ "$UID" != "0" ]; then
876737
   echo "Must be root to run $(basename $0)"
876737
   exit -1
876737
fi
876737
find /sys/kernel/slab -name 'cpu_partial' -print | \
876737
     while read f; do echo 0 > $f; done