lkml.org 
[lkml]   [2009]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 08/10] vmalloc: add un/map_kernel_range_noflush()
    Date
    On Wednesday 18 February 2009 23:04:34 Tejun Heo wrote:
    > Impact: two more public map/unmap functions
    >
    > Implement map_kernel_range_noflush() and unmap_kernel_range_noflush().
    > These functions respectively map and unmap address range in kernel VM
    > area but doesn't do any vcache or tlb flushing. These will be used by
    > new percpu allocator.

    Hmm... I have no real issues with this, although the caller is going
    to have to be very careful not to introduce bugs (which I'm sure you
    were ;)).

    Maybe can you add comments specifying the minimum of which flushes
    are required and when, to scare people away from using them?


    >
    > Signed-off-by: Tejun Heo <tj@kernel.org>
    > ---
    > include/linux/vmalloc.h | 3 ++
    > mm/vmalloc.c | 58
    > ++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 58
    > insertions(+), 3 deletions(-)



    \
     
     \ /
      Last update: 2009-02-19 13:21    [W:0.021 / U:124.288 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site