Thread (20 messages) 20 messages, 7 authors, 2024-01-30

Re: [PATCH net-next v3 3/3] eventpoll: Add epoll ioctl for epoll_params

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2024-01-25 23:21:47
Also in: linux-api, linux-doc, linux-fsdevel, lkml

On Thu, Jan 25, 2024 at 10:56:59PM +0000, Joe Damato wrote:
+struct epoll_params {
+	u64 busy_poll_usecs;
+	u16 busy_poll_budget;
+
+	/* for future fields */
+	u8 data[118];
+} EPOLL_PACKED;
variables that cross the user/kernel boundry need to be __u64, __u16,
and __u8 here.

And why 118?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help