FreeBSD_HEAD_amd64_gcc4.9 - Build #1046 - Fixed

From: <jenkins-admin_at_FreeBSD.org>
Date: Sun, 31 Jan 2016 10:47:28 +0000 (GMT)
FreeBSD_HEAD_amd64_gcc4.9 - Build #1046 - Fixed:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc4.9/1046/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc4.9/1046/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc4.9/1046/console

Change summaries:

295091 by mmel:
ARM: Rename ARM specific VM_MEMATTR_WT memory attribute to standard one.

295090 by mmel:
ARM: Convert spaces to tabs, fix formatting.
Not a functional change.

295089 by mmel:
ARM: Next round of cleanup in swtch-v*.S.
 - remove now useless #if __ARM_ARCH conditional
 - use macro for accessing CP15 registers
 - remove unused PCPU_SIZE

Pointed by: kib

295087 by imp:
Implement power command to list all power modes, find out the power
mode we're in and to set the power mode.

295086 by ian:
Make pfctl(8) work on strict-alignment platforms, by copying a pair of
embedded structures out of a packed, unaligned struct into local copies
on the stack which are aligned.

The original patch to do this was submitted by Guy Yur <guyyur_at_gmail.com>,
and this is conceptually the same change, but restructured with the
#ifndef __NO_STRICT_ALIGNMENT wrapper, similar to how the same issue is
handled in the kernel pf code.

PR:		185617
PR:		206658

295085 by jilles:
sh: Don't allocate a redirtab if there are no redirections.

Builtins (including variable assignments without command word), function
calls and redirected compound commands need to restore file descriptors
to their original state after execution. This is handled by allocating a
redirtab structure. These mallocs and frees show up heavily in pmcstat.

Only allocate a redirtab if there are actually redirections and maintain a
count of how many levels of REDIR_PUSH there are without redirtabs.

A simple loop without external programs like

sh -c 'i=0; w=$(printf %0100d 7); while [ "$i" -lt 1000000 ]; do
    i=$((i+1)); done'

is over 25% faster on an amd64 bhyve VM.

295083 by jilles:
sh(1): Document 'cd -'.

This reflects the changes in r294649 and can therefore not be MFCed by
itself.

295082 by jilles:
test: Optimize operator lookup.

The linear search using strcmp() shows up in pmcstat for several percent.

Split the operators into lengths and whether they start with '-' and compare
bytes using == instead of strcmp().

A simple test

sh -c 'i=0; w=$(printf %0100d 7); while [ "$i" -lt 1000000 ]; do
    v=$(printf %sx%s "$w" "$w"); i=$((i+1)); done'

is over 4% faster on an amd64 bhyve VM.

295080 by ngie:
Use the correct type for i when iterating over `buf` to avoid unlikely
negative array indexing in iicrdwr(..)

Differential Revision: https://reviews.freebsd.org/D5132
Obtained from: HardenedBSD
PR: 206754
Reported by: CTurt <cturt_at_hardenedbsd.org>
Submitted by: Madhi Moktari <mokhi64_at_gmail.com>
Sponsored by: EMC / Isilon Storage Division

295079 by ngie:
Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on
64-bit architectures where sizeof(int) != sizeof(size_t).

MFC after: 1 week
PR: 206758
Reported by: Christoph Schönweiler <public2016_at_hauptsignal.at>
Submitted by: kib
Sponsored by: EMC / Isilon Storage Division

295077 by tuexen:
Add missing parentheses. This was reported by ccaughie via GitHub
for the userland stack.

MFC after: 3 days

295076 by ngie:
Revert r295062 to unbreak buildworld

Some of the structures referenced in power.c (in particular
struct nvme_power_state) are missing from sbin/nvmecontrol/

Pointyhat to: imp
Reported by: Jenkins [*], O. Hartmann <ohartman_at_zedat.fu-berlin.de>, Outback Dingo <outbackdingo_at_gmail.com>

295075 by tuexen:
Update the path mtu when turning on/off UDP encapsulation for SCTP.

MFC after: 3 days

295074 by allanjude:
The zfsboot automated part of bsdinstall now supports UEFI

MFC after:	3 days
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D4960

295073 by mmel:
ARM: Remove TLB IPI.
We don't support SMP on ARMv6. All ARMv7 multicore cpus already uses
hardware broadcast for TLB and cache operations.

295072 by tuexen:
Don't allow a remote encapsulation port change during the
SCTP restart procedure.

MFC after: 3 days

295071 by mmel:
ARM: Cleanup mp_machdep.c. SMP is supported only on ARMv6 and later.

295070 by tuexen:
Don't change the remote UDP encapsulation port for SCTP packets
containing an INIT chunk.

MFC after: 3 days

295069 by tuexen:
Ignore peer addresses in a consistent way also when checking for
new addresses during restart. If this is not done, restart doesn't
work when the local socket is IPv4 only and the peer uses
IPv4 and IPv6 addresses.

MFC after: 3 days.

295068 by mmel:
ARM: Don't misuse ARM_TP_ADDRESS as ARMv4 / ARMv6 selector.
Received on Sun Jan 31 2016 - 09:47:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC