freebsd-skq/usr.bin/netstat
Gleb Smirnoff 5dba303d01 Use bogus_page to properly reduce number of I/Os in sendfile(2). The new
sendfile_swapin() loop works this way:

- Find first invalid page in the request.
- Do vm_pager_has_page() and get count of pages, that can be taken in
  single I/O.
- Trim valid pages from the end of the request.
- Cycle through the request and substitute to bogus_page all valid
  pages that are in the middle of the request.
- After I/O launched (pager copies array of pages into buf(9), it
  is important to restore proper page pointers with help vm_page_lookup().

Count bogus pages used and report them in sendfile stats.
2016-11-17 21:02:55 +00:00
..
bpf.c Stop including if_var.h from userland. 2015-04-06 09:42:23 +00:00
flowtable.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
if.c Avoid core dump when output style is html. 2015-11-20 12:15:58 +00:00
inet6.c Fix the output for scope statistics. 2016-08-17 16:56:20 +00:00
inet.c When calling netstat -Laptcp the local address values are not aligned 2016-07-15 17:40:34 +00:00
ipsec.c Switch the IPsec related statistics to using the built in sysctl 2015-12-17 02:02:09 +00:00
main.c Print running TCP connection counts with TCP statistics. 2016-03-15 00:19:30 +00:00
Makefile Replace DPSRCS that work fine in SRCS. 2015-11-25 20:38:17 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
mbuf.c Use bogus_page to properly reduce number of I/Os in sendfile(2). The new 2016-11-17 21:02:55 +00:00
mroute6.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
mroute.c Use a common subroutine to fetch and zero protocol stats instead of 2015-09-11 04:37:01 +00:00
netgraph.c Simplify kvm symbol resolution and error handling. The symbol table 2015-09-02 18:51:36 +00:00
netisr.c Simplify kvm symbol resolution and error handling. The symbol table 2015-09-02 18:51:36 +00:00
netstat.1 Add more text to explain --libxo flag. 2015-12-01 19:18:53 +00:00
netstat.h Print running TCP connection counts with TCP statistics. 2016-03-15 00:19:30 +00:00
nlist_symbols Print running TCP connection counts with TCP statistics. 2016-03-15 00:19:30 +00:00
pfkey.c Use nitems() from sys/param.h. 2016-07-30 07:06:23 +00:00
route.c Fix build without INET6 and with gcc. A function definition was ifdefed 2016-08-27 11:06:06 +00:00
sctp.c Don't duplicate code for SCTP, just use the ones used for UDP and TCP. 2016-07-17 11:43:27 +00:00
unix.c Use NULL instead of 0 for pointers. 2016-04-18 05:46:18 +00:00