DragonFly BSD
DragonFly commits List (threaded) for 2012-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kmalloc_cachealign: Utilize kmalloc() chunk size aligned property


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Oct 2012 05:51:15 -0700 (PDT)

commit 3b556fa05f55fd8183b0fe6808cf4df5fb231b18
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Oct 10 20:10:20 2012 +0800

    kmalloc_cachealign: Utilize kmalloc() chunk size aligned property
    
    Avoid power-of-2 rounding up if the to-be-used zone is already
    aligned properly.
    
    Suggested-by: dillon@

Summary of changes:
 sys/kern/kern_slaballoc.c |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b556fa05f55fd8183b0fe6808cf4df5fb231b18


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]