#!/bin/bash

for i in /sys/kernel/slab/*/; do
	if [ `cat $i/object_size` -le 4096 ]; then
		echo 0 > $i/order
	else
		echo 1 > $i/order
	fi
done
