lkml.org 
[lkml]   [2012]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[RFC PATCH 0/6] add kmalloc_align()
    Date
    Add add kmalloc_align() for alignment requirement.
    Almost no behavior changed nor overhead added.

    Lai Jiangshan (6):
    kenrel.h: add ALIGN_OF_LAST_BIT()
    slub: add kmalloc_align()
    slab: add kmalloc_align()
    don't couple the header size with the alignment
    slob: add kmalloc_align()
    workqueue: use kmalloc_align() instead of hacking

    include/linux/kernel.h | 2 ++
    include/linux/slab_def.h | 6 ++++++
    include/linux/slob_def.h | 14 +++++++++++++-
    include/linux/slub_def.h | 6 ++++++
    init/Kconfig | 1 -
    kernel/workqueue.c | 23 ++++++++-------------------------------------
    mm/slab.c | 8 ++++----
    mm/slob.c | 38 +++++++++++++++++++++-----------------
    mm/slub.c | 2 +-
    9 files changed, 58 insertions(+), 41 deletions(-)

    --
    1.7.4.4



    \
     
     \ /
      Last update: 2012-03-20 11:19    [W:0.020 / U:61.096 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site