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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Oct 10 05:51:15 PDT 2012


commit 3b556fa05f55fd8183b0fe6808cf4df5fb231b18
Author: Sepherosa Ziehau <sephe at 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



More information about the Commits mailing list