Skip to content

Commit 81f8510

Browse files
tammelatgross35
authored andcommitted
Add SO_PREFER_BUSY_POLL and SO_BUSY_POLL_BUDGET
Remove the comment of these socket options. Reference: https://elixir.bootlin.com/linux/latest/source/include/uapi/asm-generic/socket.h Signed-off-by: Pedro Tammela <[email protected]>
1 parent c73a50d commit 81f8510

File tree

1 file changed

+2
-2
lines changed
  • src/unix/linux_like/linux/arch/generic

1 file changed

+2
-2
lines changed

src/unix/linux_like/linux/arch/generic/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ cfg_if! {
106106
pub const SO_DETACH_REUSEPORT_BPF: ::c_int = 68;
107107
}
108108
}
109-
// pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
110-
// pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
109+
pub const SO_PREFER_BUSY_POLL: ::c_int = 69;
110+
pub const SO_BUSY_POLL_BUDGET: ::c_int = 70;
111111

112112
cfg_if! {
113113
if #[cfg(any(target_arch = "x86",

0 commit comments

Comments
 (0)