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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- From: Anton Altaparmakov <[email protected]>
- Re: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- References:
- [00/17] [RFC] Virtual Compound Page Support
- From: Christoph Lameter <[email protected]>
- [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- From: Christoph Lameter <[email protected]>
- Re: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- From: David Rientjes <[email protected]>
- Re: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- From: Anton Altaparmakov <[email protected]>
- Re: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- From: David Rientjes <[email protected]>
- Re: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- From: Anton Altaparmakov <[email protected]>
- [00/17] [RFC] Virtual Compound Page Support
- Prev by Date: PROBLEM: System Freeze on Particular workload with kernel 2.6.22.6
- Next by Date: Re: [PATCH -mm -v2 2/2] i386/x86_64 boot: document for 32 bit boot protocol
- Previous by thread: Re: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- Next by thread: Re: [03/17] is_vmalloc_addr(): Check if an address is within the vmalloc boundaries
- Index(es):