[lkml]   [2007]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
    On Wed, 19 Sep 2007, Anton Altaparmakov wrote:

    > Although it may cause a problem as highmem.h also includes mm.h so a bit of
    > trickery may be needed to get it to compile...
    > I suspect that is_vmalloc_addr() should not be in linux/mm.h at all and should
    > be in linux/vmalloc.h instead and vmalloc.h should include linux/highmem.h.
    > That would be more sensible than sticking a vmalloc related function into
    > linux/mm.h where it does not belong...

    That is why I suggested include/linux/vmalloc.h as its home in the first
    place. And no, adding an include for linux/highmem.h (and asm/pgtable.h)
    to linux/vmalloc.h does not work.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-09-19 11:23    [W:0.035 / U:1.016 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site