[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZbO5ag2fBt4KIgn9@infradead.org>
Date: Fri, 26 Jan 2024 05:53:46 -0800
From: Christoph Hellwig <hch@...radead.org>
To: Samuel Holland <samuel.holland@...ive.com>
Cc: Sami Tolvanen <samitolvanen@...gle.com>, Will Deacon <will@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scs: add CONFIG_MMU dependency for vfree_atomic()
On Mon, Jan 22, 2024 at 09:52:01AM -0800, Samuel Holland wrote:
> The shadow call stack implementation fails to build without CONFIG_MMU:
>
> ld.lld: error: undefined symbol: vfree_atomic
> >>> referenced by scs.c
> >>> kernel/scs.o:(scs_free) in archive vmlinux.a
Well, please just provide vfree_atomic for nommu then. vfree maps
to kfree which can be called from atomic context, so vfree_atomic
can do the same.
Powered by blists - more mailing lists