Enji Cooper
238fb74d5c
Followup to r275144 -- don't traverse down usr.sbin/zzz if ACPI/APM are disabled
2014-11-26 22:27:31 +00:00
Enji Cooper
c1399c63ec
- Fix egrep -> grep typo introduced in previous commit
...
- Do depth-first search on OLD_DIRS so the list is logically sorted
2014-11-26 22:26:22 +00:00
Enji Cooper
f5ce9d6be9
Installing zzz(8) doesn't make sense when both ACPI and APM are disabled
2014-11-26 21:53:53 +00:00
Enji Cooper
f8a682df15
Add missing line continuation
2014-11-26 21:32:12 +00:00
Enji Cooper
0341ccf227
Clean up more usb related files when MK_USB == no when dealing with
...
manpages, libraries, and binaries
2014-11-26 21:18:52 +00:00
Enji Cooper
38082ac9ae
- Handle OLD_LIBS properly by looking for versioned .so's
...
- Filter out /usr/libdata and /usr/libdata/pkgconfig from OLD_DIRS
2014-11-26 21:17:32 +00:00
Enji Cooper
ece34a4f2d
Fix use of OLD_FILES and OLD_LIBS for MK_BSNMP and MK_TESTS
...
Convention in the file is that .a files be added to OLD_FILES and versioned .so's
be added to OLD_LIBS
2014-11-26 14:01:27 +00:00
Enji Cooper
24dce9ffb7
Ignore LIBPRIVATEDIR when suggesting directories to prune
2014-11-26 13:26:12 +00:00
Enji Cooper
a3f5edf093
Add MK_TIMED option for optionally building usr.sbin/timed, et al
2014-11-26 13:25:09 +00:00
Enji Cooper
046cc7b93e
Account for /usr/include/protocols/r{outed,whod}.h with their respective build knobs
2014-11-26 12:54:58 +00:00
Enji Cooper
12de3059d0
Fix some accidentally inverted logic
2014-11-26 12:49:37 +00:00
Enji Cooper
466046ec0d
Conditionalize a number of components in the tree
...
- bootparamd
- bootpd
- finger/fingerd
- ftp/ftpd
- hastctl/hastd
- iscsid, et al
- rbootd
- talk/talkd
- tcpd, et al
- tftp/tftpd
Add src.conf entries for the various components and do a best effort
at adding components to tools/build/mk/OptionalObsoleteFiles.inc
2014-11-26 08:44:05 +00:00
Enji Cooper
7e57795a34
Don't try and build 32-bit versions of hyperv / bhyve
2014-11-26 06:54:17 +00:00
Enji Cooper
fb624adcf8
MK_HYPERV:
...
Sort OLD_FILES and add /usr/libexec/hyperv to OLD_DIRS
2014-11-26 03:38:12 +00:00
Enji Cooper
961281fa16
Don't install the rsh and telnetd pam.d files if MK_RCMDS == no
...
or MK_TELNET == no, respectively
2014-11-26 02:59:37 +00:00
Enji Cooper
4bbfcad580
Only install the accounting/apm rc scripts for MK_ACCT/MK_APM if the relevant
...
knobs are set
2014-11-26 02:46:48 +00:00
Enji Cooper
bdf492a3ac
Missed the bsnmp config file
2014-11-26 02:37:00 +00:00
Enji Cooper
3802be0323
Remove deadcode
2014-11-26 00:13:51 +00:00
Enji Cooper
fe4c66a4f8
Add script I'm using to add entries to OptionalObsoleteFiles.inc
2014-11-25 23:01:01 +00:00
Enji Cooper
88585cd46c
Add more MK_BSNMP == no entries for things not caught due to custom
...
settings in $SRCCONF
2014-11-25 22:38:16 +00:00
Enji Cooper
9a2c263854
Don't build/install lib/libvmmapi if MK_BHYVE == no
...
Suggested by: grehan
2014-11-25 19:45:28 +00:00
Enji Cooper
6d94729e30
Fill in entries for MK_BSNMP == no
2014-11-25 19:38:23 +00:00
Enji Cooper
05d9930e0f
Only install etc/rc.d/bsnmpd if MK_BSNMP == yes
2014-11-25 19:37:55 +00:00
Enji Cooper
4be1ca354c
Make building/installing bhyve optional via MK_BHYVE on amd64
...
Disable building/installing bhyve from src.opts.mk on unsupported
architectures (!amd64)
2014-11-25 19:20:25 +00:00
Enji Cooper
c341279404
Add an additional src.conf doc snippet for WITH_HYPERV
2014-11-25 19:17:12 +00:00
Enji Cooper
1bdede93d8
Make src.opts.mk the source of truth for whether or not to build hyperv
...
In particular, according to several Makefiles it can only be built/run on
amd64 and i386/i386. It isn't supported on i386/pc98
2014-11-25 19:01:49 +00:00
Enji Cooper
05bc3dd6c0
Make inetd optional via MK_INETD
2014-11-25 08:39:46 +00:00
Enji Cooper
8bbfb3bbe9
Don't install othermta unless MK_MAIL == yes
2014-11-25 08:04:32 +00:00
Enji Cooper
41e0727670
Make bsdinstall(8) and sade(8) optional components via MK_BSDINSTALL=yes
2014-11-25 07:30:26 +00:00
Enji Cooper
c1479b76dc
The shift; shift needs to be moved outside the .if ${MK_OPENSSL} conditional
2014-11-25 07:14:16 +00:00
Enji Cooper
8f09f1ecff
Don't create symlinks for nls/openssl unless the respective options are set
2014-11-25 07:12:32 +00:00
Dimitry Andric
519195e820
For now, disable using -fsanitize=bounds for the libc ssp tests, when
...
using clang 3.5.0, until the runtime support (via compiler-rt) is added.
Otherwise, this would lead to link errors about missing support
libraries.
2014-11-24 20:07:09 +00:00
John Baldwin
a2d751936b
Add a bus_get_domain() wrapper around BUS_GET_DOMAIN(). Use this to add
...
a new per-device '%domain' sysctl node that returns the NUMA domain a
device is associated with if it is associated with one.
Note that this API is still a WIP and might change before 11.0 actually
ships.
Differential Revision: https://reviews.freebsd.org/D930
Reviewed by: kib, adrian
2014-11-24 19:55:45 +00:00
John Baldwin
20abb66ede
Properly initialize the capability rights for vnodes exported to procstat
...
that aren't for file descriptors (cwd, jdir, tracevp, etc.).
Submitted by: Mikhail <mp@lenta.ru>
2014-11-24 18:34:11 +00:00
Ian Lepore
e56e554106
Add busdma sync ops before reading and after modifying the descriptor rings.
...
This was previously working by accident because BUSDMA_COHERENT_MEMORY has
always been set to strongly-ordered on arm. Now we're moving towards
normal-uncacheable (what might be called write-combining on other platforms)
and using the proper sync ops will be more important. Of course, that
opens the question of just what is the "proper" sync op for shared
concurrent dma access as opposed to accesses where the handoff of control
of the memory has well-defined sequence points that match the available
busdma sync operations.
2014-11-24 16:12:11 +00:00
Philip Paeps
894d1973f1
Add a sysctl `net.link.tap.deladdrs_on_close' to configure whether tap
...
should delete configured addresses and routes when the interface is
closed. Default is enabled (preserve current behaviour).
MFC after: 1 week
2014-11-24 14:00:27 +00:00
Edward Tomasz Napierala
c74915e08d
Make it possible to specify flags for autofs daemons in rc.conf.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2014-11-24 13:02:39 +00:00
Andrey V. Elsukov
a5cb3e8dd0
Add ip_gre.h to ObsoleteFiles.inc.
...
Sponsored by: Yandex LLC
2014-11-24 12:53:56 +00:00
Alexander Motin
1251a76b12
Replace home-grown CTL IO allocator with UMA.
...
Old allocator created significant lock congestion protecting its lists
of preallocated I/Os, while UMA provides much better SMP scalability.
The downside of UMA is lack of reliable preallocation, that could guarantee
successful allocation in non-sleepable environments. But careful code
review shown, that only CAM target frontend really has that requirement.
Fix that making that frontend preallocate and statically bind CTL I/O for
every ATIO/INOT it preallocates any way. That allows to avoid allocations
in hot I/O path. Other frontends either may sleep in allocation context
or can properly handle allocation errors.
On 40-core server with 6 ZVOL-backed LUNs and 7 iSCSI client connections
this change increases peak performance from ~700K to >1M IOPS! Yay! :)
MFC after: 1 month
Sponsored by: iXsystems, Inc.
2014-11-24 11:37:27 +00:00
Christian Brueffer
9efc7e72bb
Limit descriptors and enter capability mode.
...
Differential: D1009
Reviewed by: jonathan, pjd
MFC after: 2 weeks
Relnotes: yes
2014-11-24 09:31:38 +00:00
Edward Tomasz Napierala
b822a99413
Remove the pidfile clause from the ctl.conf example. Why do everyone
...
just copy/paste this line into their configs, it's beyond me.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2014-11-24 08:13:44 +00:00
Baptiste Daroussin
4dd0fabd2a
Fix rendering of manpages with mandoc(1)
2014-11-24 08:13:21 +00:00
Gleb Smirnoff
1bb5ad634e
We already have "int i" in this scope.
...
Submitted by: alc
2014-11-24 07:57:20 +00:00
Ian Lepore
3787815761
The arm PJ4B cpu is armv7 architecture, not v6.
...
If this feels like deja vu... the last time this was fixed in this file
only ARM_MMU_V6 was fixed, this time it's ARM_ARCH_V6 (and this time I
searched for other occurrances of pj4b in here).
2014-11-24 01:13:58 +00:00
Alexander Motin
7c5db11fe0
Read cs_outstanding_ctl_pdus before incrementing it for NEXUS RESET task.
...
This removes extra log noise on idle connection termination.
MFC after: 1 week
2014-11-24 00:59:51 +00:00
Baptiste Daroussin
e4fd57fb66
Fix rendering with mandoc
2014-11-24 00:34:49 +00:00
Ian Lepore
7e96dec7bb
Add ARMV6 as an arm option. This will cause obscure magic in config(8)
...
to automatically set the armv6 option when MACHINE_ARCH is armv6. That
allows replacing ever-growing lists of cpu names as options to compile
a given file with the using either "optional armv6" or "optional !armv6".
2014-11-24 00:02:15 +00:00
Ian Lepore
0fe8749f47
Fix the negation (!) operator so that it binds only to the word that
...
immediately follows it, which means 'not' has to be reset every time an
option word or device name is processed.
2014-11-23 23:58:47 +00:00
Baptiste Daroussin
968b834074
Fix rendering with mandoc
2014-11-23 23:56:01 +00:00
Baptiste Daroussin
e03c69daec
Fix rendering with mandoc
2014-11-23 23:55:04 +00:00