DragonFly commits List (threaded) for 2012-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kmalloc: No need to call fls if the size is already power-of-2 aligned
commit 18042a752e6d15b37a86b9fe03d8d2a15b2aab7d
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date: Wed Oct 10 20:40:57 2012 +0800
kmalloc: No need to call fls if the size is already power-of-2 aligned
Reduce code complexity
Summary of changes:
sys/kern/kern_slaballoc.c | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/18042a752e6d15b37a86b9fe03d8d2a15b2aab7d
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]