Re: [PATCH] [6/13] Core maskable allocator

From: Randy Dunlap
Date: Fri Mar 07 2008 - 12:07:28 EST


On Fri, 7 Mar 2008 10:07:16 +0100 (CET) Andi Kleen wrote:

>
> This is the core code of the maskable allocator. Introduction
> appended.

> Index: linux/Documentation/kernel-parameters.txt
> ===================================================================
> --- linux.orig/Documentation/kernel-parameters.txt
> +++ linux/Documentation/kernel-parameters.txt
> @@ -2116,6 +2116,9 @@ and is between 256 and 4096 characters.
> norandmaps Don't use address space randomization
> Equivalent to echo 0 > /proc/sys/kernel/randomize_va_space
>
> + maskzone=size[MG] Set size of maskable DMA zone to size.
> + force Always allocate from the mask zone (for testing)

^^^^^^^^^^^^^ ??

> +
> ______________________________________________________________________
>
> TODO:

> Index: linux/Documentation/DocBook/kernel-api.tmpl
> ===================================================================
> --- linux.orig/Documentation/DocBook/kernel-api.tmpl
> +++ linux/Documentation/DocBook/kernel-api.tmpl
> @@ -164,6 +164,7 @@ X!Ilib/string.c
> !Emm/memory.c
> !Emm/vmalloc.c
> !Imm/page_alloc.c
> +!Emm/mask-alloc.c
> !Emm/mempool.c
> !Emm/dmapool.c
> !Emm/page-writeback.c

Thanks for the kernel-doc annotations.

---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/