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

Re: [RFC v8 07/20] um: lkl: host interface

From: Hajime Tazaki <hidden>
Date: 2021-03-16 01:18:39
Also in: linux-um

On Mon, 15 Mar 2021 01:50:27 +0900,
Johannes Berg wrote:
quoted
+/**
+ * struct lkl_host_operations - host operations used by the Linux kernel
+ *
+ * These operations must be provided by a host library or by the application
+ * itself.
+ *
+ */
+struct lkl_host_operations {
+};
IIRC, in previous reviews we discussed this and you said you'd look at
just making those extern functions, instead of function pointers, since
realistically there's no use in being able to switch these at runtime.
What happened to that? Any particular reason not to?
Yes, I followed your suggestion that we just use functions instead of
function pointers ([17/20]).

Though we won't use pointers, we still need this structure to inform
userspace side (of LKL) to kernel. [19/20], block device
implementation uses this.

-- 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