freebsd_amp_hwpstate/sys/netinet
Gleb Smirnoff e3cbc572f1 kern/subr_trap.c: repair the HPTS performance hack in userret()
It wasn't functional as subr_trap.c doesn't include opt_inet.h.  Put a
better comment provided by gallatin@ in place of the old one.  The idea
is to use userret() as a cheap place to call a soft clock.  This approach
saves CPU on busy machines and saves power on idle machines.
An alternative would be to constantly schedule callouts.  Running with
neither callouts nor the soft clock ruins HPTS precision.

Reviewed by:		tuexen, rrs
Differential Revision:	https://reviews.freebsd.org/D42860
2023-12-04 10:19:46 -08:00
..
cc sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
khelp sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
libalias
netdump
tcp_stacks tcp/hpts: make stacks responsible for clearing themselves out HPTS 2023-12-04 10:19:46 -08:00
accf_data.c
accf_dns.c
accf_http.c
dccp.h
icmp6.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
icmp_var.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
if_ether.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
if_ether.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
igmp.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
igmp.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
igmp_var.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
in.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
in.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
in_cksum.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
in_debug.c
in_fib.c
in_fib.h
in_fib_algo.c
in_fib_dxr.c
in_gif.c
in_jail.c
in_kdtrace.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
in_kdtrace.h
in_mcast.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
in_pcb.c sockets: don't malloc/free sockaddr memory on getpeername/getsockname 2023-11-30 08:31:10 -08:00
in_pcb.h sockets: don't malloc/free sockaddr memory on getpeername/getsockname 2023-11-30 08:31:10 -08:00
in_pcb_var.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
in_prot.c
in_proto.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
in_rmx.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
in_rss.c
in_rss.h
in_systm.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
in_var.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip6.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip_carp.c
ip_carp.h
ip_carp_nl.h
ip_divert.c
ip_divert.h
ip_dummynet.h
ip_ecn.c
ip_ecn.h
ip_encap.c
ip_encap.h
ip_fastfwd.c
ip_fw.h
ip_gre.c
ip_icmp.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip_icmp.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip_id.c
ip_input.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip_mroute.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip_mroute.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip_options.c
ip_options.h
ip_output.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip_reass.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ip_var.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
pim.h
pim_var.h
raw_ip.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
sctp.h sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sctp_asconf.c
sctp_asconf.h
sctp_auth.c
sctp_auth.h
sctp_bsd_addr.c
sctp_bsd_addr.h
sctp_cc_functions.c
sctp_constants.h
sctp_crc32.c
sctp_crc32.h
sctp_header.h
sctp_indata.c
sctp_indata.h
sctp_input.c
sctp_input.h
sctp_kdtrace.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sctp_kdtrace.h
sctp_lock_bsd.h
sctp_module.c
sctp_os.h sockets: don't malloc/free sockaddr memory on getpeername/getsockname 2023-11-30 08:31:10 -08:00
sctp_os_bsd.h sockets: don't malloc/free sockaddr memory on getpeername/getsockname 2023-11-30 08:31:10 -08:00
sctp_output.c
sctp_output.h
sctp_pcb.c
sctp_pcb.h
sctp_peeloff.c
sctp_peeloff.h
sctp_ss_functions.c
sctp_structs.h
sctp_syscalls.c
sctp_sysctl.c
sctp_sysctl.h
sctp_timer.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
sctp_timer.h
sctp_uio.h
sctp_usrreq.c sockets: don't malloc/free sockaddr memory on getpeername/getsockname 2023-11-30 08:31:10 -08:00
sctp_var.h sockets: don't malloc/free sockaddr memory on getpeername/getsockname 2023-11-30 08:31:10 -08:00
sctputil.c
sctputil.h
siftr.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
tcp.h tcp: for LRD move sysctl from tcp.do_lrd tp tcp.sack.lrd, remove sockopt 2023-11-30 21:11:45 +01:00
tcp_accounting.h
tcp_ecn.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_ecn.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_fastopen.c
tcp_fastopen.h
tcp_fsm.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_hostcache.c
tcp_hpts.c hpts/lro: make tcp_lro_flush_tcphpts() and tcp_run_hpts() pointers 2023-12-04 10:19:46 -08:00
tcp_hpts.h kern/subr_trap.c: repair the HPTS performance hack in userret() 2023-12-04 10:19:46 -08:00
tcp_input.c tcp: for LRD move sysctl from tcp.do_lrd tp tcp.sack.lrd, remove sockopt 2023-11-30 21:11:45 +01:00
tcp_log_buf.c
tcp_log_buf.h
tcp_lro.c kern/subr_trap.c: repair the HPTS performance hack in userret() 2023-12-04 10:19:46 -08:00
tcp_lro.h hpts/lro: make tcp_lro_flush_tcphpts() and tcp_run_hpts() pointers 2023-12-04 10:19:46 -08:00
tcp_lro_hpts.c hpts/lro: make tcp_lro_flush_tcphpts() and tcp_run_hpts() pointers 2023-12-04 10:19:46 -08:00
tcp_offload.c
tcp_offload.h
tcp_output.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_pcap.c
tcp_pcap.h
tcp_ratelimit.c
tcp_ratelimit.h
tcp_reass.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_sack.c tcp: for LRD move sysctl from tcp.do_lrd tp tcp.sack.lrd, remove sockopt 2023-11-30 21:11:45 +01:00
tcp_seq.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_stats.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
tcp_subr.c tcp/hpts: make stacks responsible for clearing themselves out HPTS 2023-12-04 10:19:46 -08:00
tcp_syncache.c tcp: properly initialize LRD while accepting session in syncache 2023-12-02 12:17:01 +01:00
tcp_syncache.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_timer.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_timer.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_timewait.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcp_usrreq.c tcp/hpts: make stacks responsible for clearing themselves out HPTS 2023-12-04 10:19:46 -08:00
tcp_var.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
tcpip.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
toecore.c
toecore.h
udp.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
udp_usrreq.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
udp_var.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
udplite.h