Commit Graph

16087 Commits

Author SHA1 Message Date
kargl
962e063cdb Fix a typographical error.
Confirmed by:	n1256.pdf
Obtained from:	Dragonfly BSD
2015-01-06 23:04:41 +00:00
rwatson
60909669f0 In order to reduce use of M_EXT outside of the mbuf allocator and
socket-buffer implementations, introduce a return value for MCLGET()
(and m_cljget() that underlies it) to allow the caller to avoid testing
M_EXT itself.  Update all callers to use the return value.

With this change, very few network device drivers remain aware of
M_EXT; the primary exceptions lie in mbuf-chain pretty printers for
debugging, and in a few cases, custom mbuf and cluster allocation
implementations.

NB: This is a difficult-to-test change as it touches many drivers for
which I don't have physical devices.  Instead we've gone for intensive
review, but further post-commit review would definitely be appreciated
to spot errors where changes could not easily be made mechanically,
but were largely mechanical in nature.

Differential Revision:	https://reviews.freebsd.org/D1440
Reviewed by:	adrian, bz, gnn
Sponsored by:	EMC / Isilon Storage Division
2015-01-06 12:59:37 +00:00
imp
20163879d8 Remove old ioctl use and support, once and for all. 2015-01-06 05:28:37 +00:00
brueffer
47d4a0fc0c Add a very basic manpage for the Etherswitch framework.
MFC after:	1 week
2015-01-05 11:40:05 +00:00
kevlo
1bb98ee8d4 Mention axge(4). 2015-01-05 10:10:35 +00:00
ngie
174bffd0e1 Bump .Dd again for the change done in r276483
Pointyhat to: me
2015-01-05 00:03:42 +00:00
gibbs
7646916ff0 Prevent live-lock and access of destroyed data in taskqueue_drain_all().
Phabric:	https://reviews.freebsd.org/D1247
Reviewed by:	jhb, avg
Sponsored by:	Spectra Logic Corporation

sys/kern_subr_taskqueue.c:
	Modify taskqueue_drain_all() processing to use a temporary
	"barrier task", rather than rely on a user task that may
	be destroyed during taskqueue_drain_all()'s execution.  The
	barrier task is queued behind all previously queued tasks
	and then has its priority elevated so that future tasks
	cannot pass it in the queue.

	Use a similar barrier scheme to drain threads processing
	current tasks.  This requires taskqueue_run_locked() to
	insert and remove the taskqueue_busy object for the running
	thread for every task processed.

share/man/man9/taskqueue.9:
	Remove warning about live-lock issues with taskqueue_drain_all()
	and indicate that it does not wait for tasks queued after
	it begins processing.
2015-01-04 19:55:44 +00:00
ngie
4cb93faf94 Remove MK_INFO guards in bsd.info.mk per r276556
As a side-effect now info pages will always be built/installed if
MK_INFO == yes, whereas before their presence was conditional based on the
value of MK_INFO

This .mk file might be removed in the future, pending discussion on -arch. For
now unbreak its use outside of src (with the only use in ports according to
bapt being devel/cvs*)

X-MFC with: r276551, r276556
Reviewed by: bapt
Differential Revision: D1413
2015-01-02 22:55:30 +00:00
bapt
3797076999 Regen after removal of texinfo 2015-01-02 19:01:36 +00:00
bapt
d546149b52 Remove leftovers from r276551 2015-01-02 18:54:55 +00:00
bapt
110917eb46 Use mandoc to generate cat pages 2015-01-02 14:05:30 +00:00
bapt
500e1987bc Use mandoc -Tlint instead of groff for manlint target 2015-01-02 13:54:03 +00:00
scottl
445e8d91ed Garbage collect the asr driver. Hardware for it has not been produced in
roughly 10 years, and the driver has not enjoyed any significant maintenance
since long before that.  Despite well-meaning efforts from a number of
people, myself included, it never made the jump to 64-bit and was relegated
to the back-corners of i386.  Now its frailty is hampering forward progress
with Clang.  Any renewed engineering efforts are of course welcome and can
happen outside of the tree.  No MFC of this is planned.
2015-01-02 05:34:14 +00:00
imp
80cbbd369b Put the conditional back. For the default case it isn't really needed,
but for the gcc case it still is on i386 and amd64's build of
sys/boot.

Submited by: dim@
2015-01-01 08:30:32 +00:00
imp
d3f8dba1e5 Eliminate bsd.sys.mk on purpose. Do not put it back. 2015-01-01 04:26:45 +00:00
ngie
bbae578a48 Unbreak the build for some modules that depend on -std flags to be passed
through via CFLAGS, as noted by Jenkins when building sparc64 by re-adding
bsd.sys.mk to bsd.kmod.mk:
https://jenkins.freebsd.org/job/FreeBSD_HEAD_sparc64/225/changes

Tested with:
    % cd /sys/modules/bce; make obj; make depend; make all
2015-01-01 04:10:56 +00:00
imp
6783859f31 Fix module builds on arm (and maybe others) by turning off a whole
raft of new warnings that appear to be on by default in clang 3.5.0.
Fix RPI-B build issues with new clang not liking the ability to pass
arbitrary flags to as, since some flags are more arbitrary (and thus
verboten) than others.

These warnings should be actually fixed in the code, but this is a
band-aide to get things (almost) building again.
2015-01-01 02:00:04 +00:00
ngie
0f65758efe The variable used with install(1) for stripping should be STRIPBIN, not
STRIP_CMD

MFC after: 3 days
Reported by: lev
2014-12-31 22:49:02 +00:00
dim
398c7d4c04 Merge ^/head r274961 through r276472. 2014-12-31 16:50:46 +00:00
wblock
80ecdea1cc Remove the svn:executable property from iscsi.4.
PR:		196380
Submitted by:	Trond.Endrestol@ximalas.info
MFC after:	1 week
2014-12-30 21:55:50 +00:00
dim
46bb7dfa77 Merge ^/head r274961 through r276418. 2014-12-30 20:23:03 +00:00
joel
fb7abcd8fc mdoc: remove EOL whitespace. 2014-12-29 13:50:59 +00:00
dim
6a83300648 Merge ^/head r274961 through r276346. 2014-12-28 21:13:55 +00:00
sbruno
26a4abd5a2 Correct naming of sysctl pmtud_blackhole_activated_min_mss.
Clarify some statements around PMTUD blackhole detection to make
the behavior more clear in the man page.

Submitted by:	Mikhail <mp@lenta.ru>
MFC after:	2 weeks
2014-12-28 20:56:03 +00:00
dim
051b05da04 Merge ^/head r274961 through r276342. 2014-12-28 20:02:06 +00:00
antoine
ac94468870 Add ncurses to _LIBRARIES so that libmenu is correctly linked
PR:		ports/195782
2014-12-28 15:38:50 +00:00
ngie
510b98dc2a Add LIBADD to PROG_VARS, similar to DPADD/LDADD 2014-12-27 20:33:04 +00:00
ngie
c9f4b4e0f6 Bump .Dd for change done in r275908 2014-12-27 17:13:09 +00:00
dim
1848cf1db3 Merge ^/head r274961 through r276301. 2014-12-27 14:58:52 +00:00
schweikh
f5a9f33556 Correct a typo. 2014-12-27 10:28:20 +00:00
joel
7e529110a7 mdoc: improvements to SEE ALSO. 2014-12-27 07:07:37 +00:00
bapt
c902569071 Sort SEE ALSO 2014-12-26 22:44:27 +00:00
bapt
f712ff6ef7 sort SEE ALSO 2014-12-26 22:43:54 +00:00
bapt
132a39653e sort SEE ALSO 2014-12-26 22:41:10 +00:00
bapt
dad23483ed Sort SEE ALSO 2014-12-26 22:30:18 +00:00
bapt
4581d744fb mdoc fix 2014-12-26 21:45:01 +00:00
bapt
07a696a80c Escape Ed to prevent mandoc to avoid confusion with the mdoc's Ed macros 2014-12-26 21:11:33 +00:00
bapt
1b2f73b222 mdoc fixes (escape the dot to prevent ... to be considered as a macro) 2014-12-26 21:03:56 +00:00
joel
4e43db302d Minor mdoc fixes. 2014-12-26 09:35:23 +00:00
kevlo
b35fa78035 Mention cc_cdg. 2014-12-26 01:48:44 +00:00
phk
92a41d31d4 Deorbit the IEEE-488/GPIB support. 2014-12-25 20:15:13 +00:00
kevlo
6df4ee7c40 Replace CC_VAR with CCV, since the CC_VAR macro doesn't exist.
While here, add MLINK for CCV.9 and DECLARE_CC_MODULE.9.
2014-12-25 15:17:57 +00:00
bofh
7a8cf9f70a Fix missing \n in committers-ports.dot while adding myself
Differential Revision:	https://reviews.freebsd.org/D1365
Submitted by:	danfe
Approved by:	bapt(mentor)
2014-12-24 13:25:22 +00:00
bofh
6671ba9b2c Update Mentor and Mentee Information (bofh)
Differential Revision:	https://reviews.freebsd.org/D1363
Reviewed by:	bapt
Approved by:	bapt
2014-12-24 09:25:16 +00:00
bapt
392403b5c9 Fix build with recent binutils
Recent binutils considered the .gnu.warning.symbol section as a fatal error when
run with --fatal-warnings which makes any users of "insecure" functions from
libc failing to build with recent binutils.

Introduce a new macro: LD_FATAL_WARNINGS=no to run ld(1) with
--no-fatal-warnings for the users of "insecure" functions

Differential Revision:	https://reviews.freebsd.org/D1320
2014-12-23 10:43:35 +00:00
brueffer
dc82b6d096 Various mdoc fixes.
Found with:	mandoc -Tlint
2014-12-21 12:13:49 +00:00
brueffer
3d2f95b7b4 Fix various mdoc issues and some EOL whitespace.
Found with:	mandoc -Tlint
2014-12-21 10:57:42 +00:00
brueffer
33d4745855 Remove EOL whitespace.
Found with:	mandoc -Tlint
2014-12-21 10:04:26 +00:00
brueffer
b61c6e4e79 Fix various mdoc issues.
Found with:	mandoc -Tlint
2014-12-21 09:53:29 +00:00
dim
467c59d5a8 Merge ^/head r275759 through r275911. 2014-12-18 18:44:22 +00:00