All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: Remove lowmem limit for default CMA region
@ 2014-08-21  8:45 ` Marek Szyprowski
  0 siblings, 0 replies; 32+ messages in thread
From: Marek Szyprowski @ 2014-08-21  8:45 UTC (permalink / raw)
  To: linux-arm-kernel, linux-mm, linaro-mm-sig
  Cc: Marek Szyprowski, Russell King - ARM Linux, Michal Nazarewicz,
	Joonsoo Kim, Andrew Morton

Hello,

Russell King recently noticed that limiting default CMA region only to
low memory on ARM architecture causes serious memory management issues
with machines having a lot of memory (which is mainly available as high
memory). More information can be found the following thread:
http://thread.gmane.org/gmane.linux.ports.arm.kernel/348441/

Those two patches removes this limit letting kernel to put default CMA
region into high memory when this is possible (there is enough high
memory available and architecture specific DMA limit fits).

This should solve strange OOM issues on systems with lots of RAM
(i.e. >1GiB) and large (>256M) CMA area.

Best regards
Marek Szyprowski
Samsung R&D Institute Poland


Marek Szyprowski (2):
  mm: cma: adjust address limit to avoid hitting low/high memory
    boundary
  ARM: mm: don't limit default CMA region only to low memory

 arch/arm/mm/init.c |  2 +-
 mm/cma.c           | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

-- 
1.9.2

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2014-08-27  2:57 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-21  8:45 [PATCH 0/2] ARM: Remove lowmem limit for default CMA region Marek Szyprowski
2014-08-21  8:45 ` Marek Szyprowski
2014-08-21  8:45 ` [PATCH 1/2] mm: cma: adjust address limit to avoid hitting low/high memory boundary Marek Szyprowski
2014-08-21  8:45   ` Marek Szyprowski
2014-08-24 13:34   ` Michal Nazarewicz
2014-08-24 13:34     ` Michal Nazarewicz
2014-08-21  8:45 ` [PATCH 2/2] ARM: mm: don't limit default CMA region only to low memory Marek Szyprowski
2014-08-21  8:45   ` Marek Szyprowski
2014-08-21  9:26   ` Daniel Drake
2014-08-21  9:26     ` Daniel Drake
2014-08-24 13:34   ` Michal Nazarewicz
2014-08-24 13:34     ` Michal Nazarewicz
2014-08-25  1:26 ` [PATCH 0/2] ARM: Remove lowmem limit for default CMA region Minchan Kim
2014-08-25  1:26   ` Minchan Kim
2014-08-25  8:00   ` Marek Szyprowski
2014-08-25  8:00     ` Marek Szyprowski
2014-08-25  8:18     ` Minchan Kim
2014-08-25  8:18       ` Minchan Kim
2014-08-25  8:33       ` Marek Szyprowski
2014-08-25  8:33         ` Marek Szyprowski
2014-08-26  2:43         ` Minchan Kim
2014-08-26  2:43           ` Minchan Kim
2014-08-26 12:34           ` Marek Szyprowski
2014-08-26 12:34             ` Marek Szyprowski
2014-08-27  0:36             ` Minchan Kim
2014-08-27  0:36               ` Minchan Kim
2014-08-27  1:42               ` Joonsoo Kim
2014-08-27  1:42                 ` Joonsoo Kim
2014-08-27  2:57                 ` Minchan Kim
2014-08-27  2:57                   ` Minchan Kim
2014-08-26 23:10 ` Andrew Morton
2014-08-26 23:10   ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.