New FreeBSD snapshots and virtual machine disk images (20130818 r254497)

Glen Barber gjb at FreeBSD.org
Mon Aug 19 19:49:50 UTC 2013


New FreeBSD development branch installation ISOs and virtual machine
disk images have been uploaded to the FTP mirrors.

Subversion logs since the last set of snapshots attached to this
email.

As with any development branch, the installation snapshots are not
intended for use on production systems.  We do, however, encourage
testing on non-production systems as much as possible.

If tracking the stable/9 branch or planning to upgrade systems to
9.2-RELEASE, testing the stable/9 snapshots is strongly encouraged
so that potential problems may be found and fixed before the release.

These may be found in the normal releases/ directory of FTP:

    ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/ISO-IMAGES/

Important note: non-x86 snapshots are generated in a cross-build
environment, not natively built on their respective architectures.

Checksums for the installation ISOs and the VM disk images follow at
the end of this email.

=== Installation ISOs ===

bootonly.iso, disc1.iso, and memstick.img images are available for:

o 10.0-CURRENT amd64
o 10.0-CURRENT i386
o 10.0-CURRENT ia64
o 10.0-CURRENT powerpc
o 10.0-CURRENT powepc64
o 10.0-CURRENT sparc64
o 9.2-PRERELEASE amd64
o 9.2-PRERELEASE i386
o 9.2-PRERELEASE ia64
o 9.2-PRERELEASE powerpc
o 9.2-PRERELEASE powerpc64
o 9.2-PRERELEASE sparc64

Please note that the 9.2-PRERELEASE snapshots are generated from the
stable/9 branch, not what will eventually be 9.2-RELEASE.

Snapshots may be downloaded from the corresponding architecture
directory from:

    ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/

Please be patient if your local FTP mirror has not yet caught
up with the changes.

Problems, bug reports, or regression reports should be reported
through the GNATS PR system or the appropriate mailing list, such
as -current@ or -stable@ .

=== Virtual Machine Disk Images ===
 
VM disk images are available for the following FreeBSD branches for
the amd64 and i386 architectures:

  o 10.0-CURRENT amd64
  o 10.0-CURRENT i386
  o 9.2-PRERELEASE amd64
  o 9.2-PRERELEASE i386

Disk images may be downloaded from the following URL (or any of the
FreeBSD FTP mirrors):

    ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/Latest/

Images are available in the following disk image formats:

    - QCOW2
    - VMDK

The partition layout is:

    - 512k - freebsd-boot GPT partition type (bootfs GPT label)
    - 1GB  - freebsd-swap GPT partition type (swapfs GPT label)
    - ~8GB - freebsd-ufs GPT partition type  (rootfs UFS label)

Checksums for the current set of snapshots and images:

=== Installation ISOs ===

o 10.0-CURRENT amd64:

SHA256 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497-bootonly.iso) = c64d1be3f94808d7dc2ab93f0984679c2a81c2b1ac141c9caf31aac2b7842b91
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497-disc1.iso) = fffe513c7834a2853b890a1c45b1aa3b8fb8c41a6b835ad79d9f0c88ea98b4ab
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497-memstick.img) = 51e7568ee20058235c8d77e7e9b6bbcf43b81e95f3bbda9fe62dda1513bc62dd
MD5 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497-bootonly.iso) = 135990671d2b867207fc40e698da4cd7
MD5 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497-disc1.iso) = c9abebc9a649b6335e5da88c4e864093
MD5 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497-memstick.img) = 18e58dc36f2026b11ffe837ce476580c

o 10.0-CURRENT i386:

SHA256 (FreeBSD-10.0-CURRENT-i386-20130818-r254497-bootonly.iso) = 41e529594f16f18c50ed663a160ddba9f4154faae475124e2cce4feadd6f11de
SHA256 (FreeBSD-10.0-CURRENT-i386-20130818-r254497-disc1.iso) = eaaa5827c77d23cd4b8f0b7e59c21ed218cd86330b9d8df297f004ee9a027e0d
SHA256 (FreeBSD-10.0-CURRENT-i386-20130818-r254497-memstick.img) = 6c8a9ed15ea7d084162173041f6e3f0ec7c72d7e6bca6f39421e76fcb3625759
MD5 (FreeBSD-10.0-CURRENT-i386-20130818-r254497-bootonly.iso) = 28547b244652b3aee461b280cd701803
MD5 (FreeBSD-10.0-CURRENT-i386-20130818-r254497-disc1.iso) = 1fa79a5aa968a8d2d0793afa646c1ce7
MD5 (FreeBSD-10.0-CURRENT-i386-20130818-r254497-memstick.img) = 95cdf2253293c5526afab6c01d8d2e40

o 10.0-CURRENT ia64:

SHA256 (FreeBSD-10.0-CURRENT-ia64-20130818-r254497-bootonly.iso) = affac080f0dfe2c1fc07b11121410474bfb93784e720c81d5bba49acdad9da9e
SHA256 (FreeBSD-10.0-CURRENT-ia64-20130818-r254497-disc1.iso) = b5c3ecf123d0635516da447ae4787abcd1c208c9f7b9f599ea74443036cd12d7
SHA256 (FreeBSD-10.0-CURRENT-ia64-20130818-r254497-memstick.img) = e6c94bf474912e8aa387a2fd956d724de211ff789e069162d629bc229bbe9ec2
MD5 (FreeBSD-10.0-CURRENT-ia64-20130818-r254497-bootonly.iso) = 4fd6cf6a08bd51c290afa2355fb805ea
MD5 (FreeBSD-10.0-CURRENT-ia64-20130818-r254497-disc1.iso) = b6956f48ee84ca0f79919a3caed9d3f3
MD5 (FreeBSD-10.0-CURRENT-ia64-20130818-r254497-memstick.img) = a3859cfda460dc11a485977aeef0b67f

o 10.0-CURRENT powerpc:

SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130818-r254497-bootonly.iso) = 38d6aa63f51002f4e08b23778e683196c44926c393ad463a869b3e62fea0a670
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130818-r254497-disc1.iso) = 8516b828fbc9082ee0a385b533f432d596d203f14884648e786ef855b543d29a
SHA256 (FreeBSD-10.0-CURRENT-powerpc-20130818-r254497-memstick.img) = c4a67791d94de00ffc59c9d721eeb413a5acf22e37b7739b132558d3be36075f
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130818-r254497-bootonly.iso) = 2d1749a62d7e453a5eb3569b8d214b11
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130818-r254497-disc1.iso) = c94d66b084132883fa685156024138ab
MD5 (FreeBSD-10.0-CURRENT-powerpc-20130818-r254497-memstick.img) = b1a9464e7ca0c94351d5f88a6d2ff734

o 10.0-CURRENT powerpc64:

SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130818-r254497-bootonly.iso) = c49d231596bf44c7857bac6e4fb1390f3b0d0ef7f6379ab3f360ec7541e48b04
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130818-r254497-disc1.iso) = aaaa4086e37bc5e18eec6ba302ea33fa3ad43c216e0f7c285ab0a3828163996c
SHA256 (FreeBSD-10.0-CURRENT-powerpc64-20130818-r254497-memstick.img) = a37316b856cb146bacebfae19200e29dae81bbee81b63c20fee45fa40c2005d6
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130818-r254497-bootonly.iso) = c28692ef48c2b4a87b6d61777123f946
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130818-r254497-disc1.iso) = a906c10c8590141cad4ac857d0e1ec6d
MD5 (FreeBSD-10.0-CURRENT-powerpc64-20130818-r254497-memstick.img) = 428063f754356466d2c601fa6cb9e58c

o 10.0-CURRENT sparc64:

SHA256 (FreeBSD-10.0-CURRENT-sparc64-20130818-r254497-bootonly.iso) = 4a72afd5597ed48159488905f79672b1861544ad1df5791a4a384b57293a2a4d
SHA256 (FreeBSD-10.0-CURRENT-sparc64-20130818-r254497-disc1.iso) = 31248e429c2bedc68890c760a584b5962fd58deee530cac1faeeb7816979ba71
MD5 (FreeBSD-10.0-CURRENT-sparc64-20130818-r254497-bootonly.iso) = cb59844edfa0f8138277bde665644773
MD5 (FreeBSD-10.0-CURRENT-sparc64-20130818-r254497-disc1.iso) = 656a1a6a3e4a6f9d05386b44e9e634e0

o 9.2-PRERELEASE amd64:

SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130818-r254497-bootonly.iso) = 10d975160bcd0904b8c907d2b4cf8df568a922156c59980b746607556067148e
SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130818-r254497-disc1.iso) = 78e07f69943a7ef722164069b843c57616c6bfd138e3d09737fe53badac22b4e
SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130818-r254497-memstick.img) = 265be1049e9ad72504d02663ddf1a28e05ebe3ce270f040414ddd637d7a19ec1
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130818-r254497-bootonly.iso) = 65d145c90f5715250f3cc4f621baaa93
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130818-r254497-disc1.iso) = 5234ea0b6c1589e12298919a5f308a1d
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130818-r254497-memstick.img) = e10a78ac3c1eb1c8b0da8f6c3385d586

o 9.2-PRERELEASE i386:

SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130818-r254497-bootonly.iso) = da28fc7e2a5225024275a23a99d297ad0c31e5282b7ab70d278a47f587a2b252
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130818-r254497-disc1.iso) = 7a9e73e77141d9648f81f7125791b7af11a70c7bc50a2005be48e0c7b7508cd4
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130818-r254497-memstick.img) = d1d182fdd95861f128cf972bce712d3f76019aa4e1c1d41446fa9fd0f240df2d
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130818-r254497-bootonly.iso) = ee08079fe45d0ac004d16b7c844d71c3
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130818-r254497-disc1.iso) = 5103fb8f997abdc6ba0a56fb549c0a2e
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130818-r254497-memstick.img) = f58b72abd88d7932b203fbb295261f14

o 9.2-PRERELEASE ia64:

SHA256 (FreeBSD-9.2-PRERELEASE-ia64-20130818-r254497-bootonly.iso) = f0acd5cb96ce73871201fbbe7dadd3ea486cc25372c88d680066eafd3afe40e7
SHA256 (FreeBSD-9.2-PRERELEASE-ia64-20130818-r254497-disc1.iso) = 672f8d328640b1044bf70db2782cf0ffd5474fb32a189005251a2fec08775934
SHA256 (FreeBSD-9.2-PRERELEASE-ia64-20130818-r254497-memstick.img) = e79b086e0b7b5367049436b03696692b6c40903cd710c5147cad975b2e293777
MD5 (FreeBSD-9.2-PRERELEASE-ia64-20130818-r254497-bootonly.iso) = 3cdf468c67edbae3f6ac8d6242f25716
MD5 (FreeBSD-9.2-PRERELEASE-ia64-20130818-r254497-disc1.iso) = 389db24bcbacd45ee051a654efa673d2
MD5 (FreeBSD-9.2-PRERELEASE-ia64-20130818-r254497-memstick.img) = 62346fbdd0940a2f1e6082ec30e5691a

o 9.2-PRERELEASE powerpc:

SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130818-r254497-bootonly.iso) = 3ba691f1b4a528ccd06ca8eaffc865b3a5078adb394fe99f83e50870456cda46
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130818-r254497-disc1.iso) = cc55643431335f583e9dc9c244a6e7eb25573286ca8d877f4a9d86bced04ff21
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc-20130818-r254497-memstick.img) = 87475a1b97190f7ca5ebe812da39b4a67c700bb6d99fae59fe0c2d0b261eb6f3
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130818-r254497-bootonly.iso) = a292d9569f6431924b0e9c9b05a9166b
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130818-r254497-disc1.iso) = 99a9a69806c7e8f96c86c574e2615fd3
MD5 (FreeBSD-9.2-PRERELEASE-powerpc-20130818-r254497-memstick.img) = 109b28c9300ec084c88348b581c9207b

o 9.2-PRERELEASE powerpc64:

SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130818-r254497-bootonly.iso) = 7ac6bf1ac19fa26829bad00a7ae9a0a290882dcb30150b9817ad31f5be7c5b09
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130818-r254497-disc1.iso) = c17c2bda44c427747d8e8dec5ce318449b024116ad49c2e5b87d8bac0238cd8d
SHA256 (FreeBSD-9.2-PRERELEASE-powerpc64-20130818-r254497-memstick.img) = 22a946441d0ad499916acb393c753b135b1e260eeda333b26301e145daa0fb63
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130818-r254497-bootonly.iso) = 8519fa4c46f46b59db10966b8e847f7e
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130818-r254497-disc1.iso) = 9a960f9353650cb78a5cb222e826126f
MD5 (FreeBSD-9.2-PRERELEASE-powerpc64-20130818-r254497-memstick.img) = a830526041e7af89cf48f25d89e3f25c

o 9.2-PRERELEASE sparc64:

SHA256 (FreeBSD-9.2-PRERELEASE-sparc64-20130818-r254497-bootonly.iso) = 6083f14743da4639aad1249b7518e70256f474c8b46943252a6eef3b8c08b4a3
SHA256 (FreeBSD-9.2-PRERELEASE-sparc64-20130818-r254497-disc1.iso) = b0aeefb3b610d729a451e181f87829a19485757510321b65c110c2376565683e
MD5 (FreeBSD-9.2-PRERELEASE-sparc64-20130818-r254497-bootonly.iso) = 911da3746280150592a338e94b0793e7
MD5 (FreeBSD-9.2-PRERELEASE-sparc64-20130818-r254497-disc1.iso) = 6c18ef1b58a537aac74d0f67bd4e4752


=== Virtual Machine Disk Images ===

o 10.0-CURRENT amd64:

SHA256 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497.qcow2.xz) = 21c59fce73c090a53f809e1ca7340cdcd78db119068ed2abbd632f9988172e19
SHA256 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497.vmdk.xz) = 258e33b33f217cfc1ca0b4057295aea4b255a4197c6ab635faa15b183aa46df5
MD5 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497.qcow2.xz) = 76157d639ac5bc46d4f2060b3d9166ff
MD5 (FreeBSD-10.0-CURRENT-amd64-20130818-r254497.vmdk.xz) = 86426d2bfa4a32b24cdc28244cc2f772

o 10.0-CURRENT i386:

SHA256 (FreeBSD-10.0-CURRENT-i386-20130818-r254497.qcow2.xz) = 2c8d4e52d150195e61e0f439592dec6ce81b4ad1903b267cbf91f9431ee3e003
SHA256 (FreeBSD-10.0-CURRENT-i386-20130818-r254497.vmdk.xz) = 5952b79f4a7b42ef18e812be5ef85624db3b520f7a098eefdf5cadd9b7568697
MD5 (FreeBSD-10.0-CURRENT-i386-20130818-r254497.qcow2.xz) = 6b7a341d830a79c620b7c51f537f32bf
MD5 (FreeBSD-10.0-CURRENT-i386-20130818-r254497.vmdk.xz) = 73245a5ab0a1a96e64d9f679dba7c9d4

o 9.2-PRERELEASE amd64:

SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130818-rr254497.qcow2.xz) = 38175d45633dc13e11b0207285538da079b752f6c4bfef322dd27589a1ce1a7c
SHA256 (FreeBSD-9.2-PRERELEASE-amd64-20130818-rr254497.vmdk.xz) = 9983f33decc14f1719d338b81ea52e3163e6fdeb91afe32f2f5d1dfd6667f3ee
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130818-rr254497.qcow2.xz) = b3935aefcb95af79d2ae81f3e723664f
MD5 (FreeBSD-9.2-PRERELEASE-amd64-20130818-rr254497.vmdk.xz) = fa856def63a29781a5969032885af1db

o 9.2-PRERELEASE i386:

SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130818-rr254497.qcow2.xz) = c20e79883b3df85bf6073ebec075320c62a532e6506304bfaaf02674ee6495bb
SHA256 (FreeBSD-9.2-PRERELEASE-i386-20130818-rr254497.vmdk.xz) = 6c6b3f0f4cde005aeca7a5c3b34d8f0666485a02224abc7e87e1982ca47a0a63
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130818-rr254497.qcow2.xz) = 21764b005a8db5245eab858aaae2c993
MD5 (FreeBSD-9.2-PRERELEASE-i386-20130818-rr254497.vmdk.xz) = 061ad4d5120b1c0f96b75faed4415195


Regards,

Glen

-------------- next part --------------
------------------------------------------------------------------------
r254222 | jilles | 2013-08-11 15:38:48 +0000 (Sun, 11 Aug 2013) | 6 lines

db/hash: Use O_CLOEXEC instead of separate fcntl() call.

In particular, a hash db is used by getpwnam() and getpwuid().

MFC after:	1 week

------------------------------------------------------------------------
r254223 | gjb | 2013-08-11 18:05:20 +0000 (Sun, 11 Aug 2013) | 2 lines

Add FreeBSD 9.2 to mdoc.local.

------------------------------------------------------------------------
r254224 | gjb | 2013-08-11 18:57:27 +0000 (Sun, 11 Aug 2013) | 21 lines

- Update the wrapper script to 'release.sh', as used by the FreeBSD
  Release Engineering Team as of 9.2-RELEASE.

- Document that a cross-build release is possible by setting the
  TARGET and TARGET_ARCH variables.

- Include an example of using release.sh with and without the
  optional configuration file.

- Document the supported release.sh configuration file variables.

- Update the 'cdrom' target output file to disc1.iso.

- Update the 'memstick' target output file to memstick.img.

- Add attributions for the last major updates to this manual page.

- Fix some mdoc(7) style nits:
  - Sentences should begin on a new line
  - Use .Pq to enclose full lines in parenthesis

------------------------------------------------------------------------
r254225 | peter | 2013-08-11 20:03:12 +0000 (Sun, 11 Aug 2013) | 24 lines

Update nvi-1.79 to 2.1.1-4334a8297f

This is the gsoc-2011 project to clean up and backport multibyte support
from other nvi forks in a form we can use.

USE_WIDECHAR is on unless building for the rescue crunchgen. This should
allow editing in the native locale encoding.

USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now.  This
adds the ability to do things like edit a KOI8-R file while having $LANG
set to (say) en_US.UTF-8.  iconv is used to transcode the characters for
display.

Other points:
* It uses gencat and catopen/etc instead of homegrown msg catalog stuff.
* A lot of stuff has been trimmed out, eg: the perl and tcl bindings which
  we could never use in base anyway.
* It uses ncursesw when in widechar mode.  This could be interesting.

GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1
Repo at: https://github.com/lichray/nvi2

Obtained from:  Zhihao Yuan <lichray at gmail.com>

------------------------------------------------------------------------
r254227 | peter | 2013-08-11 20:46:05 +0000 (Sun, 11 Aug 2013) | 3 lines

Don't install a ru_SU.KOI8-R symlink, 'make delete-old' will just remove
it again.

------------------------------------------------------------------------
r254228 | attilio | 2013-08-11 21:15:04 +0000 (Sun, 11 Aug 2013) | 10 lines

Correct the recovery logic in vm_page_alloc_contig:
what is really needed on this code snipped is that all the pages that
are already fully inserted gets fully freed, while for the others the
object removal itself might be skipped, hence the object might be set to
NULL.

Sponsored by:	EMC / Isilon storage division
Reported by:	alc, kib
Reviewed by:	alc

------------------------------------------------------------------------
r254229 | cognet | 2013-08-11 21:21:02 +0000 (Sun, 11 Aug 2013) | 3 lines

Only allocate 2 bounce pages for maps that can only use them for buffers that
are unaligned on cache lines boundary, as we will never need more.

------------------------------------------------------------------------
r254230 | peter | 2013-08-11 21:46:06 +0000 (Sun, 11 Aug 2013) | 4 lines

Don't build the UTF-8 version of the catalogs without iconv enabled.

Pointy-hat to:	peter (don't do things at 4am!)

------------------------------------------------------------------------
r254231 | jilles | 2013-08-11 21:54:20 +0000 (Sun, 11 Aug 2013) | 8 lines

fnmatch(): Add test for r254091 (pattern with single backslash).

This test cannot be converted to an sh(1) test because the syntax would be
invalid.

PR:		181129
MFC after:	1 week

------------------------------------------------------------------------
r254234 | adrian | 2013-08-12 00:38:47 +0000 (Mon, 12 Aug 2013) | 2 lines

Add a missing break.

------------------------------------------------------------------------
r254236 | adrian | 2013-08-12 02:21:44 +0000 (Mon, 12 Aug 2013) | 4 lines

When flushing packets from the powersave queue, make sure that
m_nextpkt is NULL before passing it up to the parent transmit
method.

------------------------------------------------------------------------
r254237 | dteske | 2013-08-12 03:52:23 +0000 (Mon, 12 Aug 2013) | 4 lines

Add optional support for default override of standard setup; but only if
corresponding functions are provided. If override function does not exist,
boot remains unmodified. This patch should not result in any changes.

------------------------------------------------------------------------
r254238 | hselasky | 2013-08-12 06:09:28 +0000 (Mon, 12 Aug 2013) | 5 lines

Correct an EHCI register write.

MFC after:	1 week
Reported by:	aseem.jolly at gmail.com

------------------------------------------------------------------------
r254241 | hselasky | 2013-08-12 09:15:33 +0000 (Mon, 12 Aug 2013) | 2 lines

Fix some signed comparison compile warnings.

------------------------------------------------------------------------
r254243 | hselasky | 2013-08-12 09:17:48 +0000 (Mon, 12 Aug 2013) | 10 lines

- Try to fix build of 32-bit compatibility USB support for FreeBSD and
Linux targets without breaking the existing IOCTL API.

- Remove some not-needed header file inclusions.

- Wrap a long line.

MFC after:	1 week
Reported by:	Damjan Jovanovic <damjan.jov at gmail.com>

------------------------------------------------------------------------
r254244 | peter | 2013-08-12 09:56:52 +0000 (Mon, 12 Aug 2013) | 4 lines

Give up on using iconv to convert to UTF-8 at build time.  I don't see any
practical way to make iconv(1) as a build tool.  Instead pre-convert.
This gives us UTF-8 nvi catalogs even on systems without iconv enabled.

------------------------------------------------------------------------
r254245 | peter | 2013-08-12 10:11:10 +0000 (Mon, 12 Aug 2013) | 2 lines

It seems the pre-commit checker doesn't detect illegal character sets. Fix.

------------------------------------------------------------------------
r254248 | tuexen | 2013-08-12 13:52:15 +0000 (Mon, 12 Aug 2013) | 7 lines

Make the features a 64-bit value instead of 32-bit.
This will allow an easier integration of the support
for NDATA.
While there, do also some minor cleanups.
Obtained from:	rrs@
MFC after: 2 weeks

------------------------------------------------------------------------
r254251 | gshapiro | 2013-08-12 17:22:39 +0000 (Mon, 12 Aug 2013) | 7 lines

Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags to
prevent problems between the resolver and Microsoft DNS servers with
AAAA lookups.  The upstream open source project will work on a more
permanent fix for the next release.  Issue noted by Pavel Timofeev.

MFC after:	3 days

------------------------------------------------------------------------
r254252 | ed | 2013-08-12 18:17:45 +0000 (Mon, 12 Aug 2013) | 5 lines

Fix the formatting of the error message.

The G_MIRROR_DEBUG() macro already appends a newline. Also, most of the
log messages emitted by gmirror start with an uppercase letter.

------------------------------------------------------------------------
r254253 | scottl | 2013-08-12 19:16:55 +0000 (Mon, 12 Aug 2013) | 7 lines

r253460 accidentally some moderately expensive debugging code, even
when debugging isn't enabled.  Work around this.

Submitted by:	mav
Obtained from:	Netflix
MFC after:	3 days

------------------------------------------------------------------------
r254257 | mav | 2013-08-12 20:17:37 +0000 (Mon, 12 Aug 2013) | 2 lines

Add brace missing in r254253.

------------------------------------------------------------------------
r254259 | trasz | 2013-08-12 21:01:01 +0000 (Mon, 12 Aug 2013) | 4 lines

Make check for unknown login class actually work.  Previously, using the "-c" option
with login class not defined in login.conf(5) would silently fail, resulting in using
the default login class.

------------------------------------------------------------------------
r254260 | pfg | 2013-08-12 21:34:48 +0000 (Mon, 12 Aug 2013) | 26 lines

Add read-only support for extents in ext2fs.

Basic support for extents was implemented by Zheng Liu as part
of his Google Summer of Code in 2010. This support is read-only
at this time.

In addition to extents we also support the huge_file extension
for read-only purposes. This works nicely with the additional
support for birthtime/nanosec timestamps and dir_index that
have been added lately.

The implementation may not work for all ext4 filesystems as
it doesn't support some features that are being enabled by
default on recent linux like flex_bg. Nevertheless, the feature
should be very useful for migration or simple access in
filesystems that have been converted from ext2/3 or don't use
incompatible features.

Special thanks to Zheng Liu for his dedication and continued
work to support ext2 in FreeBSD.

Submitted by:	Zheng Liu (lz@)
Reviewed by:	Mike Ma, Christoph Mallon (previous version)
Sponsored by:	Google Inc.
MFC after:	3 weeks

------------------------------------------------------------------------
r254261 | adrian | 2013-08-12 22:27:53 +0000 (Mon, 12 Aug 2013) | 2 lines

Blank m_nextpkt before passing it up.

------------------------------------------------------------------------
r254262 | jfv | 2013-08-12 22:54:38 +0000 (Mon, 12 Aug 2013) | 7 lines

Improve the MSIX setup code in the drivers, thanks to Marius for
the changes. Make sure that pci_alloc_msix() does give us the vectors
we need and fall back to MSI when it doesn't, also release any that
were allocated when insufficient.

MFC after: 3 days

------------------------------------------------------------------------
r254263 | scottl | 2013-08-12 23:30:01 +0000 (Mon, 12 Aug 2013) | 16 lines

Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI
command register.  The lazy BAR allocation code in FreeBSD sometimes
disables this bit when it detects a range conflict, and will re-enable
it on demand when a driver allocates the BAR.  Thus, the bit is no longer
a reliable indication of capability, and should not be checked.  This
results in the elimination of a lot of code from drivers, and also gives
the opportunity to simplify a lot of drivers to use a helper API to set
the busmaster enable bit.

This changes fixes some recent reports of disk controllers and their
associated drives/enclosures disappearing during boot.

Submitted by:	jhb
Reviewed by:	jfv, marius, achadd, achim
MFC after:	1 day

------------------------------------------------------------------------
r254264 | jfv | 2013-08-13 00:25:39 +0000 (Tue, 13 Aug 2013) | 5 lines

Alter the mq_start routine to do a TRYLOCK and call to the locked routine
rather than just queueing. The former code was an attempt at getting
UDP performance up, but there have been customer reports of problems with it,
so the ixgbe approach seems the best solution for now.

------------------------------------------------------------------------
r254265 | gjb | 2013-08-13 02:31:46 +0000 (Tue, 13 Aug 2013) | 7 lines

Make sure bootonly.iso for -BETAs and -RCs use the releases/
directory on the FTP mirrors to fetch distributions, since
these are always pushed to releases/ during the release cycle.

MFC after:	3 days
X-MFC-To:	stable/9, releng/9.2

------------------------------------------------------------------------
r254266 | markj | 2013-08-13 03:07:49 +0000 (Tue, 13 Aug 2013) | 8 lines

Add event handlers for module load and unload events. The load handlers are
called after the module has been loaded, and the unload handlers are called
before the module is unloaded. Moreover, the module unload handlers may
return an error to prevent the unload from proceeding.

Reviewed by:	avg
MFC after:	2 weeks

------------------------------------------------------------------------
r254267 | markj | 2013-08-13 03:09:00 +0000 (Tue, 13 Aug 2013) | 6 lines

Remove some unused fields from struct linker_file. They were added in
r172862 for use by the DTrace SDT framework but don't seem to have ever
been used.

MFC after:	2 weeks

------------------------------------------------------------------------
r254268 | markj | 2013-08-13 03:10:39 +0000 (Tue, 13 Aug 2013) | 35 lines

FreeBSD's DTrace implementation has a few problems with respect to handling
probes declared in a kernel module when that module is unloaded. In
particular,

* Unloading a module with active SDT probes will cause a panic. [1]
* A module's (FBT/SDT) probes aren't destroyed when the module is unloaded;
  trying to use them after the fact will generally cause a panic.

This change fixes both problems by porting the DTrace module load/unload
handlers from illumos and registering them with the corresponding
EVENTHANDLER(9) handlers. This allows the DTrace framework to destroy all
probes defined in a module when that module is unloaded, and to prevent a
module unload from proceeding if some of its probes are active. The latter
problem has already been fixed for FBT probes by checking lf->nenabled in
kern_kldunload(), but moving the check into the DTrace framework generalizes
it to all kernel providers and also fixes a race in the current
implementation (since a probe may be activated between the check and the
call to linker_file_unload()).

Additionally, the SDT implementation has been reworked to define SDT
providers/probes/argtypes in linker sets rather than using SYSINIT/SYSUNINIT
to create and destroy SDT probes when a module is loaded or unloaded. This
simplifies things quite a bit since it means that pretty much all of the SDT
code can live in sdt.ko, and since it becomes easier to integrate SDT with
the DTrace framework. Furthermore, this allows FreeBSD to be quite flexible
in that SDT providers spanning multiple modules can be created on the fly
when a module is loaded; at the moment it looks like illumos' SDT
implementation requires all SDT probes to be statically defined in a single
kernel table.

PR:		166927, 166926, 166928
Reported by:	davide [1]
Reviewed by:	avg, trociny (earlier version)
MFC after:	1 month

------------------------------------------------------------------------
r254269 | mav | 2013-08-13 06:21:36 +0000 (Tue, 13 Aug 2013) | 2 lines

Fix reasonable but safe Clang warnings.

------------------------------------------------------------------------
r254271 | mav | 2013-08-13 06:25:34 +0000 (Tue, 13 Aug 2013) | 2 lines

Oops, wrong constant at r254269.

------------------------------------------------------------------------
r254273 | peter | 2013-08-13 07:15:01 +0000 (Tue, 13 Aug 2013) | 23 lines

The iconv in libc did two things - implement the standard APIs, the GNU
extensions and also tried to be link time compatible with ports libiconv.
This splits that functionality and enables the parts that shouldn't
interfere with the port by default.

WITH_ICONV (now on by default) - adds iconv.h, iconv_open(3) etc.
WITH_LIBICONV_COMPAT (off by default) adds the libiconv_open etc API, linker
symbols and even a stub libiconv.so.3 that are good enough to be able
to 'pkg delete -f libiconv' on a running system and reasonably expect it
to work.

I have tortured many machines over the last few days to try and reduce
the possibilities of foot-shooting as much as I can.  I've successfully
recompiled to enable and disable the libiconv_compat modes, ports that use
libiconv alongside system iconv etc.  If you don't enable the
WITH_LIBICONV_COMPAT switch, they don't share symbol space.

This is an extension of behavior on other system.  iconv(3) is a standard
libc interface and libiconv port expects to be able to run alongside it on
systems that have it.

Bumped osreldate.

------------------------------------------------------------------------
r254274 | peter | 2013-08-13 07:31:27 +0000 (Tue, 13 Aug 2013) | 3 lines

Add a note that if you were WITH_ICONV before, you should turn on
WITH_LIBICONV_COMPAT.

------------------------------------------------------------------------
r254275 | mav | 2013-08-13 07:56:40 +0000 (Tue, 13 Aug 2013) | 6 lines

Return error when opening read-only volumes (like RAID4/5/...) for writing.
Previously opens succeeded, but actual write operations returned errors.

Requested by:	peter
MFC after:	2 weeks

------------------------------------------------------------------------
r254276 | peter | 2013-08-13 08:12:57 +0000 (Tue, 13 Aug 2013) | 2 lines

Turn off warns for this do-nothing file.  clang noticed.

------------------------------------------------------------------------
r254278 | des | 2013-08-13 09:06:18 +0000 (Tue, 13 Aug 2013) | 4 lines

Apply upstream revision 1.151 (fix relative symlinks)

MFC after:	3 days

------------------------------------------------------------------------
r254279 | adrian | 2013-08-13 09:58:27 +0000 (Tue, 13 Aug 2013) | 17 lines

ieee80211_rate2plcp() and ieee80211_rate2phytype() are both pre-11n
routines and thus assert if one passes in a rate code with the
high bit set.

Since the high bit can indicate either IEEE80211_RATE_BASIC or
IEEE80211_RATE_MCS, it's up to the caller to determine whether
the rate is 11n or not, and either mask out the BASIC bit, or
call a different function.

(Yes, this does mean that net80211 should grow 11n-aware rate2phytype()
and rate2plcp() functions..)

This may need to happen for the other drivers - it's currently only
done (now) for iwn(4) and bwi(4).

PR:		kern/181100

------------------------------------------------------------------------
r254281 | ian | 2013-08-13 13:14:13 +0000 (Tue, 13 Aug 2013) | 7 lines

Add imx6 compatibility and make the driver work for any clock frequency.

There are still a couple references to imx51 ccm driver functions that will
need to be changed after an imx6 ccm driver is written.

Reviewed by:	ray

------------------------------------------------------------------------
r254282 | glebius | 2013-08-13 13:40:31 +0000 (Tue, 13 Aug 2013) | 3 lines

- Minor style(9) fix.
- Bring a comment up to date.

------------------------------------------------------------------------
r254283 | pfg | 2013-08-13 15:40:43 +0000 (Tue, 13 Aug 2013) | 22 lines

Define ext2fs local types and use them.

Add definitions for e2fs_daddr_t, e4fs_daddr_t in addition
to the already existing e2fs_lbn_t and adjust them for ext4.
Other than making the code more readable these changes should
fix problems related to big filesystems.

Setting the proper types can be tricky so the process was
helped by looking at UFS. In our implementation, logical block
numbers can be negative and the code depends on it. In ext2,
block numbers are unsigned so it is convenient to keep
e2fs_daddr_t unsigned and use the complete 32 bits. In the
case of e4fs_daddr_t, while the value should be unsigned, for
ext4 we only need to support 48 bits so preserving an extra
bit from the sign is not an issue.

While here also drop the ext2_setblock() prototype that was
never used.

Discussed with:	mckusick, bde
MFC after:	3 weeks

------------------------------------------------------------------------
r254285 | peter | 2013-08-13 18:14:53 +0000 (Tue, 13 Aug 2013) | 4 lines

Expose _citrus_bcs_trunc_rws_len for libintl's use.

Submitted by:	Jan Beich <jbeich at tormail.org>

------------------------------------------------------------------------
r254286 | pfg | 2013-08-13 18:39:36 +0000 (Tue, 13 Aug 2013) | 5 lines

ext2fs: update format specifiers for ext4 type.

Reported by:	Sam Fourman Jr.
MFC after:	3 weeks

------------------------------------------------------------------------
r254287 | jhb | 2013-08-13 18:45:58 +0000 (Tue, 13 Aug 2013) | 10 lines

Some small cleanups to the fixes in r180340:
- Set NOTE_TRACKERR before running filt_proc().  If the knote did not
  have NOTE_FORK set in fflags when registered, then the TRACKERR event
  could miss being posted.
- Don't pass the pid in to filt_proc() for NOTE_FORK events.  The special
  handling for pids is done knote_fork() directly and no longer in
  filt_proc().

MFC after:	2 weeks

------------------------------------------------------------------------
r254288 | jilles | 2013-08-13 18:51:26 +0000 (Tue, 13 Aug 2013) | 7 lines

init: Set kernel login class and CPU mask on new processes.

In particular, this makes the kernel login class on processes started from
/etc/rc "daemon" instead of "default".

Reviewed by:	trasz

------------------------------------------------------------------------
r254289 | jilles | 2013-08-13 19:20:50 +0000 (Tue, 13 Aug 2013) | 2 lines

db: Use O_CLOEXEC instead of separate fcntl() call.

------------------------------------------------------------------------
r254291 | jilles | 2013-08-13 19:57:35 +0000 (Tue, 13 Aug 2013) | 5 lines

kdump: Improve decoding of various *at calls:

* Write AT_FDCWD where appropriate.
* Decode the remaining arguments of openat() etc like open() etc.

------------------------------------------------------------------------
r254292 | trociny | 2013-08-13 19:59:49 +0000 (Tue, 13 Aug 2013) | 4 lines

Virtualize carp(4) variables to have per vnet control.

Reviewed by:	ae, glebius

------------------------------------------------------------------------
r254293 | gjb | 2013-08-13 20:16:14 +0000 (Tue, 13 Aug 2013) | 11 lines

- Only set ARCH_FLAGS (TARGET/TARGET_ARCH) if specified, otherwise
  allow the toolchain to detect the correct values.

- Remove {SRC,DOC,PORT}REVISION variables, and use 'branch at rNNNNNN'
  as the {SRC,DOC,PORT}BRANCH variables.

- Only set default KERNEL_FLAGS and WORLD_FLAGS make(1) jobs if the
  number of CPUs is greater than 1.

Submitted by:	hrs

------------------------------------------------------------------------
r254294 | gjb | 2013-08-13 20:22:57 +0000 (Tue, 13 Aug 2013) | 9 lines

- Remove the defaults for TARGET/TARGET_ARCH.

- Note that WORLD_FLAGS and KERNEL_FLAGS set the number of
  make(1) jobs only on SMP-capable systems.

MFC after:	3 days
X-MFC-With:	r254224
X-MFC-To:	stable/9, releng/9.2

------------------------------------------------------------------------
r254295 | pfg | 2013-08-13 20:28:21 +0000 (Tue, 13 Aug 2013) | 7 lines

Teach libstdc++ about logl(3).

The logl(3) family of functions were implemented in r251292.
Define them in libstdc++'s configuration so they can be used.

Reviewed by:	dim

------------------------------------------------------------------------
r254296 | jilles | 2013-08-13 20:33:50 +0000 (Tue, 13 Aug 2013) | 2 lines

kdump: Decode AT_FDCWD in first argument of bindat() and connectat().

------------------------------------------------------------------------
r254297 | peter | 2013-08-13 20:38:55 +0000 (Tue, 13 Aug 2013) | 10 lines

vfork(2) was listed as deprecated in 1994 (r1573) and was the false
reports of its impending demise were removed in 2009 (r199257).

However, in 1996 (r16117) system(3) was switched from vfork(2) to
fork(2) based partly on this.  Switch back to vfork(2).  This has a
dramatic effect in cases of extreme mmap use - such as excessive
abuse (500+) of shared libraries.

popen(3) has used vfork(2) for a while.  vfork(2) isn't going anywhere.

------------------------------------------------------------------------
r254298 | gjb | 2013-08-13 21:01:23 +0000 (Tue, 13 Aug 2013) | 4 lines

Remove get_rev_branch(), functionality exists in the release/Makefile.

Submitted by:	hrs

------------------------------------------------------------------------
r254299 | ian | 2013-08-13 21:12:28 +0000 (Tue, 13 Aug 2013) | 3 lines

Rename imx_machdep.c to imx51_machdep.c, because it contains hardware
addresses which are specific to the imx51 chips.

------------------------------------------------------------------------
r254300 | jkim | 2013-08-13 21:34:03 +0000 (Tue, 13 Aug 2013) | 2 lines

Tidy up global locks for ACPICA.  There is no functional change.

------------------------------------------------------------------------
r254301 | jilles | 2013-08-13 21:45:48 +0000 (Tue, 13 Aug 2013) | 2 lines

libc: Use O_CLOEXEC when writing gmon files (cc -pg).

------------------------------------------------------------------------
r254302 | jimharris | 2013-08-13 21:47:08 +0000 (Tue, 13 Aug 2013) | 8 lines

Send a shutdown notification in the driver unload path, to ensure
notification gets sent in cases where system shuts down with driver
unloaded.

Sponsored by:	Intel
Reviewed by:	carl
MFC after:	3 days

------------------------------------------------------------------------
r254303 | jimharris | 2013-08-13 21:49:32 +0000 (Tue, 13 Aug 2013) | 7 lines

If a controller fails to initialize, do not notify consumers (nvd) of its
namespaces.

Sponsoredy by:	Intel
Reviewed by:	carl
MFC after:	3 days

------------------------------------------------------------------------
r254304 | jeff | 2013-08-13 21:56:16 +0000 (Tue, 13 Aug 2013) | 22 lines

Improve pageout flow control to wakeup more frequently and do less work while
maintaining better LRU of active pages.

 - Change v_free_target to include the quantity previously represented by
   v_cache_min so we don't need to add them together everywhere we use them.
 - Add a pageout_wakeup_thresh that sets the free page count trigger for
   waking the page daemon.  Set this 10% above v_free_min so we wakeup before
   any phase transitions in vm users.
 - Adjust down v_free_target now that we're willing to accept more pagedaemon
   wakeups.  This means we process fewer pages in one iteration as well,
   leading to shorter lock hold times and less overall disruption.
 - Eliminate vm_pageout_page_stats().  This was a minor variation on the
   PQ_ACTIVE segment of the normal pageout daemon.  Instead we now process
   1 / vm_pageout_update_period pages every second.  This causes us to visit
   the whole active list every 60 seconds.  Previously we would only maintain
   the active LRU when we were short on pages which would mean it could be
   woefully out of date.

Reviewed by:	alc (slight variant of this)
Discussed with:	alc, kib, jhb
Sponsored by:	EMC / Isilon Storage Division

------------------------------------------------------------------------
r254305 | jkim | 2013-08-13 22:05:10 +0000 (Tue, 13 Aug 2013) | 3 lines

Merge acpica_machdep.h for amd64 and i386 and move to x86.  In fact, these
two files were functionally identical.

------------------------------------------------------------------------
r254307 | jeff | 2013-08-13 22:40:43 +0000 (Tue, 13 Aug 2013) | 7 lines

 - Add a statically allocated memguard arena since it is needed very early
   on.
 - Pass the appropriate flags to vmem_xalloc() when allocating space for
   the arena from kmem_arena.

Sponsored by:	EMC / Isilon Storage Division

------------------------------------------------------------------------
r254308 | jeff | 2013-08-13 22:41:24 +0000 (Tue, 13 Aug 2013) | 6 lines

 - Disable quantum caches on the kmem_arena.  This can make fragmentation
   worse on small KVA systems.  I had intended to only enable it for
   debugging.

Sponsored by:	EMC / Isilon Storage Division

------------------------------------------------------------------------
r254309 | markj | 2013-08-14 00:42:21 +0000 (Wed, 14 Aug 2013) | 6 lines

Use kld_{load,unload} instead of mod_{load,unload} for the linker file load
and unload event handlers added in r254266.

Reported by:	jhb
X-MFC with:	r254266

------------------------------------------------------------------------
r254315 | rpaulo | 2013-08-14 04:24:25 +0000 (Wed, 14 Aug 2013) | 8 lines

Replace the homegrown implementation of nitems() with calls to nitems()
(param.h).

Operating systems that don't have nitems() can easily define it on their own
net80211 OS-specific header file.

Discussed with:		adrian

------------------------------------------------------------------------
r254319 | uqs | 2013-08-14 08:03:57 +0000 (Wed, 14 Aug 2013) | 2 lines

Fix make depend

------------------------------------------------------------------------
r254320 | uqs | 2013-08-14 08:10:54 +0000 (Wed, 14 Aug 2013) | 2 lines

Belatedly add my birthday and fix a typo.

------------------------------------------------------------------------
r254326 | pfg | 2013-08-14 14:22:46 +0000 (Wed, 14 Aug 2013) | 9 lines

ext2fs: update format specifiers for ext4 type.

Previous bandaid was not appropriate and didn't really work for
all platforms. While here, cleanup the surrounding code to match
ffs_checkoverlap()

Reported by:	dim, jmallet and bde
MFC after:	3 weeks

------------------------------------------------------------------------
r254327 | theraven | 2013-08-14 14:34:02 +0000 (Wed, 14 Aug 2013) | 2 lines

Make carets line up in dtc diagnostics if the line starts with a tab.

------------------------------------------------------------------------
r254328 | gjb | 2013-08-14 14:45:47 +0000 (Wed, 14 Aug 2013) | 7 lines

Remove the {SRC,DOC,PORT}REVISION variables from release(7), and
update the default {SRC,DOC,PORT}BRANCH defaults.

Submitted by:	nwhitehorn
X-MFC-With:	r254224, r254294
X-MFC-To:	stable/9, releng/9.2

------------------------------------------------------------------------
r254329 | smh | 2013-08-14 15:18:28 +0000 (Wed, 14 Aug 2013) | 5 lines

Added 4K quirks for:-
* OCZ Agility 2 SSDs
* Marvell SSDs
* Intel X25-M Series SSDs

------------------------------------------------------------------------
r254330 | sbruno | 2013-08-14 15:50:34 +0000 (Wed, 14 Aug 2013) | 10 lines

If sys/param.h MAXPHYS has been tuned to exceed MFI_MAXPHYS, the mfi(4)
real JBOD mode (SYS PD) would fail fairly reliably during I/O.

Steal the mfi_disk.c check for this condition (indirectly) when establishing
d_maxsize.

Reviewed by:	ambrisko@
MFC after:	4 weeks
Sponsored by:	Yahoo! Inc.

------------------------------------------------------------------------
r254335 | jilles | 2013-08-14 19:34:13 +0000 (Wed, 14 Aug 2013) | 7 lines

sh: Allow a lone redirection before '|', ';;' or ';&'.

Example: </dev/null | :

PR:		181240
MFC after:	1 week

------------------------------------------------------------------------
r254337 | rmacklem | 2013-08-14 21:11:26 +0000 (Wed, 14 Aug 2013) | 26 lines

Fix several performance related issues in the new NFS server's
DRC for NFS over TCP.
- Increase the size of the hash tables.
- Create a separate mutex for each hash list of the TCP hash table.
- Single thread the code that deletes stale cache entries.
- Add a tunable called vfs.nfsd.tcphighwater, which can be increased
  to allow the cache to grow larger, avoiding the overhead of frequent
  scans to delete stale cache entries.
  (The default value will result in frequent scans to delete stale cache
   entries, analagous to what the pre-patched code does.)
- Add a tunable called vfs.nfsd.cachetcp that can be used to disable
  DRC caching for NFS over TCP, since the old NFS server didn't DRC cache TCP.
It also adjusts the size of nfsrc_floodlevel dynamically, so that it is
always greater than vfs.nfsd.tcphighwater.

For UDP the algorithm remains the same as the pre-patched code, but the
tunable vfs.nfsd.udphighwater can be used to allow the cache to grow
larger and reduce the overhead caused by frequent scans for stale entries.
UDP also uses a larger hash table size than the pre-patched code.

Reported by:	wollman
Tested by:	wollman (earlier version of patch)
Submitted by:	ivoras (earlier patch)
Reviewed by:	jhb (earlier version of patch)
MFC after:	1 month

------------------------------------------------------------------------
r254338 | tuexen | 2013-08-14 21:51:32 +0000 (Wed, 14 Aug 2013) | 6 lines

Don't send uninitialized memory (two instances of 4 bytes) in
every cookie on the wire. This bug was reported in
https://bugzilla.mozilla.org/show_bug.cgi?id=905080

MFC after: 3 days

------------------------------------------------------------------------
r254339 | jilles | 2013-08-14 21:59:48 +0000 (Wed, 14 Aug 2013) | 2 lines

sh: Recognize "--" as end of options in local builtin.

------------------------------------------------------------------------
r254340 | sjg | 2013-08-14 22:19:29 +0000 (Wed, 14 Aug 2013) | 6 lines

Some objects - such as *_genassym.o are not hooked into
SRCS OBJS or anything else, yet have a dependency on symlinks
such as machine/

Reviewed by: obrien

------------------------------------------------------------------------
r254350 | markj | 2013-08-15 04:08:55 +0000 (Thu, 15 Aug 2013) | 8 lines

Specify SDT probe argument types in the probe definition itself rather than
using SDT_PROBE_ARGTYPE(). This will make it easy to extend the SDT(9) API
to allow probes with dynamically-translated types.

There is no functional change.

MFC after:	2 weeks

------------------------------------------------------------------------
r254351 | markj | 2013-08-15 04:10:15 +0000 (Thu, 15 Aug 2013) | 4 lines

Fix a typo.

MFC after:	3 days

------------------------------------------------------------------------
r254356 | glebius | 2013-08-15 07:54:31 +0000 (Thu, 15 Aug 2013) | 7 lines

Make sendfile() a method in the struct fileops.  Currently only
vnode backed file descriptors have this method implemented.

Reviewed by:	kib
Sponsored by:	Nginx, Inc.
Sponsored by:	Netflix

------------------------------------------------------------------------
r254358 | jlh | 2013-08-15 08:21:00 +0000 (Thu, 15 Aug 2013) | 6 lines

Belatedly bump __FreeBSD_version for libc being an ld script.
This should have been done in r251668, on June 12, 2013.

This will have no practical consequences, besides having -lssp_nonshared
appearing twice on the command-line for systems built in this time frame.

------------------------------------------------------------------------
r254362 | attilio | 2013-08-15 11:01:25 +0000 (Thu, 15 Aug 2013) | 7 lines

On the recovery path for vm_page_alloc(), if a page had been requested
wired, unwind back the wiring bits otherwise we can end up freeing a
page that is considered wired.

Sponsored by:	EMC / Isilon storage division
Reported by:	alc

------------------------------------------------------------------------
r254371 | nemysis | 2013-08-15 16:03:09 +0000 (Thu, 15 Aug 2013) | 4 lines

- Add myself in committers-ports.dot

Approved by:	miwi/wxs/wg (mentors)

------------------------------------------------------------------------
r254372 | ken | 2013-08-15 16:41:27 +0000 (Thu, 15 Aug 2013) | 14 lines

Export the maxio field in the CAM XPT_PATH_INQ CCB in the isp(4)
driver.

This tells consumers up the stack the maximum I/O size that the
controller can handle.

The I/O size is bounded by the number of scatter/gather segments
the controller can handle and the page size.  For an amd64 system,
it works out to around 5MB.

Reviewed by:	mjacob
MFC after:	3 days
Sponsored by:	Spectra Logic

------------------------------------------------------------------------
r254373 | brooks | 2013-08-15 17:21:06 +0000 (Thu, 15 Aug 2013) | 2 lines

Call set_i8254_freq with MODE_STOP (0) rather than a magic number of 0.

------------------------------------------------------------------------
r254374 | brooks | 2013-08-15 17:44:44 +0000 (Thu, 15 Aug 2013) | 3 lines

Use an ANSI C definition of initializecpucache() to match the declaration
and the rest of the file.

------------------------------------------------------------------------
r254378 | trasz | 2013-08-15 20:00:32 +0000 (Thu, 15 Aug 2013) | 6 lines

Turn comments about locking into actual lock assertions.

Reviewed by:	ken
Tested by:	ken
MFC after:	1 month

------------------------------------------------------------------------
r254379 | jkim | 2013-08-15 20:03:22 +0000 (Thu, 15 Aug 2013) | 2 lines

Avoid potential redefinition of the macro.

------------------------------------------------------------------------
r254380 | cperciva | 2013-08-15 20:19:17 +0000 (Thu, 15 Aug 2013) | 24 lines

Change the queue of locks in kern_rangelock.c from holding lock requests in
the order that they arrive, to holding
(a) granted write lock requests, followed by
(b) granted read lock requests, followed by
(c) ungranted requests, in order of arrival.

This changes the stopping condition for iterating through granted locks to
see if a new request can be granted: When considering a read lock request,
we can stop iterating as soon as we see a read lock request, since anything
after that point is either a granted read lock request or a request which
has not yet been granted.  (For write lock requests, we must still compare
against all granted lock requests.)

For workloads with R parallel reads and W parallel writes, this improves
the time spent from O((R+W)^2) to O(W*(R+W)); i.e., heavy parallel-read
workloads become significantly more scalable.

No statistically significant change in buildworld time has been measured,
but synthetic tests of parallel 'dd > /dev/null' and 'openssl enc >/dev/null'
with the input file cached yield dramatic (up to 10x) improvement with high
(up to 128 processes) levels of parallelism.

Reviewed by:	kib

------------------------------------------------------------------------
r254384 | jkim | 2013-08-15 21:09:05 +0000 (Thu, 15 Aug 2013) | 3 lines

Simplify check for CMPXCHG8B instruction.  Note CMPXCHG8B instruction is
always available for Rise mP6 processors although it is not set by CPUID.

------------------------------------------------------------------------
r254387 | jeff | 2013-08-15 22:29:49 +0000 (Thu, 15 Aug 2013) | 6 lines

 - Fix bug in r254304.  Use the ACTIVE pq count for the active list
   processing, not inactive.  This was the result of a bad merge.

Reported by:	pho
Sponsored by:	EMC / Isilon Storage Division

------------------------------------------------------------------------
r254388 | jilles | 2013-08-15 22:33:27 +0000 (Thu, 15 Aug 2013) | 2 lines

sigsuspend(2): Add xrefs to pselect(2) and sigwait-alikes.

------------------------------------------------------------------------
r254389 | ken | 2013-08-15 22:52:39 +0000 (Thu, 15 Aug 2013) | 41 lines

Change the way that unmapped I/O capability is advertised.

The previous method was to set the D_UNMAPPED_IO flag in the cdevsw
for the driver.  The problem with this is that in many cases (e.g.
sa(4)) there may be some instances of the driver that can handle
unmapped I/O and some that can't.  The isp(4) driver can handle
unmapped I/O, but the esp(4) driver currently cannot.  The cdevsw
is shared among all driver instances.

So instead of setting a flag on the cdevsw, set a flag on the cdev.
This allows drivers to indicate support for unmapped I/O on a
per-instance basis.

sys/conf.h:	Remove the D_UNMAPPED_IO cdevsw flag and replace it
		with an SI_UNMAPPED cdev flag.

kern_physio.c:	Look at the cdev SI_UNMAPPED flag to determine
		whether or not a particular driver can handle
		unmapped I/O.

geom_dev.c:	Set the SI_UNMAPPED flag for all GEOM cdevs.
		Since GEOM will create a temporary mapping when
		needed, setting SI_UNMAPPED unconditionally will
		work.

		Remove the D_UNMAPPED_IO flag.

nvme_ns.c:	Set the SI_UNMAPPED flag on cdevs created here
		if NVME_UNMAPPED_BIO_SUPPORT is enabled.

vfs_aio.c:	In aio_qphysio(), check the SI_UNMAPPED flag on a
		cdev instead of the D_UNMAPPED_IO flag on the cdevsw.

sys/param.h:	Bump __FreeBSD_version to 1000045 for the switch from
		setting the D_UNMAPPED_IO flag in the cdevsw to setting
		SI_UNMAPPED in the cdev.

Reviewed by:	kib, jimharris
MFC after:	1 week
Sponsored by:	Spectra Logic

------------------------------------------------------------------------
r254395 | grehan | 2013-08-16 00:35:20 +0000 (Fri, 16 Aug 2013) | 4 lines

Fix ordering of legacy IRQ reservations.

Submitted by:	Jeremiah Lott   jlott at averesystems dot com

------------------------------------------------------------------------
r254396 | markj | 2013-08-16 03:41:41 +0000 (Fri, 16 Aug 2013) | 2 lines

Use strdup(9) instead of reimplementing it.

------------------------------------------------------------------------
r254397 | gjb | 2013-08-16 05:30:13 +0000 (Fri, 16 Aug 2013) | 6 lines

Mark the makefs(8) '-p' flag as deprecated in preference for
the '-Z' flag for compatibility with NetBSD.

Submitted by:	Eric van Gyzen (via stable@)
MFC after:	3 days

------------------------------------------------------------------------
r254400 | glebius | 2013-08-16 07:02:17 +0000 (Fri, 16 Aug 2013) | 2 lines

Provide UTF-8 version of russian calendars.

------------------------------------------------------------------------
r254404 | kevlo | 2013-08-16 07:42:06 +0000 (Fri, 16 Aug 2013) | 2 lines

Bring datasheet URL up to date.

------------------------------------------------------------------------
r254407 | des | 2013-08-16 10:53:36 +0000 (Fri, 16 Aug 2013) | 2 lines

GC unused source file.

------------------------------------------------------------------------
r254409 | jilles | 2013-08-16 13:10:30 +0000 (Fri, 16 Aug 2013) | 8 lines

Add dup3(), based on F_DUP2FD and F_DUP2FD_CLOEXEC fcntls.

I removed functionality not proposed for POSIX in Austin group issue #411.
A man page (my own) and test cases will follow in later commits.

PR:		176233
Submitted by:	Jukka Ukkonen

------------------------------------------------------------------------
r254410 | jilles | 2013-08-16 13:16:27 +0000 (Fri, 16 Aug 2013) | 2 lines

Add man page dup3(3).

------------------------------------------------------------------------
r254411 | jilles | 2013-08-16 13:16:55 +0000 (Fri, 16 Aug 2013) | 2 lines

Add tests for dup3().

------------------------------------------------------------------------
r254412 | jilles | 2013-08-16 13:48:11 +0000 (Fri, 16 Aug 2013) | 2 lines

sh: Add test for the non-standard jobid builtin.

------------------------------------------------------------------------
r254413 | jilles | 2013-08-16 13:56:43 +0000 (Fri, 16 Aug 2013) | 2 lines

sh: Recognize "--" as end of options in bg/fg/jobid builtins.

------------------------------------------------------------------------
r254414 | jilles | 2013-08-16 14:06:29 +0000 (Fri, 16 Aug 2013) | 2 lines

pselect(2): Add xref to sigsuspend(2).

------------------------------------------------------------------------
r254415 | kib | 2013-08-16 14:22:20 +0000 (Fri, 16 Aug 2013) | 6 lines

Restore the previous sendfile(2) behaviour on the block devices.
Provide valid .fo_sendfile method for several missed struct fileops.

Reviewed by:	glebius
Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r254416 | ken | 2013-08-16 16:14:32 +0000 (Fri, 16 Aug 2013) | 24 lines

Add unmapped I/O and larger I/O support to the sa(4) driver.

We now pay attention to the maxio field in the XPT_PATH_INQ CCB,
and if it is set, propagate it up to physio via the si_iosize_max
field in the cdev structure.

We also now pay attention to the PIM_UNMAPPED capability bit in the
XPT_PATH_INQ CCB, and set the new SI_UNMAPPED cdev flag when the
underlying SIM supports unmapped I/O.

scsi_sa.c:	Add unmapped I/O support and propagate the SIM's
		maximum I/O size up.

		Adjust scsi_tape_read_write() in the same way that
		scsi_read_write() was changed to support unmapped
		I/O.  We overload the readop parameter with bits
		that tell us whether it's an unmapped I/O, and we
		need to set the CAM_DATA_BIO CCB flag.  This change
		should be backwards compatible in source and
		binary forms.

MFC after:	1 week
Sponsored by:	Spectra Logic

------------------------------------------------------------------------
r254417 | sjg | 2013-08-16 16:26:23 +0000 (Fri, 16 Aug 2013) | 6 lines

When we need to build using the in-tree make,
switch at the earliest opportunity.
In the case of fmake vs bmake, this helps ensure correct load handling.

Reviewed by: obrien

------------------------------------------------------------------------
r254419 | sjg | 2013-08-16 18:47:18 +0000 (Fri, 16 Aug 2013) | 3 lines

Add .MAKE.ALWAYS_PASS_JOB_QUEUE knob (default yes)
for backwards compatability.

------------------------------------------------------------------------
r254423 | ian | 2013-08-16 19:40:00 +0000 (Fri, 16 Aug 2013) | 8 lines

When the timeout clock is based on the SD clock, the timeout counter
has to be recalculated every time the SD clock frequency changes.

Also, tidy up the counter calculation... it makes no sense to calculate
a value one larger than the limit, then whine that it's too large and
truncate it to the limit.  If the BROKEN_TIMEOUT quirk is set, don't
calculate the counter at all, just set it to the limit value.

------------------------------------------------------------------------
r254424 | ian | 2013-08-16 19:44:49 +0000 (Fri, 16 Aug 2013) | 4 lines

Add named constants for 8-bit bus support.  The sdhci and mmc drivers
don't have support for this yet, but some low-level hardware is ready
for it when the higher layers catch up.

------------------------------------------------------------------------
r254425 | ian | 2013-08-16 20:22:57 +0000 (Fri, 16 Aug 2013) | 4 lines

Print the card relative address in hex, because that's what all the
other debugging output does (when it appears in command arguments,
for example).

------------------------------------------------------------------------
r254426 | jilles | 2013-08-16 20:24:41 +0000 (Fri, 16 Aug 2013) | 4 lines

sh: Remove unnecessary reset functions.

These are already handled by exception handlers.

------------------------------------------------------------------------
r254427 | ian | 2013-08-16 20:32:56 +0000 (Fri, 16 Aug 2013) | 4 lines

During card identification, run the bus at 400KHz, not the minimum
speed the bus claims to be capable of.  The 400KHz speed is dictated
by the SD and MMC standards.

------------------------------------------------------------------------
r254430 | jhb | 2013-08-16 21:13:55 +0000 (Fri, 16 Aug 2013) | 24 lines

Add new mmap(2) flags to permit applications to request specific virtual
address alignment of mappings.
- MAP_ALIGNED(n) requests a mapping aligned on a boundary of (1 << n).
  Requests for n >= number of bits in a pointer or less than the size of
  a page fail with EINVAL.  This matches the API provided by NetBSD.
- MAP_ALIGNED_SUPER is a special case of MAP_ALIGNED.  It can be used
  to optimize the chances of using large pages.  By default it will align
  the mapping on a large page boundary (the system is free to choose any
  large page size to align to that seems best for the mapping request).
  However, if the object being mapped is already using large pages, then
  it will align the virtual mapping to match the existing large pages in
  the object instead.
- Internally, VMFS_ALIGNED_SPACE is now renamed to VMFS_SUPER_SPACE, and
  VMFS_ALIGNED_SPACE(n) is repurposed for specifying a specific alignment.
  MAP_ALIGNED(n) maps to using VMFS_ALIGNED_SPACE(n), while
  MAP_ALIGNED_SUPER maps to VMFS_SUPER_SPACE.
- mmap() of a device object now uses VMFS_OPTIMAL_SPACE rather than
  explicitly using VMFS_SUPER_SPACE.  All device objects are forced to
  use a specific color on creation, so VMFS_OPTIMAL_SPACE is effectively
  equivalent.

Reviewed by:	alc
MFC after:	1 month

------------------------------------------------------------------------
r254431 | ian | 2013-08-16 23:05:34 +0000 (Fri, 16 Aug 2013) | 19 lines

Handle command retries for commands originating at the mmc layer, and
ensure that all such commands have a non-zero retry count except for those
that are expected to fail (for example, because they are used to probe for
feature support).

While it is possible to pass a retry count down to the hardware driver in
the command request structure, no hardware driver currently implements any
retry logic.  The hardware doesn't know much about the context of a single
request, so it makes more sense to handle retries at a layer that does.

This adds retry loops to the mmc_wait_for_cmd() and mmc_wait_for_app_cmd()
functions.  These functions are the gateway from other code within mmc.c
to the hardware.  App commands are a sequence of two commands and a retry
has to rerun both of them in order, so it needs its own retry loop.

Retry looping is specifically NOT implemented in mmc_wait_for_request()
because it is the gateway for children on the bus, and they have to
implement their own retry logic depending on what makes sense for them.

------------------------------------------------------------------------
r254432 | ian | 2013-08-17 00:19:27 +0000 (Sat, 17 Aug 2013) | 3 lines

Consistently init all mmc request, command, and data structures to zero
before using them.

------------------------------------------------------------------------
r254433 | delphij | 2013-08-17 00:25:11 +0000 (Sat, 17 Aug 2013) | 2 lines

Fix build.

------------------------------------------------------------------------
r254434 | obrien | 2013-08-17 01:02:04 +0000 (Sat, 17 Aug 2013) | 2 lines

Correct spelling.

------------------------------------------------------------------------
r254435 | adrian | 2013-08-17 01:14:28 +0000 (Sat, 17 Aug 2013) | 2 lines

Log the MAC address of the node in question rather than the pointer.

------------------------------------------------------------------------
r254436 | mjacob | 2013-08-17 01:17:51 +0000 (Sat, 17 Aug 2013) | 2 lines

Correct sentence syntax too.

------------------------------------------------------------------------
r254437 | sjg | 2013-08-17 04:41:35 +0000 (Sat, 17 Aug 2013) | 2 lines

Don't let user specified DESTDIR, break building our chosen make.

------------------------------------------------------------------------
r254438 | hselasky | 2013-08-17 06:29:45 +0000 (Sat, 17 Aug 2013) | 5 lines

Fix some USB controller names according to pciconf output.

MFC after:	1 week
Submitted by:	Dmitry Luhtionov <dmitryluhtionov at gmail.com>

------------------------------------------------------------------------
r254439 | kib | 2013-08-17 07:10:01 +0000 (Sat, 17 Aug 2013) | 5 lines

Remove the arbitrary binding of the pagedaemon threads to the domains,
update the comment accordingly and make it more precise.

Requested and reviewed by:	jeff (previous version)

------------------------------------------------------------------------
r254440 | hrs | 2013-08-17 07:12:52 +0000 (Sat, 17 Aug 2013) | 10 lines

Unbreak rwhod(8):

- It did not work with GENERIC kernel after r250603 because
  options PROCDESC was required for pdfork(2).  It now just uses fork(2)
  instead when this syscall is not available.

- Fix verify().  This function was broken in r250602 because the outermost
  "()" was removed from the condition !(isalnum() || ispunct()).
  It prevented hostnames including "-", for example.

------------------------------------------------------------------------
r254441 | hrs | 2013-08-17 07:14:45 +0000 (Sat, 17 Aug 2013) | 3 lines

Return 0 in nbi->expire when la_expire == 0.  Conversion from time_uptime to
time_second should not be performed in this case.

------------------------------------------------------------------------
r254445 | pjd | 2013-08-17 14:09:46 +0000 (Sat, 17 Aug 2013) | 2 lines

Remove redundant variable.

------------------------------------------------------------------------
r254446 | pjd | 2013-08-17 14:13:45 +0000 (Sat, 17 Aug 2013) | 3 lines

In r114945 the line 'nmp = TAILQ_NEXT(mp, mnt_list);' was duplicated.
Instead of just removing the duplicate, convert the loop to TAILQ_FOREACH().

------------------------------------------------------------------------
r254447 | pjd | 2013-08-17 14:17:13 +0000 (Sat, 17 Aug 2013) | 5 lines

Make pdfork(2), pdkill(2) and pdgetpid(2) syscalls available for 32bit
binaries running under 64bit kernel.

Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r254448 | pjd | 2013-08-17 14:18:41 +0000 (Sat, 17 Aug 2013) | 4 lines

Regenerate after r254447.

Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r254449 | andrew | 2013-08-17 14:36:32 +0000 (Sat, 17 Aug 2013) | 5 lines

Silence a warning that is incorrect on ARMv6 and later. In the smull, umull,
smlal, and umlal the output registers are allowed to be the same as either
input registers, where in ARMv4 and ARMv5 they could only be the same as the
last input register.

------------------------------------------------------------------------
r254450 | andrew | 2013-08-17 14:42:40 +0000 (Sat, 17 Aug 2013) | 3 lines

Ensure we set all fpu registers to zero by using the address and size of
the union over one of its members.

------------------------------------------------------------------------
r254451 | andrew | 2013-08-17 14:52:19 +0000 (Sat, 17 Aug 2013) | 4 lines

Remove unused FPE code. This is not enabled anywhere as it is the only
file I can find containing FAST_FPE. It appears this would not work as
want_resched is not defined anywhere.

------------------------------------------------------------------------
r254452 | andrew | 2013-08-17 14:53:53 +0000 (Sat, 17 Aug 2013) | 2 lines

Remove fpe_sp_state as we don't support fpe.

------------------------------------------------------------------------
r254453 | pjd | 2013-08-17 14:55:31 +0000 (Sat, 17 Aug 2013) | 2 lines

Correct function name and return value.

------------------------------------------------------------------------
r254454 | andrew | 2013-08-17 15:09:14 +0000 (Sat, 17 Aug 2013) | 3 lines

Remove the ARMFPE option. It is unsupported, and appears to be broken as
arm_fpe_core_changecontext is not a function.

------------------------------------------------------------------------
r254455 | andrew | 2013-08-17 15:21:17 +0000 (Sat, 17 Aug 2013) | 2 lines

Remove the armfpe config options. These files don't exist on FreeBSD.

------------------------------------------------------------------------
r254457 | bryanv | 2013-08-17 17:02:43 +0000 (Sat, 17 Aug 2013) | 9 lines

Do not use potentially stale thread in kthread_add()

When an existing process is provided, the thread selected to use
to initialize the new thread could have exited and be reaped.
Acquire the proc lock earlier to ensure the thread remains valid.

Reviewed by:	jhb, julian (previous version)
MFC after:	3 days

------------------------------------------------------------------------
r254459 | hrs | 2013-08-17 17:23:42 +0000 (Sat, 17 Aug 2013) | 5 lines

- Use getnameinfo(3) instead of gethostbyaddr(3) or inet_ntop(3).

- Fill sin6_scope_id from in6p.sin6_addr.s6_addr[2].  struct inpcb has
  struct in6_addr for the endpoint addresses, so sin6_scope_id must be filled.

------------------------------------------------------------------------
r254461 | andrew | 2013-08-17 18:51:38 +0000 (Sat, 17 Aug 2013) | 6 lines

Rename device vfp to option VFP and retire the ARM_VFP_SUPPORT option. This
simplifies enabling as previously both options were required to be enabled,
now we only need a single option.

While here enable VFP on the PandaBoard.

------------------------------------------------------------------------
r254462 | hrs | 2013-08-17 19:23:35 +0000 (Sat, 17 Aug 2013) | 3 lines

- Remove struct ifinfo *iflist.  It is no longer used.
- Suppress warnings about increase of alignment requirement.

------------------------------------------------------------------------
r254463 | jilles | 2013-08-17 19:24:58 +0000 (Sat, 17 Aug 2013) | 11 lines

libc: Access _logname_valid more efficiently.

The variable _logname_valid is not exported via the version script;
therefore, change C and i386/amd64 assembler code to remove indirection
(which allowed interposition). This makes the code slightly smaller and
faster.

Also, remove #define PIC_GOT from i386/amd64 in !PIC mode. Without PIC,
there is no place containing the address of each variable, so there is no
possible definition for PIC_GOT.

------------------------------------------------------------------------
r254464 | ian | 2013-08-17 19:29:51 +0000 (Sat, 17 Aug 2013) | 2 lines

Enable VFP support for BeagleBone.

------------------------------------------------------------------------
r254465 | emaste | 2013-08-17 19:34:41 +0000 (Sat, 17 Aug 2013) | 4 lines

Correct implementation of atomic_flag_test_and_set

The function sets the flag and returns the previous value (7.17.8.1).

------------------------------------------------------------------------
r254466 | neel | 2013-08-17 19:49:08 +0000 (Sat, 17 Aug 2013) | 23 lines

Bump up the maximum addressable memory on amd64 systems from 1TB to 4TB.
Bump up the KVA size proportionally from 512GB to 2TB.

The number of page table pages used by the direct map is now calculated at
run time based on 'Maxmem'. This means the small memory systems will not
see any additional tax in terms of page table pages for the direct map.

However all amd64 systems, regardless of the memory size, will use 3 more
pages to accomodate the bump in the KVA size.

More details available here:
http://lists.freebsd.org/pipermail/freebsd-hackers/2013-June/043015.html
http://lists.freebsd.org/pipermail/freebsd-current/2013-July/043143.html

Tested with the following configurations:
- Sandybridge server with 64GB of memory.
- bhyve VM with 64MB of memory.
- bhyve VM with a 8GB of memory with the memory segment above 4GB cuddling
  right up against the 4TB maximum memory limit.

Discussed on:	hackers@, current@
Submitted by:	Chris Torek (torek at torek.net)

------------------------------------------------------------------------
r254467 | markj | 2013-08-17 21:53:37 +0000 (Sat, 17 Aug 2013) | 4 lines

Remove a couple of unused macros.

MFC after:	3 days

------------------------------------------------------------------------
r254468 | markj | 2013-08-17 22:02:26 +0000 (Sat, 17 Aug 2013) | 10 lines

Add a "translated type" argument to SDT_PROBE_ARGTYPE() and add some macros
which allow one to define SDT probes that specify translated types. The idea
is to make it easy to write SDT probe definitions that can work across
multiple operating systems. In particular, this makes it possible to port
illumos SDT probes to FreeBSD without changing their argument types, so long
as the appropriate translators are defined. Then DTrace scripts written for
Solaris/illumos will work on FreeBSD without any changes.

MFC after:	1 week

------------------------------------------------------------------------
r254469 | markj | 2013-08-17 22:06:30 +0000 (Sat, 17 Aug 2013) | 7 lines

Update the SDT(9) man page with the macros added in 254468. Also change the
existing examples to not pass an mbuf as a probe argument. There's no
obvious reason to have it there, and it doesn't really jibe with the example
added in this revision.

MFC after:	1 week

------------------------------------------------------------------------
r254470 | hrs | 2013-08-17 22:13:26 +0000 (Sat, 17 Aug 2013) | 2 lines

Use sysctl(ICMPV6CTL_ND6_DRLIST) instead of SIOCGDRLST_IN6 ioctl.

------------------------------------------------------------------------
r254476 | adrian | 2013-08-18 06:08:52 +0000 (Sun, 18 Aug 2013) | 17 lines

Add in missing events for Sandy Bridge Xeon.

* Add in MEM_LOAD_UOPS_LLC_HIT_RETIRED for both sandy bridge and sandy
  bridge Xeon.  Right now it only is enabled for Sandy Bridge.
* D2/0F is actually a combination rather than a separate counter, so
  just flip that on for the CPU types that support it.

There's an errata for using this on SB Xeon hardware - I've documented
it in kern/181346.

Tested:

* Sandy Bridge
* Sandy Bridge Xeon

Sponsored by:	Netflix, Inc.

------------------------------------------------------------------------
r254479 | pjd | 2013-08-18 09:45:52 +0000 (Sun, 18 Aug 2013) | 3 lines

Better organize the filecaps structure, which reduces its size from 32 bytes
to 24 bytes on 64bit archs.

------------------------------------------------------------------------
r254480 | pjd | 2013-08-18 10:21:29 +0000 (Sun, 18 Aug 2013) | 8 lines

Add process descriptors support to the GENERIC kernel. It is already being
used by the tools in base systems and with sandboxing more and more tools
the usage should only increase.

Submitted by:	Mariusz Zaborski <oshogbo at FreeBSD.org>
Sponsored by:	Google Summer of Code 2013
MFC after:	1 month

------------------------------------------------------------------------
r254481 | pjd | 2013-08-18 10:30:41 +0000 (Sun, 18 Aug 2013) | 6 lines

Implement 32bit versions of the cap_ioctls_limit(2) and cap_ioctls_get(2)
system calls as unsigned longs have different size on i386 and amd64.

Reported by:	jilles
Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r254482 | pjd | 2013-08-18 10:31:30 +0000 (Sun, 18 Aug 2013) | 2 lines

Regenerate after r254481.

------------------------------------------------------------------------
r254483 | pjd | 2013-08-18 10:33:46 +0000 (Sun, 18 Aug 2013) | 2 lines

Make example more correct (errstr is a pointer, not boolean).

------------------------------------------------------------------------
r254484 | pjd | 2013-08-18 10:38:59 +0000 (Sun, 18 Aug 2013) | 4 lines

Consistently use 'af' as an argument name for address family.
Now both gethostbyname2(3) and gethostbyaddr(3) use the same argument name.
The same argument name is also used in implementations of those functions.

------------------------------------------------------------------------
r254485 | pjd | 2013-08-18 10:44:37 +0000 (Sun, 18 Aug 2013) | 3 lines

Make the "FD" column one character wider, so that "trace" can also align
properly.

------------------------------------------------------------------------
r254486 | pjd | 2013-08-18 11:25:42 +0000 (Sun, 18 Aug 2013) | 8 lines

Cast argument of is*() ctype functions to unsigned char.

Without the cast there is ambiguity between 0xFF and -1 (EOF).

Suggested by:	jilles
Submitted by:	Mariusz Zaborski <oshogbo at FreeBSD.org>
Sponsored by:	Google Summer of Code 2013

------------------------------------------------------------------------
r254487 | andrew | 2013-08-18 11:54:20 +0000 (Sun, 18 Aug 2013) | 2 lines

Enable VFP support on EFIKA MX.

------------------------------------------------------------------------
r254488 | jilles | 2013-08-18 13:25:18 +0000 (Sun, 18 Aug 2013) | 7 lines

dup3(3): Replace copyright notice.

Although I copied dup(2) to create dup3(3), I removed almost all the
non-boilerplate, so dup3(3) is copyright me.

Reported by:	bjk

------------------------------------------------------------------------
r254489 | jilles | 2013-08-18 13:27:04 +0000 (Sun, 18 Aug 2013) | 6 lines

Disallow opening a POSIX message queue for execute.

O_EXEC was formerly ignored, so equivalent to O_RDONLY.

Reject O_EXEC with [EINVAL] like the invalid mode 3.

------------------------------------------------------------------------
r254490 | pjd | 2013-08-18 13:34:11 +0000 (Sun, 18 Aug 2013) | 5 lines

Move the PAIR32TO64() macro and the RETVAL_HI/RETVAL_LO defines to a
header file for use by other .c files.

Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r254491 | pjd | 2013-08-18 13:37:54 +0000 (Sun, 18 Aug 2013) | 7 lines

The cap_rights_limit(2) system calls needs a wrapper for 32bit binaries
running under 64bit kernels as the 'rights' argument has to be split
into two registers or the half of the rights will disappear.

Reported by:	jilles
Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r254492 | pjd | 2013-08-18 13:38:39 +0000 (Sun, 18 Aug 2013) | 2 lines

Regenerate after r254491.

------------------------------------------------------------------------
r254493 | andrew | 2013-08-18 16:16:36 +0000 (Sun, 18 Aug 2013) | 2 lines

Enable VFP on the CubieBoard and CubieBoard 2.

------------------------------------------------------------------------
r254494 | andrew | 2013-08-18 17:18:52 +0000 (Sun, 18 Aug 2013) | 2 lines

Enable VFP in the Versatile PB (QEMU) kernel. Tested on QEMU 1.6.0.

------------------------------------------------------------------------
r254495 | cognet | 2013-08-18 18:08:12 +0000 (Sun, 18 Aug 2013) | 4 lines

Increase the max KVA available for general consumption on the Exynos 5.

Submitted by:	Ruslan Bukin <br at bsdpad.com>

------------------------------------------------------------------------
r254496 | ian | 2013-08-18 19:08:53 +0000 (Sun, 18 Aug 2013) | 5 lines

Add a new SDHCI_QUIRK_DONT_SHIFT_RESPONSE for hardware that pre-shifts
the response bits the way we do in software.  While the hardware is just
doing the sensible thing rather than leaving it to the software, it's in
violation of the spec by doing so.  Grrrr.

------------------------------------------------------------------------
r254497 | tijl | 2013-08-18 19:37:35 +0000 (Sun, 18 Aug 2013) | 3 lines

Change the return type of the fallback implementation of the
atomic_compare_exchange_* macros in stdatomic.h to _Bool.

-------------- next part --------------
------------------------------------------------------------------------
r254270 | erwin | 2013-08-13 06:25:17 +0000 (Tue, 13 Aug 2013) | 6 lines

MFC r254132:
  Add empty zones for Shared Address Space (RFC 6598)

Approved by:  delphij (mentor)
Sponsored by: DK Hostmaster A/S

------------------------------------------------------------------------
r254306 | scottl | 2013-08-13 22:05:50 +0000 (Tue, 13 Aug 2013) | 19 lines

Merge r254263:

Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI
command register.  The lazy BAR allocation code in FreeBSD sometimes
disables this bit when it detects a range conflict, and will re-enable
it on demand when a driver allocates the BAR.  Thus, the bit is no longer
a reliable indication of capability, and should not be checked.  This
results in the elimination of a lot of code from drivers, and also gives
the opportunity to simplify a lot of drivers to use a helper API to set
the busmaster enable bit.

This changes fixes some recent reports of disk controllers and their
associated drives/enclosures disappearing during boot.

Candidate for 9.2

Submitted by:	jhb
Reviewed by:	jfv, marius, adrian, achim

------------------------------------------------------------------------
r254310 | markj | 2013-08-14 01:55:01 +0000 (Wed, 14 Aug 2013) | 3 lines

MFC r254020:
Add a missing module version declaration to if_tun(4).

------------------------------------------------------------------------
r254312 | markj | 2013-08-14 02:00:37 +0000 (Wed, 14 Aug 2013) | 3 lines

MFC r254017:
Fill in the description fields for M_FICT_PAGES.

------------------------------------------------------------------------
r254313 | markj | 2013-08-14 02:36:21 +0000 (Wed, 14 Aug 2013) | 3 lines

MFC r253850:
Properly print arguments to vfork(2) and rfork(2).

------------------------------------------------------------------------
r254331 | dteske | 2013-08-14 16:15:14 +0000 (Wed, 14 Aug 2013) | 5 lines

MFC r254237:
Add optional support for default override of standard setup; but only if
corresponding functions are provided. If override function does not exist,
boot remains unmodified. This patch should not result in any changes.

------------------------------------------------------------------------
r254332 | jlh | 2013-08-14 17:49:08 +0000 (Wed, 14 Aug 2013) | 7 lines

MFC r253853:
  Include /usr/local/etc/libmap.d/ by default.

  PR:             180568
  Reviewed by:    bapt
  Obtained from:  kib

------------------------------------------------------------------------
r254333 | ae | 2013-08-14 18:33:39 +0000 (Wed, 14 Aug 2013) | 3 lines

MFC r253986:
  Fix formatting warning.

------------------------------------------------------------------------
r254347 | gshapiro | 2013-08-15 01:32:48 +0000 (Thu, 15 Aug 2013) | 5 lines

MFC: Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags
     to prevent problems between the resolver and Microsoft DNS servers with
     AAAA lookups.  The upstream open source project will work on a more
     permanent fix for the next release.  Issue noted by Pavel Timofeev.

------------------------------------------------------------------------
r254352 | tuexen | 2013-08-15 04:25:16 +0000 (Thu, 15 Aug 2013) | 5 lines

MFC r254338:
Don't send uninitialized memory (two instances of 4 bytes) in
every cookie on the wire. This bug was reported in
https://bugzilla.mozilla.org/show_bug.cgi?id=905080

------------------------------------------------------------------------
r254353 | ache | 2013-08-15 04:27:10 +0000 (Thu, 15 Aug 2013) | 10 lines

MFC: r254091

According to POSIX \ in the fnmatch(3) pattern should escape
any character including '\0', but our version replace escaped '\0'
with '\\'.
I.e. fnmatch("\\", "\\", 0) should not match while fnmatch("\\", "", 0)
should (Linux and NetBSD does the same). Was vice versa.

PR:     181129

------------------------------------------------------------------------
r254360 | gjb | 2013-08-15 10:31:31 +0000 (Thu, 15 Aug 2013) | 5 lines

MFC r254265:
 Make sure bootonly.iso for -BETAs and -RCs use the releases/
 directory on the FTP mirrors to fetch distributions, since
 these are always pushed to releases/ during the release cycle.

------------------------------------------------------------------------
r254366 | ae | 2013-08-15 13:09:58 +0000 (Thu, 15 Aug 2013) | 5 lines

MFC r254092:
  Make the check for number of entries less strict.
  Some partitioning tools can create GPT with number of entries less
  than 128.

------------------------------------------------------------------------
r254382 | jfv | 2013-08-15 20:33:17 +0000 (Thu, 15 Aug 2013) | 2 lines

MFC r254008 Make the fallback from MSIX to MSI interrupt usage more graceful.

------------------------------------------------------------------------
r254383 | jfv | 2013-08-15 21:06:38 +0000 (Thu, 15 Aug 2013) | 4 lines

MFC r254262  Further improve the msix setup, make sure pci_alloc_msix() gives us
             the vectors we requested, and fall back to MSI when not, also release
             any allocated resources before the fallback.

------------------------------------------------------------------------
r254385 | jfv | 2013-08-15 21:24:43 +0000 (Thu, 15 Aug 2013) | 3 lines

MFC r254264  Make the igb_mq_start() routine use TRYLOCK rather than simple
             queuing, there were latency and other problems with the latter.

------------------------------------------------------------------------
r254398 | davidxu | 2013-08-16 06:40:12 +0000 (Fri, 16 Aug 2013) | 30 lines

MFC r239347, 240295, 240296 and 253325:

    r239347 | davidxu | 2012-08-17 10:26:31 +0800 (Fri, 17 Aug 2012) | 7 lines

    Implement syscall clock_getcpuclockid2, so we can get a clock id
    for process, thread or others we want to support.
    Use the syscall to implement POSIX API clock_getcpuclock and
    pthread_getcpuclockid.

    PR:	168417

    ------------------------------------------------------------------------
    r240295 | davidxu | 2012-09-10 13:00:29 +0800 (Mon, 10 Sep 2012) | 2 lines

    Add missing prototype for clock_getcpuclockid.

    ------------------------------------------------------------------------
    r240296 | davidxu | 2012-09-10 13:09:39 +0800 (Mon, 10 Sep 2012) | 2 lines

    Process CPU-Time Clocks option is supported, define _POSIX_CPUTIME.

    ------------------------------------------------------------------------
    r253325 | kib | 2013-07-14 03:32:50 +0800 (Sun, 14 Jul 2013) | 6 lines

    Allow to call clock_gettime() on the clock id for zombie process.

    Reported by:	Petr Salinger <Petr.Salinger at seznam.cz>
    PR:	threads/180496
    Sponsored by:	The FreeBSD Foundation

------------------------------------------------------------------------
r254399 | davidxu | 2013-08-16 06:42:24 +0000 (Fri, 16 Aug 2013) | 2 lines

Regen.

------------------------------------------------------------------------
r254402 | erwin | 2013-08-16 07:11:13 +0000 (Fri, 16 Aug 2013) | 40 lines

MFC 253983, 253984:

  Update Bind to 9.8.5-P2

  New Features

     Adds a new configuration option, "check-spf"; valid values are
     "warn" (default) and "ignore".  When set to "warn", checks SPF
     and TXT records in spf format, warning if either resource record
     type occurs without a corresponding record of the other resource
     record type.  [RT #33355]

     Adds support for Uniform Resource Identifier (URI) resource
     records. [RT #23386]

     Adds support for the EUI48 and EUI64 RR types. [RT #33082]

     Adds support for the RFC 6742 ILNP record types (NID, LP, L32,
     and L64). [RT #31836]

  Feature Changes

     Changes timing of when slave zones send NOTIFY messages after
     loading a new copy of the zone.  They now send the NOTIFY before
     writing the zone data to disk.  This will result in quicker
     propagation of updates in multi-level server structures. [RT #27242]
     "named -V" can now report a source ID string.  (This is will be
     of most interest to developers and troubleshooters).  The source

     ID for ISC's production versions of BIND is defined in the "srcid"
     file in the build tree and is normally set to the most recent
     git hash. [RT #31494]

     Response Policy Zone performance enhancements.  New "response-policy"
     option "min-ns-dots".  "nsip" and "nsdname" now enabled by default
     with RPZ. [RT #32251]

Approved by:  delphij (mentor)
Sponsored by: DK Hostmaster A/S

------------------------------------------------------------------------
r254442 | kib | 2013-08-17 08:05:32 +0000 (Sat, 17 Aug 2013) | 3 lines

MFC r254191:
Match malloc(9) calls with free(9), not contigfree(9).

------------------------------------------------------------------------
r254444 | kib | 2013-08-17 08:31:34 +0000 (Sat, 17 Aug 2013) | 4 lines

MFC r253969:
Do not override the ENOENT error for the empty path, or EFAULT errors
from copyins, with the relative lookup check.

------------------------------------------------------------------------
r254456 | kib | 2013-08-17 16:42:18 +0000 (Sat, 17 Aug 2013) | 4 lines

Fix the mismerge in r254444, use '==' instead of '='.

Pointed out by:	jilles, John Wehle <john at feith.com>

------------------------------------------------------------------------
r254477 | emaste | 2013-08-18 08:18:49 +0000 (Sun, 18 Aug 2013) | 11 lines

MFC r239960:

  Properly enable Clang-style atomics when available.

  In addition to testing against cxx_atomic, we must check c_atomic. The
  former is only set when building C++ code. Also use __has_extension
  instead of __has_feature. This allows us to use the atomics outside of
  C11.

PR:	threads/170073

------------------------------------------------------------------------
r254478 | emaste | 2013-08-18 08:24:58 +0000 (Sun, 18 Aug 2013) | 17 lines

MFC r240970:

  - Make C11 atomic macros usable in expressions:
    - Replace do-while statements with void expressions.
    - Wrap __asm statements in statement expressions.
  - Make the macros function-like:
    - Evaluate all arguments exactly once.
    - Make sure there's a sequence point between evaluation of the
      arguments and the function body. Arguments should be evaluated
      before any memory barriers.
  - Fix use of __atomic_is_lock_free built-in. It requires the address
    of an atomic variable as second argument. Use this built-in on clang
    as well because clang's __c11_atomic_is_lock_free only takes the size
    of the variable into account.
  - In atomic_exchange_explicit put the barrier before instead of after
    the __sync_lock_test_and_set call.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-snapshots/attachments/20130819/b36d9bfa/attachment.sig>


More information about the freebsd-snapshots mailing list