]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFC: r269089:
allanjude [Thu, 16 Apr 2015 00:29:49 +0000 (00:29 +0000)]
MFC: r269089:
Update the freebsd-tips example to use drill instead of dig since bind is no longer in base

Approved by: eadler (mentor, implicit)
Sponsored by: ScaleEngine Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281572 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r280301:
allanjude [Thu, 16 Apr 2015 00:27:53 +0000 (00:27 +0000)]
MFC: r280301:
Fix grammar in epair(4) man page

Approved by: eadler (mentor, implicit)
Sponsored by: ScaleEngine Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281571 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r266671, r266725:
allanjude [Thu, 16 Apr 2015 00:24:21 +0000 (00:24 +0000)]
MFC: r266671, r266725:
Merge strcspn.3 into strspn.3 and clarify the explaination

Approved by: eadler (mentor, implicit)
Sponsored by: ScaleEngine Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281570 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281146.
rakuco [Wed, 15 Apr 2015 22:07:51 +0000 (22:07 +0000)]
MFC r281146.

bthidd: Remove unused macros from hid.c.

ASIZE() was never used, and min() stopped being used in r207812.

Differential Revision: https://reviews.freebsd.org/D2230
Reviewed by: emax
Approved by: emax

git-svn-id: svn://svn.freebsd.org/base/stable/10@281567 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281116.
rakuco [Wed, 15 Apr 2015 22:02:52 +0000 (22:02 +0000)]
MFC r281116.

bthidd: Consider usage ranges when dealing with array inputs.

So far, we were always using HID_USAGE() to determine the Usage ID of a
certain HID report input item. This does not work as intended if a field
is an array and the allowed usages are specified with a usage range, as
HID_USAGE() will return 0. We need to use the field value as an index in
the usage range list in this case instead.

This makes the volume keys in a Microsoft Bluetooth Mobile Keyboard
5000 be properly recognized. The relevant part of the HID report looks
like this:

  0xA1, 0x01,        // Collection (Application)
  0x85, 0x07,        //   Report ID (7)
  0x05, 0x0C,        //   Usage Page (Consumer)
  0x19, 0x00,        //   Usage Minimum (Unassigned)
  0x2A, 0xFF, 0x03,  //   Usage Maximum (0x03FF)
  0x95, 0x01,        //   Report Count (1)
  0x75, 0x10,        //   Report Size (16)
  0x15, 0x00,        //   Logical Minimum (0)
  0x27, 0xFF, 0x03, 0x00, 0x00,  //   Logical Maximum (1023)
  0x81, 0x00,        //   Input (Data,Array,Abs,No Wrap,Linear,Preferred
                     //   State,No Null Position)

When a key such as "volume down" is pressed, the following data is
transferred through Interrupt In:

  0x07 0xEA 0x00

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

git-svn-id: svn://svn.freebsd.org/base/stable/10@281566 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFI r257381:
slm [Wed, 15 Apr 2015 21:47:15 +0000 (21:47 +0000)]
MFI r257381:
    Adjust to handle either a 32-bit or 64-bit lun_id_t in printf.

MFC r266615:
    Increase taskqueue thread priority from idle to PRIBIO.

MFC r279253:
    - Copyright to Avago
    - SSU changes
    - SATA ID timeout handling (PR 191348)
    - reset handling changes
    - Bump version to 20.00.00.00-fbsd

MFC r279695:
    Change that should have been done with r279253

git-svn-id: svn://svn.freebsd.org/base/stable/10@281564 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 278325,280866:
jhb [Wed, 15 Apr 2015 16:52:34 +0000 (16:52 +0000)]
MFC 278325,280866:
Revert the IPI startup sequence to match what is described in the
Intel Multiprocessor Specification v1.4.  The Intel SDM claims that

278325:
Revert the IPI startup sequence to match what is described in the
Intel Multiprocessor Specification v1.4.  The Intel SDM claims that
the INIT IPIs here are invalid, but other systems follow the MP
spec instead.

While here, fix the IPI wait routine to accept a timeout in microseconds
instead of a raw spin count, and don't spin forever during AP startup.
Instead, panic if a STARTUP IPI is not delivered after 20 us.

280866:
Wait 100 microseconds for a local APIC to dispatch each startup-related IPI
rather than 20.  The MP 1.4 specification states in Appendix B.2:

  "A period of 20 microseconds should be sufficient for IPI dispatch to
   complete under normal operating conditions".

(Note that this appears to be separate from the 10 millisecond (INIT) and
200 microsecond (STARTUP) waits after the IPIs are dispatched.)  The
Intel SDM is silent on this issue as far as I can tell.

At least some hardware requires 60 microseconds as noted in the PR, so
bump this to 100 to be on the safe side.

PR: 196542, 197756

git-svn-id: svn://svn.freebsd.org/base/stable/10@281560 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281272:
kib [Wed, 15 Apr 2015 06:59:53 +0000 (06:59 +0000)]
MFC r281272:
Explain that vm_page_array is mapped to describe the memory, not the
memory itself.  Provide the formula to calculate the number of
required page tables.  Correct the size of the struct vm_page for
non-PAE case.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281547 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281254:
kib [Wed, 15 Apr 2015 06:56:51 +0000 (06:56 +0000)]
MFC r281254:
Account for the offset of the page run when allocating the
dmar_map_entry.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281545 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281162, r281451:
dchagin [Wed, 15 Apr 2015 05:13:41 +0000 (05:13 +0000)]
MFC r281162, r281451:

Use flexible array for per cpu uma_cache to avoid allocating
an extra struct uma_cache.

PR: 199169

git-svn-id: svn://svn.freebsd.org/base/stable/10@281543 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 278474,278476,280279:
jhb [Tue, 14 Apr 2015 20:05:26 +0000 (20:05 +0000)]
MFC 278474,278476,280279:
Expand the bitcount*() API and use it to implement CPU_COUNT for cpusets.

278474:
Use __builtin_popcnt() to implement a BIT_COUNT() operation for bitsets and
use this to implement CPU_COUNT() to count the number of CPUs in a cpuset.

278476:
Use __builtin_popcountl() instead of __builtin_popcount().

280279:
Expand the bitcount* API to support 64-bit integers, plain ints and longs
and create a "hidden" API that can be used in other system headers without
adding namespace pollution.
- If the POPCNT instruction is enabled at compile time, use
  __builtin_popcount*() to implement __bitcount*(), otherwise fall back
  to software implementations.
- Use the existing bitcount16() and bitcount32() from <sys/systm.h> to
  implement the non-POPCNT __bitcount16() and __bitcount32() in
  <sys/types.h>.
- For the non-POPCNT __bitcount64(), use a similar SWAR method on 64-bit
  systems.  For 32-bit systems, use two __bitcount32() operations on the
  two halves.
- Use __bitcount32() to provide a __bitcount() that operates on plain ints.
- Use either __bitcount32() or __bitcount64() to provide a
  __bitcountl() that operates on longs.
- Add public bitcount*() wrappers for __bitcount*() for use in the kernel
  in <sys/libkern.h>.
- Use __bitcountl() instead of __builtin_popcountl() in BIT_COUNT().

git-svn-id: svn://svn.freebsd.org/base/stable/10@281538 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281181, r281182;
pfg [Tue, 14 Apr 2015 18:57:50 +0000 (18:57 +0000)]
MFC r281181, r281182;

sort(1): Cleanups and a small memory leak.
Remove custom getdelim(3) and fix a small memory leak.

Obtained from:  OpenBSD

git-svn-id: svn://svn.freebsd.org/base/stable/10@281535 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281320:
pfg [Tue, 14 Apr 2015 18:45:30 +0000 (18:45 +0000)]
MFC r281320:
Update documented OEM string in newfs_msdos(8).

This was updated in r203868 to better match the naming scheme
in other OSs that use FAT.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281533 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281199: Remove hard limits on number of accepting NFS connections.
mav [Tue, 14 Apr 2015 09:58:10 +0000 (09:58 +0000)]
MFC r281199: Remove hard limits on number of accepting NFS connections.

Limits of 5 connections set long ago creates problems for SPEC benchmark.
Make the NFS follow system-wide maximum.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281520 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280716,280767,280914:
delphij [Tue, 14 Apr 2015 00:32:03 +0000 (00:32 +0000)]
MFC r280716,280767,280914:

 - Correct type for checkAgainst.
 - Staticify flags that are not used outside the file scope.
 - Fix warnings.
 - Constify parameters.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281513 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266417 (bjk):
delphij [Tue, 14 Apr 2015 00:27:54 +0000 (00:27 +0000)]
MFC r266417 (bjk):

Assorted updates to md5.1

Note that the -c argument's parameter is compared against the digest of
the file, not the file. [1]

Update the "current time" parentheticals for notes about reversing
and colliding the hash functions. [1]

Some general mdoc updates.

PR: docs/188043 [1]
Submitted by: Jamie Landeg-Jones [1]

git-svn-id: svn://svn.freebsd.org/base/stable/10@281512 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r281335
jkim [Mon, 13 Apr 2015 22:26:11 +0000 (22:26 +0000)]
MFC: r281335

Print 64-bit addresses clearly with leading zeros to avoid confusions.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281506 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r281331
jkim [Mon, 13 Apr 2015 22:22:32 +0000 (22:22 +0000)]
MFC: r281331

Do not crash when RSDT/XSDT contains an empty entry.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281505 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281163: Make ctld to not exit on ECONNABORTED on accept().
mav [Mon, 13 Apr 2015 09:18:56 +0000 (09:18 +0000)]
MFC r281163: Make ctld to not exit on ECONNABORTED on accept().

That is not really an error for the main process.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281488 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280850:
mav [Mon, 13 Apr 2015 09:17:57 +0000 (09:17 +0000)]
MFC r280850:
Periodically wake up threads waiting for vmem(9) resources, so they could
ask for resource reclamation again.

This is kind of dirty hack, but as last resort this is better then stuck
indefinitely because of KVA fragmentation, waiting until some random event
free something sufficient.  OpenSolaris also has this hack in its vmem(9).

git-svn-id: svn://svn.freebsd.org/base/stable/10@281487 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r268182: Initialize page sizes early for ia64.
peter [Mon, 13 Apr 2015 08:35:03 +0000 (08:35 +0000)]
MFC r268182:  Initialize page sizes early for ia64.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281486 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280834:
markj [Mon, 13 Apr 2015 01:42:24 +0000 (01:42 +0000)]
MFC r280834:
Bound the number of frames traversed when executing the ustackdepth action.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281482 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281136:
rpaulo [Mon, 13 Apr 2015 01:19:22 +0000 (01:19 +0000)]
MFC r281136:
  ichsmb: add a device id for the Wildcat Point-LP.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281481 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281383:
eadler [Mon, 13 Apr 2015 01:01:17 +0000 (01:01 +0000)]
MFC r281383:

iwn, wlan: fix typos
Fxi tow typos

git-svn-id: svn://svn.freebsd.org/base/stable/10@281480 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r279862:
markj [Sun, 12 Apr 2015 21:45:34 +0000 (21:45 +0000)]
MFC r279862:
Fix a possible infinite loop in ctf_discard().

MFC r279864:
Use CTF_TYPE_TO_INDEX when comparing type indices to the dynamic type
threshold.

MFC r279869:
If the destination container contains only a forward declaration for the
input type in ctf_add_type(), search its dynamic type list before adding
a new type.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281474 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280882:
markj [Sun, 12 Apr 2015 21:38:18 +0000 (21:38 +0000)]
MFC r280882:
Fix a misparenthesization that could cause a crash if TERM is not set.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281473 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278114:
markj [Sun, 12 Apr 2015 21:35:13 +0000 (21:35 +0000)]
MFC r278114:
libdtrace: Let the standard deviation of the empty set be 0.

PR: 197260

git-svn-id: svn://svn.freebsd.org/base/stable/10@281472 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280998:
markj [Sun, 12 Apr 2015 21:28:54 +0000 (21:28 +0000)]
MFC r280998:
arp(8): add support for printing and deleting entries of type
IFT_INFINIBAND, used in IPoIB.

PR: 151594

git-svn-id: svn://svn.freebsd.org/base/stable/10@281471 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281113:
dchagin [Sun, 12 Apr 2015 07:24:10 +0000 (07:24 +0000)]
MFC r281113:
Fix wrong kassert msg in uma.

PR:           199172

git-svn-id: svn://svn.freebsd.org/base/stable/10@281458 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281121:
kib [Sun, 12 Apr 2015 07:05:20 +0000 (07:05 +0000)]
MFC r281121:
Do not call msdosfs_sync() on the read-only msdosfs mounts.

PR:    199152

git-svn-id: svn://svn.freebsd.org/base/stable/10@281457 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281120:
kib [Sun, 12 Apr 2015 07:03:26 +0000 (07:03 +0000)]
MFC r281120:
Assert that an msdosfs mount is not read-only when FAT modifications
are requested.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281456 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280819:
kib [Sun, 12 Apr 2015 06:54:53 +0000 (06:54 +0000)]
MFC r280819:
Formatting changes to the pthread_testcancel(3).

git-svn-id: svn://svn.freebsd.org/base/stable/10@281455 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280818:
kib [Sun, 12 Apr 2015 06:52:43 +0000 (06:52 +0000)]
MFC r280818:
Make kevent(2) a cancellation point.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281454 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280816:
kib [Sun, 12 Apr 2015 06:45:40 +0000 (06:45 +0000)]
MFC r280816:
Change default visibility for rtld to hidden, on x86.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281453 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264346 (by alc):
kib [Sun, 12 Apr 2015 06:43:13 +0000 (06:43 +0000)]
MFC r264346 (by alc):
Pass MAP_ALIGNED_SUPER to allocate the whole dso region if its text is large
enough for the superpage mapping.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281452 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 281112, 281166
jpaetzel [Sun, 12 Apr 2015 01:14:43 +0000 (01:14 +0000)]
MFC 281112, 281166

Bug fixes and feature adds

- Remove extranious echo that breaks puppet
- Handle restarts of multiple pflog devices correctly
- Add the ability to perform actions on specific pflog devices.

Typo Fix.

PR: 199150

git-svn-id: svn://svn.freebsd.org/base/stable/10@281446 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281070:
rpaulo [Sat, 11 Apr 2015 02:23:59 +0000 (02:23 +0000)]
MFC r281070:
  urtwn: blink the LED when scanning.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281390 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r281171
jkim [Sat, 11 Apr 2015 01:17:19 +0000 (01:17 +0000)]
MFC: r281171

Tidy up battery status information.  Remove a trailing white space.

PR: 193671

git-svn-id: svn://svn.freebsd.org/base/stable/10@281389 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r276347
rmacklem [Fri, 10 Apr 2015 23:43:01 +0000 (23:43 +0000)]
MFC: r276347
r245508 modified the NFS client's Setattr RPC to
use VA_UTIMES_NULL to indicate whether it should
set the time to the current tod on the server.
This had the side effect of making the NFS client
use the client's timestamp for exclusive create,
starting with FreeBSD9.2.
Unfortunately a bug in some Solaris NFS servers
causes these servers to return NFS_OK to the
Setattr RPC done during exclusive create, but not
actually set the file's mode, leaving the file's
mode == 0.
This patch restores the NFS client's behaviour to
use the server's tod for the exclusive open's
Setattr RPC, to avoid the Solaris server bug and
to restore the pre-FreeBSD9.2 NFS behaviour.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281386 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r272814 (by bapt):
dim [Fri, 10 Apr 2015 20:38:31 +0000 (20:38 +0000)]
MFC r272814 (by bapt):

  Add OBJCOPY to the list of external tools

MFC r272815 (by bapt):

  Fix typo

This should fix the build troubles some people have been seeing after
the MFC of r280980 (in r281289).  Sorry for the breakage.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281382 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280760:
kib [Fri, 10 Apr 2015 02:23:44 +0000 (02:23 +0000)]
MFC r280760:
Fix the hand after the immediate reboot after the init binary is unlinked.

MFC r280763:
Fix build (with gcc).

git-svn-id: svn://svn.freebsd.org/base/stable/10@281350 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280757: Remove request sorting from GEOM_MIRROR and GEOM_RAID.
mav [Fri, 10 Apr 2015 00:43:24 +0000 (00:43 +0000)]
MFC r280757: Remove request sorting from GEOM_MIRROR and GEOM_RAID.

When CPU is not busy, those queues are typically empty.  When CPU is busy,
then one more extra sorting is the last thing it needs.  If specific device
(HDD) really needs sorting, then it will be done later by CAM.

This supposed to fix livelock reported for mirror of two SSDs, when UFS
fires zillion of BIO_DELETE requests, that totally blocks I/O subsystem by
pointless sorting of requests and responses under single mutex lock.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281346 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 279951:
jhb [Thu, 9 Apr 2015 21:06:51 +0000 (21:06 +0000)]
MFC 279951:
Simplify string mangling in ifmaybeload().
- Use strlcpy() instead of strcpy().
- Use strlcat() instead of a strlcpy() with a magic number subtracted
  from the length.
- Replace strncmp(..., strlen(foo) + 1) with strcmp(...).

git-svn-id: svn://svn.freebsd.org/base/stable/10@281326 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 279950:
jhb [Thu, 9 Apr 2015 19:51:55 +0000 (19:51 +0000)]
MFC 279950:
Enable bzipfs support in the EFI loader.
- Add bzipfs to the list of supported filesystems in the EFI loader.
- Increase the heap size allocated for the EFI loader from 2MB to 3MB.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281323 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 279949:
jhb [Thu, 9 Apr 2015 19:36:06 +0000 (19:36 +0000)]
MFC 279949:
The System V ABI for amd64 allows functions to use space in a 128 byte
redzone below the stack pointer for scratch space and requires
interrupt and signal frames to avoid overwriting it. However, EFI uses
the Windows ABI which does not support this. As a result, interrupt
handlers in EFI push their interrupt frames directly on top of the
stack pointer. If the compiler used the red zone in a function in the
EFI loader, then a device interrupt that occurred while that function
was running could trash its local variables.  In practice this happens
fairly reliable when using gzipfs as an interrupt during decompression
can trash the local variables in the inflate_table() function
resulting in corrupted output or hangs.

Fix this by disabling the redzone for amd64 EFI binaries. This
requires building not only the loader but any libraries used by the
loader without redzone support.

Thanks to Jilles for pointing me at the redzone once I found the stack
corruption.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281321 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 279929:
jhb [Thu, 9 Apr 2015 19:03:11 +0000 (19:03 +0000)]
MFC 279929:
Allow the EFI loader to work with large kernels and/or modules
(for example, a large mfsroot).  Note that for EFI the kernel and
modules (as well as other metadata files such as splash screens or
memory disk images) are loaded into a statically-sized staging area.
When the EFI loader exits it copies this staging area down to the
location the kernel expects to run at.
- Add bounds checking to the copy routines to fail attempts to access
  memory outside of the staging area.  Previously loading a combined
  kernel + modules larger than the staging size (32MB) would overflow
  the staging area trashing whatever memory was afterwards.  Under
  Intel's OVMF firmware for qemu this resulted in fatal faults in the
  firmware itself.  Now the attempt will fail with ENOMEM.
- Allow the staging area size to be configured at compile time via
  an EFI_STAGING_SIZE variable in src.conf or on the command line.
  It accepts the size of the staging area in MB.  The default size
  remains 32MB.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281319 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 279952:
jhb [Thu, 9 Apr 2015 18:50:41 +0000 (18:50 +0000)]
MFC 279952:
- Align comment for df flags variable in periodic.conf.
- Note default value of df flags variable in periodoc.conf(5).

git-svn-id: svn://svn.freebsd.org/base/stable/10@281318 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 279931:
jhb [Thu, 9 Apr 2015 18:45:03 +0000 (18:45 +0000)]
MFC 279931:
Spin the twiddle in dosfs to give visual feedback for disk I/O on
FAT filesystems as is done for other filesystems in the loader.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281317 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 279892:
jhb [Thu, 9 Apr 2015 17:56:25 +0000 (17:56 +0000)]
MFC 279892:
Resize receive socket buffers that support autosizing when receiving
TCP data via direct data placement.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281315 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280702: Make swapper release orphaned (lost) GEOM provider.
mav [Thu, 9 Apr 2015 10:11:47 +0000 (10:11 +0000)]
MFC r280702: Make swapper release orphaned (lost) GEOM provider.

Swap device is still reported as enabled, and system still may crash later
if some swapped-out kernel pages were lost with the device, but at least
GEOM and CAM can now release the lost disk, allowing it to be reconnected.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281305 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280687: Make GEOM_PART work in presence of previous withered self.
mav [Thu, 9 Apr 2015 10:10:05 +0000 (10:10 +0000)]
MFC r280687: Make GEOM_PART work in presence of previous withered self.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281303 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280686: Report withered providers as such alike to GEOMs.
mav [Thu, 9 Apr 2015 10:08:11 +0000 (10:08 +0000)]
MFC r280686: Report withered providers as such alike to GEOMs.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281301 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280685: When searching for provider by name, prefer non-withered one.
mav [Thu, 9 Apr 2015 10:05:58 +0000 (10:05 +0000)]
MFC r280685: When searching for provider by name, prefer non-withered one.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281298 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280980:
dim [Thu, 9 Apr 2015 06:38:32 +0000 (06:38 +0000)]
MFC r280980:

Ensure the cross assembler, linker and objcopy are used for the build32
stage, just like for the regular world stage.

Reviewed by: rodrigc, imp, bapt, emaste
Differential Revision: https://reviews.freebsd.org/D2187

git-svn-id: svn://svn.freebsd.org/base/stable/10@281289 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 280988:
wblock [Thu, 9 Apr 2015 03:30:05 +0000 (03:30 +0000)]
MFC 280988:

Add articles, avoid use of "you", simplify a few sentences.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281286 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280861:
gjb [Wed, 8 Apr 2015 22:02:15 +0000 (22:02 +0000)]
MFC r280861:
  s/AutoSize/Growfs/ following upstream commit r761.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@281284 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r279092:
np [Wed, 8 Apr 2015 05:02:21 +0000 (05:02 +0000)]
MFC r279092:

cxgbe(4): there is no need to force an "unimplemented" panic needlessly.
The calls to free_nm_txq and free_nm_rxq are made just a few lines prior
to the panic.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281264 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278303:
np [Wed, 8 Apr 2015 04:40:04 +0000 (04:40 +0000)]
MFC r278303:

cxgbe(4): Add a minimal if_cxl module that pulls in the real driver as
a dependency.  This ensures "ifconfig cxl<n> ..." does the right thing
even when it's run with no driver loaded.

if_cxl.ko is the tiniest module in /boot/kernel.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281263 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278485:
np [Wed, 8 Apr 2015 03:55:02 +0000 (03:55 +0000)]
MFC r278485:

cxgbe(4): allow the SET_FILTER_MODE ioctl to change the mode when it's
safe to do so.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281259 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280959:
kib [Wed, 8 Apr 2015 02:21:44 +0000 (02:21 +0000)]
MFC r280959:
Correctly handle __fcntl_compat symbol for the !SYSCALL_COMPAT case.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281256 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280308 (by delphij):
kib [Wed, 8 Apr 2015 02:15:13 +0000 (02:15 +0000)]
MFC r280308 (by delphij):
Disable timestamping on devfs read/write operations by default.

MFC r280949:
Refine r280308.  Use seconds precision for devfs timestamps by default.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281255 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r279243-r279246, r279251, r279691, r279700, and r279701.
np [Wed, 8 Apr 2015 01:43:29 +0000 (01:43 +0000)]
MFC r279243-r279246, r279251, r279691, r279700, and r279701.

r279243:
cxgbe(4): request an automatic tx update when a netmap txq idles.

r279244:
cxgbe(4): wait for the hardware to catch up before destroying a netmap txq.

r279245:
cxgbe(4): do not set the netmap rxq interrupts on a hair-trigger.

r279246:
cxgbe(4): set up congestion management for netmap rx queues.

The hw.cxgbe.cong_drop knob controls the response of the chip when
netmap queues are congested.

r279251:
cxgbe(4): allow tx hardware checksumming on the netmap interface.

It is disabled by default but users can set IFCAP_TXCSUM on the
netmap ifnet (ifconfig ncxl0 txcsum) to override netmap and force
the hardware to calculate and insert proper IP and L4 checksums in
outbound frames.

r279691:
cxgbe(4):  provide the correct size of freelists associated with netmap
rx queues to the chip.  This will fix many problems with native netmap
rx on ncxl/ncxgbe interfaces.

r279700:
cxgbe(4): knobs to experiment with the interrupt coalescing timer for
netmap rx queues, and the "batchiness" of rx updates sent to the chip.

These knobs will probably become per-rxq in the near future and will be
documented only after their final form is decided.

r279701:
cxgbe(4): experimental rx packet sink for netmap queues.  This is not
intended for general use.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281253 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280403:
np [Wed, 8 Apr 2015 01:25:26 +0000 (01:25 +0000)]
MFC r280403:

cxgbe(4): Do not call sbuf_trim on an sbuf with a drain function.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281252 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r279969:
np [Wed, 8 Apr 2015 01:16:19 +0000 (01:16 +0000)]
MFC r279969:

cxgbe(4):  fix if_media handling for T520-BT cards.  1Gbps and 100Mbps
are valid for this card.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281251 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278372:
np [Wed, 8 Apr 2015 01:09:36 +0000 (01:09 +0000)]
MFC r278372:

cxgbe(4): adapter_full_init is always a synchronized operation.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281250 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278371:
np [Wed, 8 Apr 2015 01:07:51 +0000 (01:07 +0000)]
MFC r278371:

cxgbe(4): a change to the synchronization rules within the the driver.
This is purely cosmetic because the new rules are already followed.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281249 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278342:
np [Wed, 8 Apr 2015 01:05:50 +0000 (01:05 +0000)]
MFC r278342:

cxgbe(4): fix a test made while enabling TOE.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281248 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r277102, r277135.
np [Wed, 8 Apr 2015 01:02:11 +0000 (01:02 +0000)]
MFC r277102, r277135.

r277102:
cxgbe/iw_cxgbe: allow any size during the initial MPA exchange.

r277135:
cxgbe/iw_cxgbe: fix whitespace nit in r277102.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281247 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r276598, r276607.
np [Wed, 8 Apr 2015 00:52:45 +0000 (00:52 +0000)]
MFC r276598, r276607.

r276598:
Add a manual page for cxgbetool.  It is incomplete but definitely
better than nothing.

r276607:
Fix all nits reported by mandoc -Tlint.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281246 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r276729, r276775.
np [Wed, 8 Apr 2015 00:49:53 +0000 (00:49 +0000)]
MFC r276729, r276775.

r276729:
cxgbe/tom: use vmem(9) as the DDP page pod allocator.

r276775:
cxgbe/tom: allocate page pod addresses instead of ppod#.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281245 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r276597:
np [Wed, 8 Apr 2015 00:35:12 +0000 (00:35 +0000)]
MFC r276597:

cxgbe/tom: do not engage the TOE's payload chopper for payload < 2 MSS
or for 10Gbps ports.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281244 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r276728:
np [Wed, 8 Apr 2015 00:13:17 +0000 (00:13 +0000)]
MFC r276728:

cxgbe(4): fix the description of a strange bunch of counters.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281241 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC of r280697 and r280698
rrs [Tue, 7 Apr 2015 21:05:52 +0000 (21:05 +0000)]
MFC of r280697 and r280698

Sponsored by: Netflix Inc.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281235 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoImprove patch for SA-15:04.igmp to solve a potential buffer overflow.
delphij [Tue, 7 Apr 2015 20:20:24 +0000 (20:20 +0000)]
Improve patch for SA-15:04.igmp to solve a potential buffer overflow.

Fix multiple vulnerabilities of ntp. [SA-15:07]

Fix bsdinstall(8) insecure default GELI keyfile permissions. [SA-15:08]

Fix Denial of Service with IPv6 Router Advertisements. [SA-15:09]

git-svn-id: svn://svn.freebsd.org/base/stable/10@281230 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281006
davidcs [Tue, 7 Apr 2015 18:04:18 +0000 (18:04 +0000)]
MFC r281006
When an mbuf allocation fails in the receive path, the mbuf containing the received packet is not sent to the host network stack and is reused again on the receive ring.  Remaining received packets in the ring are not processed in that invocation of bxe_rxeof() and defered to the task thread

git-svn-id: svn://svn.freebsd.org/base/stable/10@281215 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r276574:
np [Tue, 7 Apr 2015 17:40:35 +0000 (17:40 +0000)]
MFC r276574:

cxgbe/tom: fix the MSS calculation for IPv6 connections handled by the TOE.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281214 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r276570:
np [Tue, 7 Apr 2015 17:33:51 +0000 (17:33 +0000)]
MFC r276570:

cxgbe/tom: log some more details in send_flowc_wr.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281213 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r275539, r275554.
np [Tue, 7 Apr 2015 17:21:30 +0000 (17:21 +0000)]
MFC r275539, r275554.

r275539:
cxgbe(4): Allow for different pad and pack boundaries for different
adapters.  Set the pack boundary for T5 cards to be the same as the
PCIe max payload size.  The chip likes it this way.

In this revision the driver allocate rx buffers that align on both
boundaries.  This is not a strict requirement and a followup commit
will switch the driver to a more relaxed allocation strategy.

r275554:
cxgbe(4): allow the driver to use rx buffers that do not end on a pack
boundary.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281212 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r275733:
np [Tue, 7 Apr 2015 17:07:30 +0000 (17:07 +0000)]
MFC r275733:

Move KTR_CXGBE from t4_tom.h to adapter.h so that the base if_cxgbe
code can use it too.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281211 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFH: r281206
brueffer [Tue, 7 Apr 2015 15:34:34 +0000 (15:34 +0000)]
MFH: r281206

Add a missing comma.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281208 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r274456:
np [Tue, 7 Apr 2015 15:32:43 +0000 (15:32 +0000)]
MFC r274456:

Fix some bad interaction between cxgbe(4) and lacp lagg(4) that could
leave a port permanently disabled when a copper cable is unplugged and
then plugged right back in.

lacp_linkstate goes looking for the current ifmedia on a link state
change and it could get stale information from cxgbe(4) on a module
unplug followed by replug.  The fix is to process module events before
link-state events within the driver, and to always rebuild the ifmedia
list on a module change event (instead of rebuilding it lazily).

Thanks to asomers@ for the problem report and detailed analysis to go
with it.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281207 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFH: r280765
brueffer [Tue, 7 Apr 2015 15:24:37 +0000 (15:24 +0000)]
MFH: r280765

Mention support for 16h family processors, added in r263169.

PR: 198933
Submitted by: isoa@kapsi.fi

git-svn-id: svn://svn.freebsd.org/base/stable/10@281205 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281094:
kib [Tue, 7 Apr 2015 07:10:44 +0000 (07:10 +0000)]
MFC r281094:
Restore proper error from oshmctl(2), broken by r280323.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281195 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r281071:
kib [Tue, 7 Apr 2015 07:08:35 +0000 (07:08 +0000)]
MFC r281071:
Remove useless initialization.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281194 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 281084
jpaetzel [Tue, 7 Apr 2015 04:21:36 +0000 (04:21 +0000)]
MFC 281084

Fix thinko/copypaste error.

When checking the length of the mutual secret password the variable for
the secret password was used by mistake.  This resulted in ctld never
warning about the length of the mutual secret being wrong even if it was.

Sponsored by: iXsystems

git-svn-id: svn://svn.freebsd.org/base/stable/10@281187 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280360:
bdrewery [Tue, 7 Apr 2015 02:53:14 +0000 (02:53 +0000)]
MFC r280360:

  Document "none" for VersionAddendum.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281185 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280233, r280237, r280441
hiren [Mon, 6 Apr 2015 22:41:13 +0000 (22:41 +0000)]
MFC r280233, r280237, r280441

Add connection flowid and flowtype to siftr(4).

Sponsored by: Limelight Networks

git-svn-id: svn://svn.freebsd.org/base/stable/10@281174 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280387:
pfg [Mon, 6 Apr 2015 19:56:27 +0000 (19:56 +0000)]
MFC r280387:
xlint: update.

Bring some important updates from NetBSD up to about 2008/04/25.
The main feature is initial support for C99.

Obtained from: NetBSD

git-svn-id: svn://svn.freebsd.org/base/stable/10@281168 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266418, r266448
hiren [Mon, 6 Apr 2015 18:40:50 +0000 (18:40 +0000)]
MFC r266418, r266448

Add the flowtype to the inpcb.
Add -R to netstat to dump RSS/flow information.

Reviewed by: delphij
Relnotes: yes (for r266448)
Sponsored by: Limelight Networks

git-svn-id: svn://svn.freebsd.org/base/stable/10@281161 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280864:
dim [Mon, 6 Apr 2015 14:50:54 +0000 (14:50 +0000)]
MFC r280864:

Pull in r233552 from upstream libc++ trunk (by Eric Fiselier):

  [libcxx] Fix PR22771 - Support access control SFINAE in the library
  version of is_convertible.

  Summary:
  Currently the conversion check does not take place in a context where
  access control SFINAE is applied. This patch changes the context of
  the test expression so that SFINAE occurs if access control does not
  permit the conversion.

  Related bug: https://llvm.org/bugs/show_bug.cgi?id=22771

  Reviewers: mclow.lists, rsmith, dim

  Reviewed By: dim

  Subscribers: dim, rodrigc, emaste, cfe-commits

  Differential Revision: http://reviews.llvm.org/D8461

This fixes building clang, and other programs using libc++, with newer
versions of gcc (specifically, gcc 4.8 and higher).

Reported by: rodrigc

git-svn-id: svn://svn.freebsd.org/base/stable/10@281149 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280357:
dim [Mon, 6 Apr 2015 14:45:40 +0000 (14:45 +0000)]
MFC r280357:

Build expr with -fwrapv, since it relies on signed integer wrapping
having defined behavior.

Reported by: rodrigc

git-svn-id: svn://svn.freebsd.org/base/stable/10@281148 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280393: Reduce priority of ATA/SATA drivers.
mav [Mon, 6 Apr 2015 08:23:06 +0000 (08:23 +0000)]
MFC r280393: Reduce priority of ATA/SATA drivers.

Legacy ata(4) -> BUS_PROBE_LOW_PRIORITY;  more functional ahci(4), siis(4),
mvs(4) -> BUS_PROBE_DEFAULT;  BUS_PROBE_VENDOR leave for vendor drivers.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281140 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r272481.
neel [Mon, 6 Apr 2015 03:16:20 +0000 (03:16 +0000)]
MFC r272481.
Add new fields in the FADT, required by IASL 20140926-64.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281134 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoEnsure yacc is built during bootstrap-tools for __FreeBSD_version
dim [Sun, 5 Apr 2015 15:27:56 +0000 (15:27 +0000)]
Ensure yacc is built during bootstrap-tools for __FreeBSD_version
1001506 and earlier, since some of the ACPI tools now reach yacc's old
maximum table limit.  This should fix the Jenkins buildbot, which
apparently runs 10.1-RELEASE.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281110 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280822: Some cosmetic polishing. No functional change.
mav [Sun, 5 Apr 2015 06:53:29 +0000 (06:53 +0000)]
MFC r280822: Some cosmetic polishing.  No functional change.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281104 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280342:
kib [Sun, 5 Apr 2015 01:03:11 +0000 (01:03 +0000)]
MFC r280342:
msdosfs: mark unused compat-mount fields.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281095 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r272444 (by jkim):
dim [Sat, 4 Apr 2015 10:17:51 +0000 (10:17 +0000)]
MFC r272444 (by jkim):

  Merge ACPICA 20140926.

MFC r278970 (by jkim):

  Merge ACPICA 20141107 and 20150204.

Approved by: jkim
Relnotes: yes

git-svn-id: svn://svn.freebsd.org/base/stable/10@281075 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280797:
kib [Sat, 4 Apr 2015 08:06:13 +0000 (08:06 +0000)]
MFC r280797:
Make debug.vmem_check a tunable.  It is useful to set it early.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281067 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r280323:
kib [Sat, 4 Apr 2015 07:59:07 +0000 (07:59 +0000)]
MFC r280323:
Somewhat modernize the SysV shm code.

MFC r280325 (by cognet):
Fix warning for !MAC case.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281066 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r278697 (by alc):
kib [Sat, 4 Apr 2015 07:56:04 +0000 (07:56 +0000)]
MFC r278697 (by alc):
Preset the object's color, or alignment, to maximize superpage usage.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281065 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f