Displaying 1 50 of 275,325 commits (0.130s)

FreeBSD — head/sys/dev/alc if_alc.c

Correct device description message.
Delta File
+3 -3 head/sys/dev/alc/if_alc.c
+3 -3 1 file

FreeBSD — stable/10/cddl/contrib/opensolaris/lib/libzfs/common libzfs_pool.c

MFC r277239:
Eliminate illumos whole disk special case when searching for a ZFS vdev

Sponsored by:        Multiplay

FreeBSD — stable/10/cddl/contrib/opensolaris/lib/libzfs/common libzfs_pool.c

MFC r276446:
Use the correct state name for unavailable pools in zpool list

Sponsored by:        Multiplay

FreeBSD — head/usr.sbin/config main.c config.8

Add -s option to config.

This option allows for specifying the directory to use as the location for
kernel source files. This option was ported from NetBSD.

GitHub Pull Request:   https://github.com/freebsd/freebsd/pull/18
Submitted by:          Steve Kiernan <stevek at juniper.net>, Simon Gerraty <sjg at juniper.net>
Obtained from:         Juniper Networks, Inc.
Reviewed by:           imp
Differential Revision: https://reviews.freebsd.org/D1722
Relnotes:              yes

FreeBSD — head/sys/libkern strtoq.c strtoul.c

Similar to r277901, fix more -Wcast-qual warnings in libkern's strtoq(),
strtoul() and strtouq(), by using __DECONST.  No functional change.

MFC after:        3 days

FreeBSD — projects/clang360-import/sys/fs/cd9660 cd9660_util.c, projects/clang360-import/sys/fs/msdosfs msdosfs_conv.c

Merge ^/head r277896 through r277901.

FreeBSD — head/sys/libkern strtol.c

Fix a -Wcast-qual warning in libkern's strtol(), by using __DECONST.  No
functional change.

MFC after:        3 days
Delta File
+1 -1 head/sys/libkern/strtol.c
+1 -1 1 file

FreeBSD — head/sys/x86/x86 tsc.c

Opt for performance over power-saving on Intel CPUs that have a
P-state but not C-state invariant TSC by changing the default behavior
to leaving the TSC enabled as the timecounter and disabling C2+ instead
of disabling the TSC by default.

Discussed with:                jkim
Tested by:                Jan Kokemuller <jan.kokemueller at gmail.com>
Delta File
+10 -5 head/sys/x86/x86/tsc.c
+10 -5 1 file

FreeBSD — head/sys/fs/cd9660 cd9660_util.c

Fix a bunch of -Wcast-qual warnings in cd9660_util.c, by using
__DECONST.  No functional change.

MFC after:        3 days
Delta File
+4 -2 head/sys/fs/cd9660/cd9660_util.c
+4 -2 1 file

FreeBSD — head/sys/fs/msdosfs msdosfs_conv.c

Fix a bunch of -Wcast-qual warnings in msdosfs_conv.c, by using
__DECONST.  No functional change.

MFC after:        3 days

FreeBSD — head/sys/sys conf.h param.h

Remove the d_thread_t compatibility shim provided in 5.0 to handle the
struct thread (<= 4.x) vs struct proc (>= 5.0) argument to cdevsw routines.
It is long past its expiration date.

PR:                196544 (exp-run)
Delta File
+0 -18 head/sys/sys/conf.h
+1 -1 head/sys/sys/param.h
+1 -19 2 files

FreeBSD — projects/clang360-import/contrib/amd/amd readdir.c amfs_program.c, projects/clang360-import/contrib/amd/hlfsd stubs.c homedir.c

Merge ^/head r277861 through r277895.

FreeBSD — head/share/man/man4 sfxge.4, head/sys/dev/sfxge sfxge_tx.c sfxge_tx.h

sfxge: Separate software Tx queue limit for non-TCP traffic

Add separate software Tx queue limit for non-TCP traffic to make total
limit higher and avoid local drops of TCP packets because of no
backpressure.
There is no point to make non-TCP limit high since without backpressure
UDP stream easily overflows any sensible limit.

Split early drops statistics since it is better to have separate counter
for each drop reason to make it unabmiguous.

Add software Tx queue high watermark. The information is very useful to
understand how big queues grow under traffic load.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

FreeBSD — head/share/man/man4 sfxge.4, head/sys/dev/sfxge sfxge.c sfxge_intr.c

sfxge: implemented parameter to restrict RSS channels

Submitted by:   Artem V. Andreev <Artem.Andreev at oktetlabs.ru>
Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

FreeBSD — head/sys/dev/sfxge sfxge_ev.c

sfxge: Use SFXGE_MODERATION to initialize event moderation

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
Delta File
+1 -1 head/sys/dev/sfxge/sfxge_ev.c
+1 -1 1 file

FreeBSD — head/sys/dev/sfxge sfxge_dma.c

sfxge: Pass correct address to free allocated memory in the case of load error

Most likely is was just memory leak on the error handling path since
typically efsys_mem_t is filled in by zeros on allocation.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
Delta File
+1 -1 head/sys/dev/sfxge/sfxge_dma.c
+1 -1 1 file

FreeBSD — head/sys/dev/sfxge/common efsys.h

sfxge: Remove unused esm_size member of the efsys_mem_t structure

esm_size is not even initialized properly when memory is allocated.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
Delta File
+0 -1 head/sys/dev/sfxge/common/efsys.h
+0 -1 1 file

FreeBSD — head/sys/dev/sfxge sfxge_port.c

sfxge: Do not bzero() DMA allocated memory once again

sfxge_dma_alloc() calls bus_dmamem_alloc() with BUS_DMA_ZERO flag, so
allocated memory is already filled in by zeros

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
Delta File
+0 -2 head/sys/dev/sfxge/sfxge_port.c
+0 -2 1 file

FreeBSD — head/sys/dev/sfxge sfxge_tx.c sfxge_ev.c

sfxge: Add evq argument to sfxge_tx_qcomplete()

It removes necessity to get evq pointer by its index in soft context.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

FreeBSD — head/sys/dev/sfxge sfxge_tx.c

sfxge: fixed TSO code to cope with VLAN headers

Submitted by:   Artem V. Andreev <Artem.Andreev at oktetlabs.ru>
Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
Delta File
+6 -10 head/sys/dev/sfxge/sfxge_tx.c
+6 -10 1 file

FreeBSD — head/sys/dev/sfxge sfxge.h

sfxge: Remove extra cache-line alignment and reorder sfxge_evq_t

Remove the first member alignment to cacheline since it is nop.
Use __aligned() for the whole structure to make sure that the structure
size is cacheline aligned.
Remove lock alignment to make the structure smaller and fit all members
used on event queue processing into one cacheline (128 bytes) on x86-64.
The lock is obtained as well from different context when event queue
statistics are retrived from sysctl context, but it is infrequent.
Reorder members to avoid padding and go in usage order on event
processing.
As the result all structure members used on event queue processing fit
into exactly one cacheline (128 byte) now.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
Delta File
+10 -10 head/sys/dev/sfxge/sfxge.h
+10 -10 1 file

FreeBSD — head/sys/dev/sfxge sfxge_ev.c sfxge.h, head/sys/dev/sfxge/common efx_tx.c efx_ev.c

sfxge: Make it possible to build without EVQ statistics

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

FreeBSD — head/sys/dev/sfxge sfxge_tx.h

sfxge: Move txq->next pointer to part writable on completion path

In fact the pointer is used only if more than one TXQ is processed in
one interrupt.
It is used (read-write) on completion path only.
Also it makes the first part of the structure smaller and it fits now
into one 128byte cache line. So, TXQ structure becomes 128 bytes smaller.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)
Delta File
+1 -1 head/sys/dev/sfxge/sfxge_tx.h
+1 -1 1 file

FreeBSD — head/sys/dev/sfxge sfxge_intr.c sfxge_ev.c

sfxge: Change sfxge_ev_qpoll() proto to avoid EVQ pointers array access

It was the only place on data path where sc->evq array is accessed.

Sponsored by:   Solarflare Communications, Inc.
Approved by:    gnn (mentor)

FreeBSD — head/sys/sys cdefs.h

Ensure that lint does not pick up C11 keywords (e.g.  _Noreturn), even
if C11 mode is used.  It does not support any C11 constructs.

MFC after:        3 days
Delta File
+1 -1 head/sys/sys/cdefs.h
+1 -1 1 file

FreeBSD — head/sys/arm/xilinx zy7_gpio.c, head/sys/arm/xscale/ixp425 avila_gpio.c cambria_gpio.c

Rename the avila, cambria and zynq GPIO driver names to match the expected
string.

With this change it is not necessary redeclare the driver relations with
gpiobus and gpioc.

This also prevents redundant declarations when gpiobusvar.h is included
(which is going to happen soon).

FreeBSD — stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs trim_map.c

MFC r277185:
Fix overflow bug from r248577, turning 30s TRIM timeout into ~4s.

FreeBSD — stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs trim_map.c

MFC r276983: When aggregating TRIM segments, move the new one to the end.

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

FreeBSD — head/contrib/amd/amd readdir.c amfs_program.c, head/contrib/amd/hlfsd stubs.c homedir.c

MFV        r277870
Fix compile warnings for gcc-4.4.x
This also fixes at least a warning with clang 3.6.0
including the fix for r277841.

MFC after:        1 week

FreeBSD — head/contrib/amd/hlfsd homedir.c

Revert r277841: It will be re-merged through the vendor area.
Delta File
+1 -1 head/contrib/amd/hlfsd/homedir.c
+1 -1 1 file

FreeBSD — head/lib/libc/mips/gen sigsetjmp.S

Use zero register instead of immediate 0x0 in MIPS assembly

It seems GAS makes the substitution automatically, but Clang's
integrated assembler does not (yet). It fails with "invalid operand for
instruction."

Reported by:        sbruno

FreeBSD — projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade zpool_upgrade_test.sh, projects/zfsd/head/tests/sys/cddl/zfs/tests/zil zil_test.sh

Preemptively fail more tests that cause panics.

FreeBSD — projects/building-blocks/tools add-optional-obsolete-files-entries.sh

Look for ! -type d when looking for OLD_FILES, not just -type f

This will catch MLINKS, etc not caught previously

FreeBSD — stable/9/lib/libpam/modules/pam_radius pam_radius.c

MFH (r277237): pass PAM_RHOST to RADIUS server as Calling-Station-ID

FreeBSD — stable/10/lib/libpam/modules/pam_radius pam_radius.c

MFH (r277237): pass PAM_RHOST to RADIUS server as Calling-Station-ID

FreeBSD — head/sys/arm/ti/am335x am335x_prcm.c

Set LCDC clock frequency to 2*148500 KHz

Minimum LCDC is 2 so clock freq shouild be 2*max_pixel_clock. Maximum pixel
clock for HDMI is 148500 (1920x1080). But AM335x can not run in this mode
due to bandwidth and clock limitations

FreeBSD — vendor/amd/dist/amd readdir.c amfs_program.c, vendor/amd/dist/hlfsd stubs.c homedir.c

Fix compile warnings for gcc-4.4.x

author        Christos Zoulas <christos at zoulas.com>
        Mon, 26 Oct 2009 12:27:43 -0500 (13:27 -0400)
committer        Christos Zoulas <christos at zoulas.com>
        Mon, 26 Oct 2009 12:27:43 -0500 (13:27 -0400)
commit        e6301006ef97d31745f9ffbb17c58cb39d18c6aa (partial)

FreeBSD — head/contrib/amd/amd amfs_generic.c

MFV        r277866
amd: Add extra check for NULL before deref.

CID:                274421
Obtained from:        NetBSD
MFC after:        4 days

FreeBSD — head/contrib/amd/amd amfs_generic.c

Revert r277814: It will be re-merged through the vendor area.

FreeBSD — projects/zfsd/head/etc/mtree BSD.tests.dist

MFH r277650: add mtree entries.  Add several more that are in this branch.

FreeBSD — vendor/amd/dist/amd amfs_generic.c

avoid possible null pointer deref (coverity)

author        Christos Zoulas <christos at zoulas.com>
        Wed, 17 Sep 2008 15:07:20 -0500 (20:07 +0000)
committer        Christos Zoulas <christos at zoulas.com>
        Wed, 17 Sep 2008 15:07:20 -0500 (20:07 +0000)
commit        d414de481f6efe52455c19f64e911d0db34d185a

FreeBSD — user/delphij/zfs-arc-rebase/sys/cddl/contrib/opensolaris/uts/common/fs/zfs arc.c

Undo portion of r205231 (kmacy) which breaks up ARC state locks into 16
as well as the related r272708 (avg).  Upstream have implemented this
differently and we will adopt the upstream implementation.

FreeBSD — user/delphij zfs-arc-rebase

Copy head/ to a user branch where I can work on it without disturbing -HEAD.
Delta File
+0 -0 user/delphij/zfs-arc-rebase/
+0 -0 1 file

FreeBSD — vendor/amd/dist ChangeLog NEWS

amd: flatten the tree
Delta File
+12,025 -0 vendor/amd/dist/ChangeLog
+1,489 -0 vendor/amd/dist/NEWS
+430 -0 vendor/amd/dist/AUTHORS
+360 -0 vendor/amd/dist/ldap-id.txt
+306 -0 vendor/amd/dist/ldap-id.ms
+303 -0 vendor/amd/dist/BUGS
+1,263 -0 29 files not shown
+16,176 -0 35 files

FreeBSD — head/lib/libc/gen sem_new.c sem_post.3

sem_post(): Fix and document semaphore value overflow error.

The error code is per Austin Group issue #315.

I provided different wording for the manual page change.

Submitted by:        pluknet
MFC after:        1 week

FreeBSD — projects/clang360-import/usr.sbin/sa db.c

Merge ^/head r277858 through r277860.

FreeBSD — head/usr.sbin/sa db.c

Fix the following -Wcast-qual warnings in usr.sbin/sa/db.c:

usr.sbin/sa/db.c:82:20: error: cast from 'char const (*)[9]' to 'void *' drops const 
qualifier [-Werror,-Wcast-qual]
        key.data = (void*)&VERSION_KEY;
                          ^
usr.sbin/sa/db.c:178:20: error: cast from 'char const (*)[9]' to 'void *' drops const 
qualifier [-Werror,-Wcast-qual]
        key.data = (void*)&VERSION_KEY;
                          ^

Replace the VERSION_KEY define with a writable char array, so no const
qualifier needs to be dropped anymore.

Submitted by:        rdivacky
Delta File
+1 -1 head/usr.sbin/sa/db.c
+1 -1 1 file

FreeBSD — stable/10/usr.sbin/mountd mountd.c, stable/10/usr.sbin/rpc.lockd lockd.c

MFC r277352:

  When mountd is creating sockets, it iterates over all addresses specified
  in the "hosts" array and eventually looks up the network address with
  getaddrinfo(). At one point it checks for a numeric address and if it
  sees one, it sets a hint parameter to force getaddrinfo to interpret the
  host as a numeric address. However that hint is not cleared for subsequent
  iterations of the loop and if any hosts seen after this point are host names,
  getaddrinfo will fail on the name.  The result of this bug is that you cannot
  pass a host name to the -h flag.

  Unfortunately, the first iteration will either process ::1 or 127.0.0.1,
  so the flag is set on the first iteration and all host names will fail
  to be processed.

  The same bug applies to rpc.lockd and rpc.statd, so fix them too.

  Differential Revision:        https://reviews.freebsd.org/D1507
  Reported by:  Dylan Martin
  MFC after:    1 week
  Sponsored by: Sandvine Inc.