• Akinobu Mita's avatar
    cma: make default CMA area size zero for x86 · d7be003a
    Akinobu Mita authored
    This makes CMA memory area size zero for x86 in default configuration
    (doesn't change on the other architectures).  If default CMA size is
    zero, DMA_CMA is disabled.  It can be enabled by passing cma= to the
    kernel.
    
    This makes less impact on x86.  Because there is no mainline driver that
    requires it for x86, and Peter Hurley reported the performance
    regression, as this is trying to drive _all_ dma mapping allocations
    through a _very_ small window.
    Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
    Reported-by: default avatarPeter Hurley <peter@hurleysoftware.com>
    Cc: Peter Hurley <peter@hurleysoftware.com>
    Cc: Chuck Ebbert <cebbert.lkml@gmail.com>
    Cc: Jean Delvare <jdelvare@suse.de>
    Acked-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
    Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    Cc: David Woodhouse <dwmw2@infradead.org>
    Cc: Don Dutile <ddutile@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Yinghai Lu <yinghai@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    d7be003a
Kconfig 11.1 KB