Thread (247 messages) 247 messages, 7 authors, 2021-03-18

Re: [RFC v8 08/20] um: lkl: memory handling

From: Hajime Tazaki <hidden>
Date: 2021-03-18 00:12:50
Also in: linux-um

Hello,

On Wed, 17 Mar 2021 06:31:03 +0900,
Johannes Berg wrote:
On Tue, 2021-03-16 at 10:18 +0900, Hajime Tazaki wrote:
quoted
quoted
quoted
+void *uml_kmalloc(int size, int flags)
+{
+	return kmalloc(size, flags);
+}
That could probably still be shared?
This function is a stub of arch/um/kernel/mem.c, which LKL doesn't
use for the build.  Thus we defined here.

Or are you suggesting to not stubbing this function, but extracting
the function from mem.c ?
Yes, that's kind of what I was thinking.
Okay, I'll look for a fix with this approach.
OTOH, I guess it's in os-Linux today?
sorry, I didn't get this line.  uml_kmalloc() is in kernel/mem.c but
what is in os-Linux ?

Thanks,
-- Hajime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help