]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
9 years agoReduce the size of the interposing table and amount of
kib [Sun, 11 Jan 2015 22:16:31 +0000 (22:16 +0000)]
Reduce the size of the interposing table and amount of
cancellation-handling code in the libthr.  Translate some syscalls
into their more generic counterpart, and remove translated syscalls
from the table.

List of the affected syscalls:
creat, open -> openat
raise -> thr_kill
sleep, usleep -> nanosleep
pause -> sigsuspend
wait, wait3, waitpid -> wait4

Suggested and reviewed by: jilles (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoRemove dead code.
tuexen [Sun, 11 Jan 2015 21:55:30 +0000 (21:55 +0000)]
Remove dead code.

Reported by: Coverity
CID: 748665
MFC after: 1 week

9 years agoRemove dead code.
tuexen [Sun, 11 Jan 2015 21:44:56 +0000 (21:44 +0000)]
Remove dead code.

Reported by: Coverity
CID: 748666
MFC after: 1 week

9 years agoCheck for and handle failures of bus_dmamap_load(). The driver currently
ian [Sun, 11 Jan 2015 21:27:46 +0000 (21:27 +0000)]
Check for and handle failures of bus_dmamap_load().  The driver currently
requires that each 512 byte IO be in a single contiguous buffer, but if a
buffer crosses a page boundary and the physical pages aren't contiguous
you can get an EFBIG failure (too many segments).

The driver really should handle multiple segment IO, but before adding that
I wanted to make sure that it's handling failure properly while the failure
is easily recreatable.

9 years agoHandle the possibility that SDHCI_PLATFORM_START_TRANSFER() can fail, by
ian [Sun, 11 Jan 2015 21:25:03 +0000 (21:25 +0000)]
Handle the possibility that SDHCI_PLATFORM_START_TRANSFER() can fail, by
moving the handling of curcmd->error != 0 to the end of the interrupt
handler.  Also make sdhci_finish_data() idempotent by moving the setting
of slot->data_done = 1 down past the point where the busdma buffer is
unmapped.  This allows for the possibility that the finish routine can
get called from multiple places when handling errors.

9 years agoRate-limit error logging to 5 lines per second, so that when an sdcard
ian [Sun, 11 Jan 2015 20:55:16 +0000 (20:55 +0000)]
Rate-limit error logging to 5 lines per second, so that when an sdcard
goes bad it doesn't lock up the console with continuous output.

9 years agoFix an off by one in ppsratecheck(). If you asked for N=1 you'd get one,
ian [Sun, 11 Jan 2015 20:48:29 +0000 (20:48 +0000)]
Fix an off by one in ppsratecheck().  If you asked for N=1 you'd get one,
but for any N>1 you'd get N-1 packets/events per second.

9 years agoRight now, for non-coherent DMARs, page table update code flushes the
kib [Sun, 11 Jan 2015 20:27:15 +0000 (20:27 +0000)]
Right now, for non-coherent DMARs, page table update code flushes the
cache for whole page containing modified pte, and more, only last page
in the series of the consequtive pages is flushed (i.e. the affected
mappings should be larger than 2MB).

Avoid excessive flushing and do missed neccessary flushing, by
splitting invalidation and unmapping.  For now, flush exactly the
range of the changed pte.  This is still somewhat bigger than
neccessary, since pte is 8 bytes, while cache flush line is at least
32 bytes.

The originator of the issue reports that after the change,
'dmar_bus_dmamap_unload went from 13,288 cycles down to
3,257. dmar_bus_dmamap_load_buffer went from 9,686 cycles down to
3,517.  and I am now able to get line 1GbE speed with Netperf TCP
(even with 1K message size).'

Diagnosed and tested by: Nadav Amit <nadav.amit@gmail.com>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoFix ordering by SVN revision.
gjb [Sun, 11 Jan 2015 20:07:07 +0000 (20:07 +0000)]
Fix ordering by SVN revision.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271539, bsdinstall(8) parition editor and sade(8)
gjb [Sun, 11 Jan 2015 20:04:35 +0000 (20:04 +0000)]
Document r271539, bsdinstall(8) parition editor and sade(8)
now support ZFS natively.

Sponsored by: The FreeBSD Foundation

9 years agoFix the release notes article.xml file to confirm with
gjb [Sun, 11 Jan 2015 19:01:28 +0000 (19:01 +0000)]
Fix the release notes article.xml file to confirm with
FDP style, specifically reindenting the entire file for
tag alignment, rewrapping lines where necessary.

Sponsored by: The FreeBSD Foundation

9 years agoAdd a comment in the release notes XML file to note the
gjb [Sun, 11 Jan 2015 19:01:25 +0000 (19:01 +0000)]
Add a comment in the release notes XML file to note the
last revision, to make it easier to keep track of where
the last update(s) left off.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r276551, texinfo and info page removal.
gjb [Sun, 11 Jan 2015 19:01:23 +0000 (19:01 +0000)]
Document r276551, texinfo and info page removal.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275963, CPU frequency/voltage control driver for
gjb [Sun, 11 Jan 2015 19:01:20 +0000 (19:01 +0000)]
Document r275963, CPU frequency/voltage control driver for
RPI.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275874, bsdinstall(8) now uses dpv(3) when extracting
gjb [Sun, 11 Jan 2015 19:01:17 +0000 (19:01 +0000)]
Document r275874, bsdinstall(8) now uses dpv(3) when extracting
the distribution packages.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275748, arc_meta_limit now exposed through kernel
gjb [Sun, 11 Jan 2015 19:01:15 +0000 (19:01 +0000)]
Document r275748, arc_meta_limit now exposed through kernel
statistics.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275732, OpenCrypto support for AES-ICM and AES-GCM.
gjb [Sun, 11 Jan 2015 19:01:12 +0000 (19:01 +0000)]
Document r275732, OpenCrypto support for AES-ICM and AES-GCM.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275718, binutils PowerPC relocations update.
gjb [Sun, 11 Jan 2015 19:01:09 +0000 (19:01 +0000)]
Document r275718, binutils PowerPC relocations update.

Sponsored by: The FreeBSD Foundation

9 years agoFix indentation for r270096 entry.
gjb [Sun, 11 Jan 2015 19:01:07 +0000 (19:01 +0000)]
Fix indentation for r270096 entry.
While here, remove the leading 'r' from the revision tag.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275680, fstyp(8) addition.
gjb [Sun, 11 Jan 2015 19:01:04 +0000 (19:01 +0000)]
Document r275680, fstyp(8) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275461, CTL port/LUN limits increased.
gjb [Sun, 11 Jan 2015 19:01:01 +0000 (19:01 +0000)]
Document r275461, CTL port/LUN limits increased.
Add iXsystems to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275299, mrouted rc(8) script removal from base.
gjb [Sun, 11 Jan 2015 19:00:58 +0000 (19:00 +0000)]
Document r275299, mrouted rc(8) script removal from base.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r275171, r275190: hpwmc(4) performance counter
gjb [Sun, 11 Jan 2015 19:00:55 +0000 (19:00 +0000)]
Document r275171, r275190: hpwmc(4) performance counter
sampling fixes for G4 and G5 class processors.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274987, gpio(3) addition.
gjb [Sun, 11 Jan 2015 19:00:52 +0000 (19:00 +0000)]
Document r274987, gpio(3) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274960, elfdump(1) cap_limits support.
gjb [Sun, 11 Jan 2015 19:00:49 +0000 (19:00 +0000)]
Document r274960, elfdump(1) cap_limits support.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274733, PMU power-button event support for certain
gjb [Sun, 11 Jan 2015 19:00:47 +0000 (19:00 +0000)]
Document r274733, PMU power-button event support for certain
PowerBooks.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274394, bsdconfig(8) skips initial tzetup(8) screen
gjb [Sun, 11 Jan 2015 19:00:44 +0000 (19:00 +0000)]
Document r274394, bsdconfig(8) skips initial tzetup(8) screen
if run within a VM.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274386, apci(4) and pci(4) fix for ACPI S3 state.
gjb [Sun, 11 Jan 2015 19:00:41 +0000 (19:00 +0000)]
Document r274386, apci(4) and pci(4) fix for ACPI S3 state.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274246, gre(4) overhaul, me(4) addition.
gjb [Sun, 11 Jan 2015 19:00:38 +0000 (19:00 +0000)]
Document r274246, gre(4) overhaul, me(4) addition.
Add Yandex LLC to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r274085, vt(4) is now default.
gjb [Sun, 11 Jan 2015 19:00:35 +0000 (19:00 +0000)]
Document r274085, vt(4) is now default.

Sponsored by: The FreeBSD Foundation

9 years agoSwitch around the order of static inline to be in line with how it's
adrian [Sun, 11 Jan 2015 18:43:45 +0000 (18:43 +0000)]
Switch around the order of static inline to be in line with how it's
used elsewhere, and to keep gcc-4.7 happy.

This is a request from the DragonflyBSD project.

9 years agoStore the shadow command/mode register in the softc, not a local static var.
ian [Sun, 11 Jan 2015 17:00:24 +0000 (17:00 +0000)]
Store the shadow command/mode register in the softc, not a local static var.

Submitted by: Michal Meloun

9 years agoRename gic_init_secondary to arm_init_secondary_ic to help with the merge
andrew [Sun, 11 Jan 2015 16:46:43 +0000 (16:46 +0000)]
Rename gic_init_secondary to arm_init_secondary_ic to help with the merge
of the arm_intrng project branch.

9 years agoWhen aggregating TRIM segments, move the new one to the list end.
mav [Sun, 11 Jan 2015 16:36:39 +0000 (16:36 +0000)]
When aggregating TRIM segments, move the new one to the list end.

New segment at the list head may block all TRIM requests until txg of that
segment can be processed.  On my random I/O tests this change reduce peak
TRIM list length from 650 to 450 segments.  Hopefully it should reduce TRIM
burstiness when list processing is unblocked.

MFC after: 2 weeks

9 years agoRemove no longer used "M_FLOWID" flag and update the netisr manpage.
hselasky [Sun, 11 Jan 2015 16:15:31 +0000 (16:15 +0000)]
Remove no longer used "M_FLOWID" flag and update the netisr manpage.
This patch completes process started by r275358.

Sponsored by: Mellanox Technologies

9 years agoFix support for ConnectX2 hardware.
hselasky [Sun, 11 Jan 2015 15:00:08 +0000 (15:00 +0000)]
Fix support for ConnectX2 hardware.

MFC after: 3 days
Sponsored by: Mellanox Technologies

9 years agoRework the GIC driver to ease the import of the arm_intrng branch. The
andrew [Sun, 11 Jan 2015 10:26:49 +0000 (10:26 +0000)]
Rework the GIC driver to ease the import of the arm_intrng branch. The
common code has been pulled out to static functions.

9 years agoDo not regenerate and install liblzma.pc when only build libraries
bapt [Sun, 11 Jan 2015 09:25:01 +0000 (09:25 +0000)]
Do not regenerate and install liblzma.pc when only build libraries
aka do not regenerate while generating 32bits libs

Reported by: antoine

9 years agocxgb: replace r273280 with a more comprehensive fix.
np [Sun, 11 Jan 2015 07:51:58 +0000 (07:51 +0000)]
cxgb: replace r273280 with a more comprehensive fix.

Poll for link state when the link is down, even for interrupt capable
PHYs.

Allow PHYs to report a dubious "partial" link.  If this state is seen 3
consecutive times (each check is ~1s apart) then reset the PHY.  This is
a workaround for a situation where repeatedly toggling the link from the
peer gets the AEL2005 PHY into a state where it never establishes a PCS
block lock even when everything is in order.

MFC after: 1 week

9 years agoAdd LBA as secondary sort key for synchronous I/O requests.
mav [Sun, 11 Jan 2015 00:26:18 +0000 (00:26 +0000)]
Add LBA as secondary sort key for synchronous I/O requests.

On FreeBSD gethrtime() implemented via getnanouptime(), that has 1ms (1/hz)
precision.  It makes primary sort key (timestamp) collision very possible.
In such situations sorting by secondary key of LBA is much more reasonable
then by totally meaningless zio pointer value.

With this change on multi-threaded synchronous ZVOL read I've measured 10%
throughput increase and average latency reduction.

MFC after: 2 weeks

9 years agoUse .MAKE.LEVEL being defined as a bootstrap aid when providing
imp [Sat, 10 Jan 2015 23:43:39 +0000 (23:43 +0000)]
Use .MAKE.LEVEL being defined as a bootstrap aid when providing
fallback targets to build the aic generated files. fmake doesn't like
the current construct, and since it doesn't have .MAKE.LEVEL, just
don't provide the fallback targets for fmake. This gives a little
extra compatibility to old systems trying to build new kernels at
almost no cost to the current code.

9 years agoTake out some more no-error warnings, as the build is clean without
imp [Sat, 10 Jan 2015 23:43:37 +0000 (23:43 +0000)]
Take out some more no-error warnings, as the build is clean without
them.

9 years agoFix calculation of requester for PCI device behind PCIe/PCI bridge.
kib [Sat, 10 Jan 2015 23:12:49 +0000 (23:12 +0000)]
Fix calculation of requester for PCI device behind PCIe/PCI bridge.
In my case on the test machine, I have hierarchy of
pcib2 (PCIe port on host bridge with PCIe capability) -> pci2 ->
    pcib3 (ITE PCIe/PCI bridge) -> pci3 -> em1

The device to check PCIe capability is pcib2 and not pcib3, as it is
currently done in the code.  Also, in case of the bridge, we shall
step to pcib2 for the loop iteration, since pcib3 does not carry PCIe
capability info and would force wrong recalculation of rid.

Also change the returned requester to the PCIe bus which provides port
for the bridge.  This only results in changing
hw.busdma.pciX.X.X.X.bounce tunable to force identity-mapped context
for the device.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoPrint rid when announcing DMAR context creation. Print sid when fault
kib [Sat, 10 Jan 2015 22:57:08 +0000 (22:57 +0000)]
Print rid when announcing DMAR context creation.  Print sid when fault
occurs.  This allows to connect dots in case the requester is
calculated erronously.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoFix typo in hpet(4) device name in r273598 entry.
gjb [Sat, 10 Jan 2015 22:23:41 +0000 (22:23 +0000)]
Fix typo in hpet(4) device name in r273598 entry.

Submitted by: Jan Beich
Sponsored by: The FreeBSD Foundation

9 years agoReword entry for r270745: 'tracer' keyword displays the tracing
gjb [Sat, 10 Jan 2015 22:23:38 +0000 (22:23 +0000)]
Reword entry for r270745: 'tracer' keyword displays the tracing
process, not the child<->parent mapping.

Submitted by: mjg
Sponsored by: The FreeBSD Foundation

9 years agoAdd the llvm-symbolizer tool, which enables the sanitizers to report
dim [Sat, 10 Jan 2015 22:22:42 +0000 (22:22 +0000)]
Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information.  This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by: Dan McGregor <danismostlikely@gmail.com>

9 years agoRemove a few redundant DPADD/LDADD pairs in llvm utilities.
dim [Sat, 10 Jan 2015 22:11:49 +0000 (22:11 +0000)]
Remove a few redundant DPADD/LDADD pairs in llvm utilities.

9 years agoMinor fixes:
gjb [Sat, 10 Jan 2015 22:04:46 +0000 (22:04 +0000)]
Minor fixes:
 - Capitalize titles
 - Typo fix.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273806, Chelsio T5 userspace library.
gjb [Sat, 10 Jan 2015 22:04:43 +0000 (22:04 +0000)]
Document r273806, Chelsio T5 userspace library.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273598, /dev/heptN devices for HPET access from
gjb [Sat, 10 Jan 2015 22:04:41 +0000 (22:04 +0000)]
Document r273598, /dev/heptN devices for HPET access from
userland.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273515, virtio_console(4) addition.
gjb [Sat, 10 Jan 2015 22:04:38 +0000 (22:04 +0000)]
Document r273515, virtio_console(4) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273331, vxlan(4) addition.
gjb [Sat, 10 Jan 2015 22:04:35 +0000 (22:04 +0000)]
Document r273331, vxlan(4) addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273264, SD card detection instability fix for RPI.
gjb [Sat, 10 Jan 2015 22:04:32 +0000 (22:04 +0000)]
Document r273264, SD card detection instability fix for RPI.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273178, kern.vt.spclkeys replaced with individual
gjb [Sat, 10 Jan 2015 22:04:30 +0000 (22:04 +0000)]
Document r273178, kern.vt.spclkeys replaced with individual
kern.vt.kbd_* variants.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r273146, OpenSSL updated to 1.0.1j.
gjb [Sat, 10 Jan 2015 22:04:27 +0000 (22:04 +0000)]
Document r273146, OpenSSL updated to 1.0.1j.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272842, r272848, dl_iterate_pthr(3) always
gjb [Sat, 10 Jan 2015 22:04:24 +0000 (22:04 +0000)]
Document r272842, r272848, dl_iterate_pthr(3) always
returns the path of the dlpi_name ELF object.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272730, support for AR816x/AR817x in alc(4).
gjb [Sat, 10 Jan 2015 22:04:21 +0000 (22:04 +0000)]
Document r272730, support for AR816x/AR817x in alc(4).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272720, PLPMTUD blackhole detection (RFC 4821).
gjb [Sat, 10 Jan 2015 22:04:18 +0000 (22:04 +0000)]
Document r272720, PLPMTUD blackhole detection (RFC 4821).
Add Limelight Networks to sponsors.ent.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272488, userland CTF support in DTrace.
gjb [Sat, 10 Jan 2015 22:04:15 +0000 (22:04 +0000)]
Document r272488, userland CTF support in DTrace.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272350, MK_ARM_EABI removal.
gjb [Sat, 10 Jan 2015 22:04:12 +0000 (22:04 +0000)]
Document r272350, MK_ARM_EABI removal.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272274, canmount=off set on /var when installing on
gjb [Sat, 10 Jan 2015 22:04:10 +0000 (22:04 +0000)]
Document r272274, canmount=off set on /var when installing on
ZFS.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272273, '%U' and '%W' support added to strptime(3).
gjb [Sat, 10 Jan 2015 22:04:07 +0000 (22:04 +0000)]
Document r272273, '%U' and '%W' support added to strptime(3).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272198, mkimg(1) longopts to obtain information about
gjb [Sat, 10 Jan 2015 22:04:04 +0000 (22:04 +0000)]
Document r272198, mkimg(1) longopts to obtain information about
the utility itself.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272166, primes(6) fix for incorrectly-returned values.
gjb [Sat, 10 Jan 2015 22:04:01 +0000 (22:04 +0000)]
Document r272166, primes(6) fix for incorrectly-returned values.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r272089, ipfw(4) fix when using dummynet(4) at layer 2
gjb [Sat, 10 Jan 2015 22:03:58 +0000 (22:03 +0000)]
Document r272089, ipfw(4) fix when using dummynet(4) at layer 2
leading to possible kernel panic.

Sponsored by: The FreeBSD Foundation

9 years agoAdd an 'abi-compat' subsection to the 'userland' section.
gjb [Sat, 10 Jan 2015 22:03:56 +0000 (22:03 +0000)]
Add an 'abi-compat' subsection to the 'userland' section.

Document r271982, compat.linux.osrelease updated after
support for CentOS 6 ports has been added.

Sponsored by: The FreeBSD Foundation

9 years agoBump copyright year, following past few commits.
gjb [Sat, 10 Jan 2015 22:03:53 +0000 (22:03 +0000)]
Bump copyright year, following past few commits.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271705, hardware context support added to drm/i915.
gjb [Sat, 10 Jan 2015 22:03:50 +0000 (22:03 +0000)]
Document r271705, hardware context support added to drm/i915.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271697, dtrace fixes for FreeBSD/powerpc.
gjb [Sat, 10 Jan 2015 22:03:47 +0000 (22:03 +0000)]
Document r271697, dtrace fixes for FreeBSD/powerpc.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r271482, mkimg(1) support for empty partition
gjb [Sat, 10 Jan 2015 22:03:44 +0000 (22:03 +0000)]
Document r271482, mkimg(1) support for empty partition
entries.

Sponsored by: The FreeBSD Foundation

9 years agoAdd a 'periodic-scripts' subsection to the 'userland'
gjb [Sat, 10 Jan 2015 22:03:42 +0000 (22:03 +0000)]
Add a 'periodic-scripts' subsection to the 'userland'
section.

Document r271321, don't cross mount boundaries when
cleaning tmp files.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270745, ps(1) 'tracer' keyword addition.
gjb [Sat, 10 Jan 2015 22:03:39 +0000 (22:03 +0000)]
Document r270745, ps(1) 'tracer' keyword addition.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270676, support for ${LOCALBASE}/etc/rc.conf.d in
gjb [Sat, 10 Jan 2015 22:03:36 +0000 (22:03 +0000)]
Document r270676, support for ${LOCALBASE}/etc/rc.conf.d in
rc(8).

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270675, mailwrapper(8) supports mailer.conf(5) in
gjb [Sat, 10 Jan 2015 22:03:33 +0000 (22:03 +0000)]
Document r270675, mailwrapper(8) supports mailer.conf(5) in
LOCALBASE.

Sponsored by: The FreeBSD Foundation

9 years agoDocument r270096, autofs(5).
gjb [Sat, 10 Jan 2015 22:03:30 +0000 (22:03 +0000)]
Document r270096, autofs(5).

Sponsored by: The FreeBSD Foundation

9 years agoRegenerate the manpages for the additional llvm/clang tools. This
dim [Sat, 10 Jan 2015 21:44:31 +0000 (21:44 +0000)]
Regenerate the manpages for the additional llvm/clang tools.  This
contains only very minor updates.

9 years agoMinimize the usage of SCTP_BUF_IS_EXTENDED.
tuexen [Sat, 10 Jan 2015 20:49:57 +0000 (20:49 +0000)]
Minimize the usage of SCTP_BUF_IS_EXTENDED.
This should help Robert...

9 years agoUse new optimized dmu_read_uio_dbuf() for ZVOLs in device mode.
mav [Sat, 10 Jan 2015 18:28:58 +0000 (18:28 +0000)]
Use new optimized dmu_read_uio_dbuf() for ZVOLs in device mode.

This slightly reduces overhead by avoiding dnode_hold()/dnode_rele() calls.

MFC after: 2 weeks

9 years agoRetire SCTP_BUF_EXTEND_SIZE. This patch was suggested by
tuexen [Sat, 10 Jan 2015 13:56:26 +0000 (13:56 +0000)]
Retire SCTP_BUF_EXTEND_SIZE. This patch was suggested by
Robert Watson.

9 years agoGarbage collect m_copymdata(), an mbuf utility routine introduced
rwatson [Sat, 10 Jan 2015 10:41:23 +0000 (10:41 +0000)]
Garbage collect m_copymdata(), an mbuf utility routine introduced
in FreeBSD 7 that has not been used since.  It contains a number
of unresolved bugs including an inverted bcopy() and incorrect
handling of read-only mbufs using internal storage.  Removing this
unused code is substantially essier than fixing it in order to
update it to the coming mbuf world order -- but it can always be
restored from revision history if it turns out to prove useful for
future work.

Pointed out by: jmallett
Sponsored by: EMC / Isilon Storage Division

9 years agoAdd a regression test for PR 192108.
jlh [Sat, 10 Jan 2015 10:16:22 +0000 (10:16 +0000)]
Add a regression test for PR 192108.

I won't go through the hassle of MFCing it since I expect all changes to go
first through HEAD anyway.

PR: 192108

9 years agoRestore Ethernet-within-IP Encapsulation support that was broken after
ae [Sat, 10 Jan 2015 08:28:50 +0000 (08:28 +0000)]
Restore Ethernet-within-IP Encapsulation support that was broken after
r273087. Move all checks from gif_output() into gif_transmit(). Previously
they were checked always, because if_start always called gif_output.
Now gif_transmit() can be called directly from if_bridge() code and we need
do checks here.

PR: 196646
MFC after: 1 week

9 years agoAllow clock_getcpuclockid() on the CPU-time clock for zombie process.
dchagin [Sat, 10 Jan 2015 07:22:38 +0000 (07:22 +0000)]
Allow clock_getcpuclockid() on the CPU-time clock for zombie process.
Posix does not prohibit this.

Differential Revision: https://reviews.freebsd.org/D1470

Reviewed by: kib
MFC after: 1 week

9 years agoIncrease default MAXTSIZ to allow execution of larger binaries.
jhibbits [Sat, 10 Jan 2015 06:54:10 +0000 (06:54 +0000)]
Increase default MAXTSIZ to allow execution of larger binaries.

This allows executing static clang built with -O0.

The value is configurable by a sysctl, so if one needs to clamp it down, they
still can.

Discussed with: nwhitehorn,emaste

9 years agoImprove style and fix a possible use-after-free case introduced in r268384
delphij [Sat, 10 Jan 2015 06:48:35 +0000 (06:48 +0000)]
Improve style and fix a possible use-after-free case introduced in r268384
by reinitializing the 'freestate' pointer after freeing the memory.

Obtained from: HardenedBSD (71fab80c5dd3034b71a29a61064625018671bbeb)
PR: 194525
Submitted by: Oliver Pinter <oliver.pinter@hardenedbsd.org>
MFC after: 2 weeks

9 years agoUse if_name() macro instead of ifp->if_xname.
ae [Sat, 10 Jan 2015 03:29:17 +0000 (03:29 +0000)]
Use if_name() macro instead of ifp->if_xname.

MFH: 1 week

9 years agoFix an error introduced in r274246.
ae [Sat, 10 Jan 2015 03:26:46 +0000 (03:26 +0000)]
Fix an error introduced in r274246.
Pass mtag argument into m_tag_locate() to continue the search from
the last found mtag.

X-MFC after: r274246

9 years agoMove the recursion detection code into separate function gif_check_nesting().
ae [Sat, 10 Jan 2015 03:13:16 +0000 (03:13 +0000)]
Move the recursion detection code into separate function gif_check_nesting().
Also make MTAG_GIF definition private to if_gif.c.

MFC after: 1 week

9 years agoInstall the liblzma pkg-config file
bapt [Sat, 10 Jan 2015 00:11:10 +0000 (00:11 +0000)]
Install the liblzma pkg-config file

MFC after: 1 week

9 years agoImport the lzma pc file
bapt [Sat, 10 Jan 2015 00:07:34 +0000 (00:07 +0000)]
Import the lzma pc file

9 years agoFix typo.
melifaro [Fri, 9 Jan 2015 20:29:13 +0000 (20:29 +0000)]
Fix typo.

Submitted by: Olivér Pintér

9 years agoWith the update of compiler-rt we try to build a number of files that
andrew [Fri, 9 Jan 2015 20:00:37 +0000 (20:00 +0000)]
With the update of compiler-rt we try to build a number of files that
don't build on some ARM platforms, provide symbols we already provide in
libc, or don't exist. Remove these from the build. Some of these may
return later on specific targets.

Differential Revision: https://reviews.freebsd.org/D1468
Reviewed by: dim, imp

9 years agoAdd MBR EFI partition type definition
emaste [Fri, 9 Jan 2015 19:37:12 +0000 (19:37 +0000)]
Add MBR EFI partition type definition

Sponsored by: The FreeBSD Foundation

9 years agomkimg: Add MBR EFI partition type
emaste [Fri, 9 Jan 2015 19:34:48 +0000 (19:34 +0000)]
mkimg: Add MBR EFI partition type

Sponsored by: The FreeBSD Foundation

9 years agoAdd support for USB device side mode to the USB modem driver.
hselasky [Fri, 9 Jan 2015 18:40:12 +0000 (18:40 +0000)]
Add support for USB device side mode to the USB modem driver.

MFC after: 1 week
Submitted by: br@

9 years agovar/named/etc/namedb/working should be removed as part of namedb.
delphij [Fri, 9 Jan 2015 18:09:45 +0000 (18:09 +0000)]
var/named/etc/namedb/working should be removed as part of namedb.

MFC after: 2 weeks

9 years agoFixup r276668, /usr/tests/sbin/ifconfig/ shouldn't be removed.
delphij [Fri, 9 Jan 2015 18:07:08 +0000 (18:07 +0000)]
Fixup r276668, /usr/tests/sbin/ifconfig/ shouldn't be removed.

9 years agoProperly remove ieee488, gpib and readline from mtree.
delphij [Fri, 9 Jan 2015 18:05:50 +0000 (18:05 +0000)]
Properly remove ieee488, gpib and readline from mtree.

9 years agoUninline M_SIZE() in m_align() to reduce direct use of MLEN and MHLEN.
rwatson [Fri, 9 Jan 2015 15:21:53 +0000 (15:21 +0000)]
Uninline M_SIZE() in m_align() to reduce direct use of MLEN and MHLEN.

Differential Revision: https://reviews.freebsd.org/D1471
Reviewed by: glebius, bz, rpaulo
Sponsored by: EMC / Isilon Storage Division