fb1ec6a9 kib Dec. 30, 2018, 3:55 p.m.
on tier-1 i386 architecture.

Requested by:	hselasky
MFC after:	1 week
Sponsored by:	Mellanox Technologies
cgit ViewVC
f823a36e kib Dec. 30, 2018, 3:46 p.m.
the destroying cdev.

Currently linux_destroy_dev() waits for the reference count on the
linux cdev to drain, and each open file hold the reference.
Practically it means that linux_destroy_dev() is blocked until all
userspace processes that have the cdev open, exit.  FreeBSD devfs does
not have such problem, because device refcount only prevents freeing
of the cdev memory, and separate 'active methods' counter blocks
destroy_dev() until all threads leave the cdevsw methods.  After that,
attempts to enter cdevsw methods are refused with an error.

Implement somewhat similar mechanism for LinuxKPI cdevs.  Demote cdev
refcount to only mean a hold on the linux cdev memory.  Add sirefs
count to track both number of threads inside the cdev methods, and for
single-bit indicator that cdev is being destroyed.  In the later case,
the call is redirected to the dummy cdev.

Reviewed by:	markj
Discussed with:	hselasky
Tested by:	zeising
MFC after:	1 week
Sponsored by:	Mellanox Technologies
Differential revision:	https://reviews.freebsd.org/D18606
cgit ViewVC
e5a3393a kib Dec. 30, 2018, 3:38 p.m.
Reviewed by:	markj
Discussed with:	hselasky
Tested by:	zeising
MFC after:	1 week
Sponsored by:	Mellanox Technologies
Differential revision:	https://reviews.freebsd.org/D18606
cgit ViewVC
46aedfa2 tsoome Dec. 30, 2018, 3:34 p.m.
Reported by:	Rodney W. Grimes
cgit ViewVC
069598b9 kib Dec. 30, 2018, 3:28 p.m.
Reviewed by:	markj
Discussed with:	hselasky
Tested by:	zeising
MFC after:	1 week
Sponsored by:	Mellanox Technologies
Differential revision:	https://reviews.freebsd.org/D18606
cgit ViewVC
75772fa2 tsoome Dec. 30, 2018, 9:35 a.m.
We do have 16KB buffer space defined in pxe.c, move it to bio.c and implement
bio_alloc()/bio_free() interface to make it possible to use this space for
other BIOS calls (notably, from biosdisk.c).

MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D17131
cgit ViewVC
84fe762c delphij Dec. 30, 2018, 8:30 a.m.
MFC after:	2 weeks
cgit ViewVC
2c5e84cc philip Dec. 30, 2018, 8:22 a.m.
00380ae2 philip Dec. 30, 2018, 8:13 a.m.
751ae981 mckusick Dec. 30, 2018, 6:03 a.m.
when the function is entered.

Suggested by: kib
cgit ViewVC
1c521f70 mckusick Dec. 30, 2018, 5:03 a.m.
vnodeops make FFS1's fifoops1 use ffs_lock. Also delete ffs_reallocblks
from fifoops1 which is needed only for fifoops2 because of its
support for extended attributes that need to allocate blocks.

Suggested by: kib
cgit ViewVC
da7e48c6 cy Dec. 30, 2018, 4:25 a.m.
TCP_PAWS_IDLE is defined in netinet/tcp_seq.h, however this header
isn't included explicitly or implicitly at this point therefore
as far ipfilter is concerned TCP_PAWS_IDLE is not defined. Remove
the #ifdef and include netinet/tcp.h unconditionally.

MFC after:	1 week
cgit ViewVC
18569211 avos Dec. 30, 2018, 3:03 a.m.
This should be a part of r312972.

MFC after:	4 days
cgit ViewVC
450ffb7c np Dec. 30, 2018, 1:57 a.m.
MFC after:	1 week
cgit ViewVC
154b4d39 0mp Dec. 30, 2018, 12:27 a.m.
While here, improve formatting of the EXAMPLES section in general.

Reviewed by:	bcr
Approved by:	bcr (doc)
Approved by:	krion (mentor, implicit), mat (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D18682
cgit ViewVC