[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20201110140837.99b1feabec8754ce5247e2a0@linux-foundation.org>
Date: Tue, 10 Nov 2020 14:08:37 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
Chris Zankel <chris@...kel.net>,
Max Filippov <jcmvbkbc@...il.com>,
linux-xtensa@...ux-xtensa.org, ngupta@...are.org,
sergey.senozhatsky.work@...il.com, sjenning@...ux.vnet.ibm.com,
gregkh@...uxfoundation.org, arnd@...db.de,
Stefan Agner <stefan@...er.ch>,
Minchan Kim <minchan@...nel.org>
Subject: Re: [PATCH] mm: fix build failure with xtensa
On Tue, 10 Nov 2020 22:01:51 +0000 Sudip Mukherjee <sudipm.mukherjee@...il.com> wrote:
> If CONFIG_ZSMALLOC is enabled with xtensa then the build fails with:
> mm/zsmalloc.c:43:10: fatal error: asm/sparsemem.h: No such file or directory
>
> Disable CONFIG_ZSMALLOC for xtensa as xtensa arch has not defined
> sparsemem.h.
>
> ...
>
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -698,7 +698,7 @@ config Z3FOLD
>
> config ZSMALLOC
> tristate "Memory allocator for compressed pages"
> - depends on MMU
> + depends on (MMU && !XTENSA)
> help
> zsmalloc is a slab-based memory allocator designed to store
> compressed RAM pages. zsmalloc uses virtual memory mapping
Thanks. I believe that Stefan is working on a more general solution
over in
https://lkml.kernel.org/r/bdfa44bf1c570b05d6c70898e2bbb0acf234ecdf.1604762181.git.stefan@agner.ch
Powered by blists - more mailing lists