[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180522170257.ae5387d8717e81def908a53b@linux-foundation.org>
Date: Tue, 22 May 2018 17:02:57 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Joonsoo Kim <js1304@...il.com>
Cc: Ville Syrjälä
<ville.syrjala@...ux.intel.com>, Laura Abbott <labbott@...hat.com>,
Michal Hocko <mhocko@...nel.org>,
"Aneesh Kumar K . V" <aneesh.kumar@...ux.vnet.ibm.com>,
Tony Lindgren <tony@...mide.com>,
Vlastimil Babka <vbabka@...e.cz>,
Johannes Weiner <hannes@...xchg.org>,
Laura Abbott <lauraa@...eaurora.org>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Mel Gorman <mgorman@...hsingularity.net>,
Michal Nazarewicz <mina86@...a86.com>,
Minchan Kim <minchan@...nel.org>,
Rik van Riel <riel@...hat.com>,
Russell King <linux@...linux.org.uk>,
Will Deacon <will.deacon@....com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Revert
"mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
On Mon, 21 May 2018 15:16:33 +0900 Joonsoo Kim <js1304@...il.com> wrote:
> > (gdb) list *(dma_direct_alloc+0x22f)
> > 0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
> > 94
> > 95 if (!page)
> > 96 return NULL;
> > 97 ret = page_address(page);
> > 98 if (force_dma_unencrypted()) {
> > 99 set_memory_decrypted((unsigned long)ret, 1 << page_order);
> > 100 *dma_handle = __phys_to_dma(dev, page_to_phys(page));
> > 101 } else {
> > 102 *dma_handle = phys_to_dma(dev, page_to_phys(page));
> > 103 }
> > 104 memset(ret, 0, size);
> > 105 return ret;
> > 106 }
> >
>
> Okay. I find the reason about this error.
It's getting rather late and we don't seem to have a final set of fixes
yet. Perhaps the best approach here is to revert and try again for
4.18?
Powered by blists - more mailing lists