Author: mdf
Date: Mon Sep 13 17:18:49 2010
New Revision: 212562
URL: http://svn.freebsd.org/changeset/base/212562
Log:
MFC r209053:
Add INVARIANTS checking that numfreebufs values are sane. Also add a
per-buf flag to catch if a buf is double-counted in the free count.
This code was use
Author: mdf
Date: Mon Sep 13 17:23:18 2010
New Revision: 212563
URL: http://svn.freebsd.org/changeset/base/212563
Log:
MFC r209053:
Add INVARIANTS checking that numfreebufs values are sane. Also add a
per-buf flag to catch if a buf is double-counted in the free count.
This code was use
Author: mdf
Date: Mon Sep 13 18:48:23 2010
New Revision: 212572
URL: http://svn.freebsd.org/changeset/base/212572
Log:
Revert r212370, as it causes a LOR on powerpc. powerpc does a few
unexpected things in copyout(9) and so wiring the user buffer is not
sufficient to perform a copyout(9) wh
Author: mdf
Date: Wed Sep 15 15:33:51 2010
New Revision: 212664
URL: http://svn.freebsd.org/changeset/base/212664
Log:
Revert r212563, which was a MFC of r209053, as it introduced an unlocked
read/modify/write of b_vflags. The unlocked access is fixed in CURRENT
and stable/8 by r211213 and
Author: mdf
Date: Wed Sep 15 15:53:05 2010
New Revision: 212666
URL: http://svn.freebsd.org/changeset/base/212666
Log:
MFC r212115:
Fix a bug with sched_affinity() where it checks td_pinned of another
thread in a racy manner, which can lead to attempting to migrate a
thread that is pinn
Author: mdf
Date: Wed Sep 15 15:55:58 2010
New Revision: 212667
URL: http://svn.freebsd.org/changeset/base/212667
Log:
MFC r212115:
Fix a bug with sched_affinity() where it checks td_pinned of another
thread in a racy manner, which can lead to attempting to migrate a
thread that is pinn
Author: mdf
Date: Thu Sep 16 15:42:11 2010
New Revision: 212747
URL: http://svn.freebsd.org/changeset/base/212747
Log:
MFC r212153: Fix UP build.
Modified:
stable/8/sys/kern/sched_ule.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
Author: mdf
Date: Thu Sep 16 15:42:56 2010
New Revision: 212748
URL: http://svn.freebsd.org/changeset/base/212748
Log:
MFC r212153: Fix UP build.
Modified:
stable/7/sys/kern/sched_ule.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props c
Author: mdf
Date: Thu Sep 16 16:13:12 2010
New Revision: 212750
URL: http://svn.freebsd.org/changeset/base/212750
Log:
Re-add r212370 now that the LOR in powerpc64 has been resolved:
Add a drain function for struct sysctl_req, and use it for a variety
of handlers, some of which had to do
Author: mdf
Date: Mon Sep 20 19:42:14 2010
New Revision: 212926
URL: http://svn.freebsd.org/changeset/base/212926
Log:
Use destroy_dev_sched(9) instead of destroy_dev(9) in passcleanup() as
it is indirectly a d_close method.
Prompted by: kib
Reviewed by: mav
MFC after:2 weeks
M
Author: mdf
Date: Mon Sep 20 20:41:59 2010
New Revision: 212931
URL: http://svn.freebsd.org/changeset/base/212931
Log:
Replace an XXX comment with the appropriate code.
Submitted by: alc
Modified:
head/sys/vm/vm_kern.c
Modified: head/sys/vm/vm_kern.c
Author: mdf
Date: Fri Oct 8 18:06:15 2010
New Revision: 213588
URL: http://svn.freebsd.org/changeset/base/213588
Log:
MFC r212926:
Use destroy_dev_sched(9) instead of destroy_dev(9) in passcleanup() as
it is indirectly a d_close method.
Modified:
stable/8/sys/cam/scsi/scsi_pass.c
Dire
Author: mdf
Date: Fri Oct 8 18:06:30 2010
New Revision: 213589
URL: http://svn.freebsd.org/changeset/base/213589
Log:
MFC r212926:
Use destroy_dev_sched(9) instead of destroy_dev(9) in passcleanup() as
it is indirectly a d_close method.
Modified:
stable/7/sys/cam/scsi/scsi_pass.c
Dire
Author: mdf
Date: Mon Oct 11 21:26:24 2010
New Revision: 213702
URL: http://svn.freebsd.org/changeset/base/213702
Log:
Fix up the COMPAT_FREEBSD32 ioctl logic for mps(4).
Reviewed by: ken
Modified:
head/sys/dev/mps/mps_ioctl.h
head/sys/dev/mps/mps_user.c
Modified: head/sys/dev/mps/mp
Author: mdf
Date: Mon Oct 11 21:38:31 2010
New Revision: 213704
URL: http://svn.freebsd.org/changeset/base/213704
Log:
Fix a memory leak and locking inconsistency in mps(4) ioctl handling.
Check copyin(9) for error and sanity check the length before copyin.
Reviewed by: ken
Modified:
Author: mdf
Date: Mon Oct 11 22:44:05 2010
New Revision: 213707
URL: http://svn.freebsd.org/changeset/base/213707
Log:
Add function prototypes for static functions.
Requested by: ken
Modified:
head/sys/dev/mps/mps_user.c
Modified: head/sys/dev/mps/mps_user.c
Author: mdf
Date: Mon Oct 11 22:44:15 2010
New Revision: 213708
URL: http://svn.freebsd.org/changeset/base/213708
Log:
Re-work the internal user ioctl command table, and support the FW_UPLOAD
command.
Reviewed by: ken (previous version)
Modified:
head/sys/dev/mps/mps_user.c
Modified:
Author: mdf
Date: Tue Oct 12 18:36:03 2010
New Revision: 213739
URL: http://svn.freebsd.org/changeset/base/213739
Log:
Re-expose and briefly document taskqueue_run(9). The function is used
in at least one 3rd party driver.
Requested by: jhb
Modified:
head/share/man/man9/taskqueue.9
Author: mdf
Date: Tue Oct 12 19:24:29 2010
New Revision: 213743
URL: http://svn.freebsd.org/changeset/base/213743
Log:
Always set cm_complete_data before calling mps_config_complete().
Reviewed by: ken
Modified:
head/sys/dev/mps/mps.c
Modified: head/sys/dev/mps/mps.c
==
Author: mdf
Date: Wed Oct 13 22:59:04 2010
New Revision: 213813
URL: http://svn.freebsd.org/changeset/base/213813
Log:
Use a safer mechanism for determining if a task is currently running,
that does not rely on the lifetime of pointers being the same. This also
restores the task KBI.
Su
Author: mdf
Date: Thu Oct 14 16:44:05 2010
New Revision: 213839
URL: http://svn.freebsd.org/changeset/base/213839
Log:
Re-work the internals of adding items to the driver's scatter-gather
list. Use the new internals to simplify adding transaction context
elements, and in future diffs, more
Author: mdf
Date: Thu Oct 14 16:44:44 2010
New Revision: 213840
URL: http://svn.freebsd.org/changeset/base/213840
Log:
Support firmware download.
Modified:
head/sys/dev/mps/mps_user.c
Modified: head/sys/dev/mps/mps_user.c
==
Author: mdf
Date: Thu Oct 14 23:26:08 2010
New Revision: 213882
URL: http://svn.freebsd.org/changeset/base/213882
Log:
Fixes to mps_user_command():
- fix the leak of command struct on error
- simplify the cleanup logic
- EINPROGRESS is not a fatal error
- buggy comment and error mess
Author: mdf
Date: Fri Oct 15 15:24:59 2010
New Revision: 213898
URL: http://svn.freebsd.org/changeset/base/213898
Log:
Currently only opt_compat.h is included by the mps(4) driver. Also
enable /dev/mps0, which was missing from my previous patches enabling
f/w upload and download.
opt_co
Author: mdf
Date: Tue Oct 19 16:06:00 2010
New Revision: 214062
URL: http://svn.freebsd.org/changeset/base/214062
Log:
uma_zfree(zone, NULL) should do nothing, to match free(9).
Noticed by: Ron Steinke
MFC after:3 days
Modified:
head/share/man/man9/zone.9
head/sys/vm/uma_core.
Author: mdf
Date: Fri Oct 22 16:00:00 2010
New Revision: 214206
URL: http://svn.freebsd.org/changeset/base/214206
Log:
MFC r214062:
uma_zfree(zone, NULL) should do nothing, to match free(9).
Noticed by: Ron Steinke
Modified:
stable/8/share/man/man9/zone.9
stable/8/sys/vm/uma_co
Author: mdf
Date: Fri Oct 22 16:00:45 2010
New Revision: 214207
URL: http://svn.freebsd.org/changeset/base/214207
Log:
MFC r214062:
uma_zfree(zone, NULL) should do nothing, to match free(9).
Noticed by: Ron Steinke
Modified:
stable/7/share/man/man9/zone.9
stable/7/sys/vm/uma_co
Author: mdf
Date: Mon Dec 12 18:27:28 2011
New Revision: 228440
URL: http://svn.freebsd.org/changeset/base/228440
Log:
Consistently use types in ixgbe driver code:
- {ixgbe,ixv}_header_split is passed to TUNABLE_INT, so delcare it
int, not bool.
- {ixgbe,ixv}_tx_ctx_setup() returns
Author: mdf
Date: Mon Dec 12 18:27:34 2011
New Revision: 228441
URL: http://svn.freebsd.org/changeset/base/228441
Log:
Consistently use types in e1000 driver code:
- Two struct members eee_disable are used in a function that expects
an int *, so declare them int, not bool.
- igb_tx
Author: mdf
Date: Mon Dec 12 18:43:18 2011
New Revision: 228442
URL: http://svn.freebsd.org/changeset/base/228442
Log:
Do not use the sometimes-reserved work 'bool' for a variable name.
MFC after:2 weeks
Sponsored by: Isilon Systems, LLC
Modified:
head/sys/cam/scsi/scsi_xpt.c
Modi
Author: mdf
Date: Mon Dec 12 18:43:24 2011
New Revision: 228443
URL: http://svn.freebsd.org/changeset/base/228443
Log:
Do not define bool/true/false if the symbols already exist.
MFC after:2 weeks
Sponsored by: Isilon Systems, LLC
Modified:
head/sys/dev/cxgbe/osdep.h
head/sys/dev
Author: mdf
Date: Mon Dec 12 18:44:17 2011
New Revision: 228444
URL: http://svn.freebsd.org/changeset/base/228444
Log:
- Define true and false in sys/types.h for _KERNEL consumers, and
typedef bool. Due to macro expansion it seemed better to use a
typedef for kernel consumers (specif
Author: mdf
Date: Fri Dec 30 22:42:22 2011
New Revision: 229043
URL: http://svn.freebsd.org/changeset/base/229043
Log:
MFC r228442:
Do not use the sometimes-reserved word 'bool' for a variable name.
Modified:
stable/9/sys/cam/scsi/scsi_xpt.c
Directory Properties:
stable/9/sys/ (props
Author: mdf
Date: Sat Dec 31 03:02:59 2011
New Revision: 229065
URL: http://svn.freebsd.org/changeset/base/229065
Log:
MFC r228442:
Do not use the sometimes-reserved word 'bool' for a variable name.
Modified:
stable/8/sys/cam/scsi/scsi_xpt.c
Directory Properties:
stable/8/sys/ (props
Author: mdf
Date: Sat Dec 31 18:41:29 2011
New Revision: 229132
URL: http://svn.freebsd.org/changeset/base/229132
Log:
MFC r228442:
Do not use the sometimes-reserved word 'bool' for a variable name.
This is a direct commit since the file name has changed.
Modified:
stable/7/sys/cam/cam
Author: mdf
Date: Sat Dec 31 19:50:55 2011
New Revision: 229145
URL: http://svn.freebsd.org/changeset/base/229145
Log:
MFC r228441:
Consistently use types in e1000 driver code:
- Two struct members eee_disable are used in a function that expects
an int *, so declare them int, not
Author: mdf
Date: Sat Dec 31 19:55:19 2011
New Revision: 229147
URL: http://svn.freebsd.org/changeset/base/229147
Log:
MFC r228441:
Consistently use types in e1000 driver code:
- Two struct members eee_disable are used in a function that expects
an int *, so declare them int, not
Author: mdf
Date: Sat Dec 31 20:01:09 2011
New Revision: 229150
URL: http://svn.freebsd.org/changeset/base/229150
Log:
MFC r228441:
Consistently use types in e1000 driver code:
- Two struct members eee_disable are used in a function that expects
an int *, so declare them int, not
Author: mdf
Date: Sat Dec 31 20:12:26 2011
New Revision: 229153
URL: http://svn.freebsd.org/changeset/base/229153
Log:
MFC r228440:
Consistently use types in ixgbe driver code:
- {ixgbe,ixv}_header_split is passed to TUNABLE_INT, so delcare it
int, not bool.
- {ixgbe,ixv}_tx_c
Author: mdf
Date: Sat Dec 31 20:15:46 2011
New Revision: 229154
URL: http://svn.freebsd.org/changeset/base/229154
Log:
MFC r228440:
Consistently use types in ixgbe driver code:
- {ixgbe,ixv}_header_split is passed to TUNABLE_INT, so delcare it
int, not bool.
- {ixgbe,ixv}_tx_c
Author: mdf
Date: Sat Dec 31 20:26:05 2011
New Revision: 229155
URL: http://svn.freebsd.org/changeset/base/229155
Log:
MFC r228440:
Consistently use types in ixgbe driver code:
- ixgbe_tso_setup() returns a bool, so declare it bool, not boolean_t.
- ixgbe_txeof() returns a bool, so
Author: mdf
Date: Sat Dec 31 20:42:34 2011
New Revision: 229157
URL: http://svn.freebsd.org/changeset/base/229157
Log:
MFC r228443:
Do not define bool/true/false if the symbols already exist.
Modified:
stable/9/sys/dev/cxgbe/osdep.h
stable/9/sys/dev/drm/i915_drv.h
stable/9/sys/dev/sp
Author: mdf
Date: Sat Dec 31 20:46:35 2011
New Revision: 229158
URL: http://svn.freebsd.org/changeset/base/229158
Log:
MFC r228443:
Do not define bool/true/false if the symbols already exist.
Note that the ofed and dev/vxge parts of r228443 are not in stable/8.
Modified:
stable/8/sy
Author: mdf
Date: Mon Jan 2 16:14:52 2012
New Revision: 229285
URL: http://svn.freebsd.org/changeset/base/229285
Log:
MFC r228444:
- Define true and false in sys/types.h for _KERNEL consumers, and
typedef bool. Due to macro expansion it seemed better to use a
typedef for kernel
Author: mdf
Date: Mon Nov 8 20:56:31 2010
New Revision: 215011
URL: http://svn.freebsd.org/changeset/base/215011
Log:
Add a taskqueue_cancel(9) to cancel a pending task without waiting for
it to run as taskqueue_drain(9) does.
Requested by: hselasky
Original code:jeff
Reviewe
Author: mdf
Date: Mon Nov 8 20:57:08 2010
New Revision: 215013
URL: http://svn.freebsd.org/changeset/base/215013
Log:
Whitespace and other aspects of style(9). No functional changes.
MFC after: 3 days
Modified:
head/sys/kern/link_elf.c
Modified: head/sys/kern/link_elf.c
=
Author: mdf
Date: Fri Nov 12 18:09:06 2010
New Revision: 215190
URL: http://svn.freebsd.org/changeset/base/215190
Log:
MFC r213813. This is a direct commit because the diff is against
several non-MFC'd changes.
Use a safer mechanism for determining if a task is currently running,
that
Author: mdf
Date: Fri Nov 12 18:10:27 2010
New Revision: 215191
URL: http://svn.freebsd.org/changeset/base/215191
Log:
MFC r213813. This is a direct commit because the diff is against
several non-MFC'd changes.
Use a safer mechanism for determining if a task is currently running,
that
Author: mdf
Date: Mon Nov 29 18:17:53 2010
New Revision: 216058
URL: http://svn.freebsd.org/changeset/base/216058
Log:
Use the SYSCTL_CHILDREN macro in kern_sysctl.c to help de-obfuscate the
code.
MFC after:3 days
Modified:
head/sys/kern/kern_sysctl.c
Modified: head/sys/kern/kern_
Author: mdf
Date: Mon Nov 29 18:18:00 2010
New Revision: 216059
URL: http://svn.freebsd.org/changeset/base/216059
Log:
Slightly modify the logic in sysctl_find_oid to reduce the indentation.
There should be no functional change.
MFC after:3 days
Modified:
head/sys/kern/kern_sysctl.
Author: mdf
Date: Mon Nov 29 18:18:07 2010
New Revision: 216060
URL: http://svn.freebsd.org/changeset/base/216060
Log:
Do not hold the sysctl lock across a call to the handler. This fixes a
general LOR issue where the sysctl lock had no good place in the
hierarchy. One specific instance is
Author: mdf
Date: Mon Nov 29 21:53:21 2010
New Revision: 216066
URL: http://svn.freebsd.org/changeset/base/216066
Log:
Fix uninitialized variable warning that shows on Tinderbox but not my
setup. (??)
Submitted by: Michael Butler
Modified:
head/sys/kern/kern_sysctl.c
Modified: head/s
Author: mdf
Date: Wed Dec 15 19:30:44 2010
New Revision: 216463
URL: http://svn.freebsd.org/changeset/base/216463
Log:
One of the compat32 functions was copying in a raw timespec, instead of
a 32-bit one. This can cause weird timeout issues, as the copying reads
garbage from the user.
Author: mdf
Date: Thu Sep 15 20:21:35 2011
New Revision: 225597
URL: http://svn.freebsd.org/changeset/base/225597
Log:
Welcome Gleb Kurtsou (gleb at FreeBSD dot org). Gleb has worked on the
ino64 GSoC project among other things.
Approved by: core
Modified:
svnadmin/conf/access
svna
Author: mdf
Date: Tue Dec 21 16:29:58 2010
New Revision: 216616
URL: http://svn.freebsd.org/changeset/base/216616
Log:
Move the fail_point_entry definition from fail.h to kern_fail.c, which
allows putting the enumeration constants of fail point types with the
text string that matches them.
Author: mdf
Date: Tue Dec 21 18:23:03 2010
New Revision: 216620
URL: http://svn.freebsd.org/changeset/base/216620
Log:
Initialize fp_location for explicitly managed fail points, and push
the parentheses around the location for simple fail points into the
location string. This makes the prin
Author: mdf
Date: Fri Jan 7 16:46:20 2011
New Revision: 217109
URL: http://svn.freebsd.org/changeset/base/217109
Log:
Fix a memory overflow where the input length to g_gpt_utf8_to_utf16()
was specified incorrectly, causing the bzero to run past the end of a
malloc(9)'d object.
Submitte
Author: mdf
Date: Tue Jan 11 17:16:50 2011
New Revision: 217268
URL: http://svn.freebsd.org/changeset/base/217268
Log:
MFC r217109:
Fix a memory overflow where the input length to g_gpt_utf8_to_utf16()
was specified incorrectly, causing the bzero to run past the end of a
malloc(9)'d obj
Author: mdf
Date: Tue Jan 11 17:26:36 2011
New Revision: 217269
URL: http://svn.freebsd.org/changeset/base/217269
Log:
Move the fail_point_entry definition from fail.h to kern_fail.c, which
allows putting the enumeration constants of fail point types with the
text string that matches them.
Author: mdf
Date: Tue Jan 11 17:29:34 2011
New Revision: 217270
URL: http://svn.freebsd.org/changeset/base/217270
Log:
(Note the previous commit was a MFC of r216616).
MFC r216620:
Initialize fp_location for explicitly managed fail points, and push
the parentheses around the location
Author: mdf
Date: Tue Jan 11 17:31:59 2011
New Revision: 217271
URL: http://svn.freebsd.org/changeset/base/217271
Log:
MFC r216058 and r216059:
r216058:
Use the SYSCTL_CHILDREN macro in kern_sysctl.c to help de-obfuscate the
code.
r216059:
Slightly modify the logic in sysct
Author: mdf
Date: Tue Jan 11 17:33:29 2011
New Revision: 217272
URL: http://svn.freebsd.org/changeset/base/217272
Log:
MFC r216463:
One of the compat32 functions was copying in a raw timespec, instead of
a 32-bit one. This can cause weird timeout issues, as the copying reads
garbage fr
Author: mdf
Date: Wed Jan 12 17:52:48 2011
New Revision: 217313
URL: http://svn.freebsd.org/changeset/base/217313
Log:
Add type checking for static and dynamic sysctls using scalar types.
The code is turned off until the tree is fixed up so it compiles.
__FreeBSD_version was already bumped o
Author: mdf
Date: Wed Jan 12 19:53:23 2011
New Revision: 217318
URL: http://svn.freebsd.org/changeset/base/217318
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the Intel drivers.
Modified:
head/sys/dev/e1000/if_em.c
head/sys/dev/e1000/if_igb.c
head/sys/dev/e
Author: mdf
Date: Wed Jan 12 19:53:30 2011
New Revision: 217319
URL: http://svn.freebsd.org/changeset/base/217319
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the zfs piece.
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
head/sys/cddl/con
Author: mdf
Date: Wed Jan 12 19:53:50 2011
New Revision: 217322
URL: http://svn.freebsd.org/changeset/base/217322
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the net* piece.
Modified:
head/sys/net/if.c
head/sys/net/netisr.c
head/sys/net/route.c
head/sys/
Author: mdf
Date: Wed Jan 12 19:54:07 2011
New Revision: 217324
URL: http://svn.freebsd.org/changeset/base/217324
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the geom piece.
Modified:
head/sys/geom/sched/g_sched.c
head/sys/geom/sched/gs_rr.c
Modified: head/
Author: mdf
Date: Wed Jan 12 19:54:19 2011
New Revision: 217326
URL: http://svn.freebsd.org/changeset/base/217326
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the kernel changes.
Modified:
head/sys/amd64/acpica/acpi_machdep.c
head/sys/ddb/db_capture.c
head/
Author: mdf
Date: Wed Jan 12 19:53:39 2011
New Revision: 217320
URL: http://svn.freebsd.org/changeset/base/217320
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the netgraph piece.
Modified:
head/sys/netgraph/bluetooth/common/ng_bluetooth.c
head/sys/netgraph/bl
Author: mdf
Date: Wed Jan 12 19:53:44 2011
New Revision: 217321
URL: http://svn.freebsd.org/changeset/base/217321
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the cxgb driver piece.
Modified:
head/sys/dev/cxgb/cxgb_main.c
head/sys/dev/cxgb/cxgb_sge.c
head/s
Author: mdf
Date: Wed Jan 12 19:53:56 2011
New Revision: 217323
URL: http://svn.freebsd.org/changeset/base/217323
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the rest of the devices.
Modified:
head/sys/dev/acpi_support/acpi_ibm.c
head/sys/dev/ae/if_ae.c
he
Author: mdf
Date: Wed Jan 12 19:54:14 2011
New Revision: 217325
URL: http://svn.freebsd.org/changeset/base/217325
Log:
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the security directory.
Modified:
head/sys/security/mac/mac_framework.c
head/sys/security/mac_seeoth
Author: mdf
Date: Wed Jan 12 20:38:55 2011
New Revision: 217328
URL: http://svn.freebsd.org/changeset/base/217328
Log:
Fix a typo. XLONG should allow pointers to unsigned and signed long.
Submitted by:
Modified:
head/sys/sys/sysctl.h
Modified: head/sys/sys/sysctl.h
===
Author: mdf
Date: Wed Jan 12 21:08:49 2011
New Revision: 217330
URL: http://svn.freebsd.org/changeset/base/217330
Log:
Fix a brain fart. Since this file is shared between i386 and amd64, a
bus_size_t may be 32 or 64 bits. Change the bounce_zone alignment field
to explicitly be 32 bits, as
Author: mdf
Date: Wed Jan 12 23:06:38 2011
New Revision: 217332
URL: http://svn.freebsd.org/changeset/base/217332
Log:
Revert cddl changes for sysctl(9) until I understand why this isn't
building on universe.
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
head/sys/cdd
Author: mdf
Date: Thu Jan 13 00:52:57 2011
New Revision: 217337
URL: http://svn.freebsd.org/changeset/base/217337
Log:
Revert to using bus_size_t for the bounce_zone's alignment member.
Reuqested by: jhb
Modified:
head/sys/x86/x86/busdma_machdep.c
Modified: head/sys/x86/x86/busdma_machd
Author: mdf
Date: Thu Jan 13 18:20:19 2011
New Revision: 217367
URL: http://svn.freebsd.org/changeset/base/217367
Log:
Re-commit the zfs sysctl(9) type-safety changes.
Thanks to dim and pjd for the pointer to zfs_context.h for building
userland.
Modified:
head/cddl/contrib/opensolaris/
Author: mdf
Date: Thu Jan 13 18:20:27 2011
New Revision: 217368
URL: http://svn.freebsd.org/changeset/base/217368
Log:
Fix up a few more sysctl(9) mis-typing found in various LINT builds.
Modified:
head/sys/amd64/amd64/mp_machdep.c
head/sys/cam/cam_xpt.c
head/sys/dev/ath/if_ath.c
head/s
Author: mdf
Date: Thu Jan 13 18:20:33 2011
New Revision: 217369
URL: http://svn.freebsd.org/changeset/base/217369
Log:
Add a 64-bit hex-printed sysctl(9) since there is at least one place in
the code that wanted it. It is named X64 rather than XQUAD since the
quad name is a historical abomi
Author: mdf
Date: Thu Jan 13 18:20:37 2011
New Revision: 217370
URL: http://svn.freebsd.org/changeset/base/217370
Log:
One more sysctl(9) type-safety that I missed before.
Modified:
head/sys/kern/sched_4bsd.c
Modified: head/sys/kern/sched_4bsd.c
==
Author: mdf
Date: Mon Jan 17 23:36:53 2011
New Revision: 217521
URL: http://svn.freebsd.org/changeset/base/217521
Log:
The kernel is not exporting any "T,dev_t" sysctl nodes anymore, so
remove the capability and mention from sysctl(8).
Modified:
head/sbin/sysctl/sysctl.8
head/sbin/sysctl/
Author: mdf
Date: Mon Jan 17 23:43:03 2011
New Revision: 217522
URL: http://svn.freebsd.org/changeset/base/217522
Log:
Fix typo and bump date.
Modified:
head/sbin/sysctl/sysctl.8
Modified: head/sbin/sysctl/sysctl.8
=
Author: mdf
Date: Tue Jan 18 21:14:13 2011
New Revision: 217554
URL: http://svn.freebsd.org/changeset/base/217554
Log:
Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need
to rely on the format string. For SYSCTL_PROC instances that I
noticed a discrepancy between the CTLTY
Author: mdf
Date: Tue Jan 18 21:14:18 2011
New Revision: 217555
URL: http://svn.freebsd.org/changeset/base/217555
Log:
Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need
to rely on the format string.
Modified:
head/sys/kern/kern_linker.c
head/sys/kern/kern_sysctl.c
he
Author: mdf
Date: Tue Jan 18 21:14:23 2011
New Revision: 217556
URL: http://svn.freebsd.org/changeset/base/217556
Log:
Specify a CTLTYPE_FOO so that a future sysctl(8) change does not need
to rely on the format string.
Modified:
head/sys/dev/e1000/if_em.c
head/sys/dev/e1000/if_igb.c
hea
Author: mdf
Date: Wed Jan 19 00:57:58 2011
New Revision: 217566
URL: http://svn.freebsd.org/changeset/base/217566
Log:
Fix a few more SYSCTL_PROC() that were missing a CTLFLAG type specifier.
Modified:
head/share/examples/kld/dyn_sysctl/dyn_sysctl.c
head/sys/compat/ndis/subr_ntoskrnl.c
he
Author: mdf
Date: Wed Jan 19 17:04:07 2011
New Revision: 217586
URL: http://svn.freebsd.org/changeset/base/217586
Log:
sysctl(8) should use the CTLTYPE to determine the type of data when
reading. (This was already done for writing to a sysctl). This
requires all SYSCTL setups to specify a
Author: mdf
Date: Wed Jan 19 23:00:25 2011
New Revision: 217616
URL: http://svn.freebsd.org/changeset/base/217616
Log:
Introduce signed and unsigned version of CTLTYPE_QUAD, renaming
existing uses. Rename sysctl_handle_quad() to sysctl_handle_64().
Modified:
head/lib/libjail/jail.c
head/
Author: mdf
Date: Tue Jan 25 17:39:52 2011
New Revision: 217830
URL: http://svn.freebsd.org/changeset/base/217830
Log:
Document sbuf_new_for_sysctl(9).
Pointed out by: lstewart
Modified:
head/share/man/man9/Makefile
head/share/man/man9/sbuf.9
Modified: head/share/man/man9/Makefi
Author: mdf
Date: Wed Jan 26 17:06:13 2011
New Revision: 217886
URL: http://svn.freebsd.org/changeset/base/217886
Log:
Set td_kstack_pages for thread0. This was already being done for most
architectures, but i386 and amd64 were missing it.
Submitted by: Mohd Fahadullah
Modified:
head
Author: mdf
Date: Wed Jan 26 22:48:09 2011
New Revision: 217915
URL: http://svn.freebsd.org/changeset/base/217915
Log:
Remove the CTLFLAG_NOLOCK as it seems to be both unused and
unfunctional. Wiring the user buffer has only been done explicitly
since r101422.
Mark the kern.disks sysct
Author: mdf
Date: Thu Jan 27 00:34:12 2011
New Revision: 217916
URL: http://svn.freebsd.org/changeset/base/217916
Log:
Explicitly wire the user buffer rather than doing it implicitly in
sbuf_new_for_sysctl(9). This allows using an sbuf with a SYSCTL_OUT
drain for extremely large amounts of
Author: mdf
Date: Wed Feb 2 16:35:10 2011
New Revision: 218195
URL: http://svn.freebsd.org/changeset/base/218195
Log:
Put the general logic for being a CPU hog into a new function
should_yield(). Use this in various places. Encapsulate the common
case of check-and-yield into a new functio
Author: mdf
Date: Tue Feb 8 00:16:36 2011
New Revision: 218424
URL: http://svn.freebsd.org/changeset/base/218424
Log:
Based on discussions on the svn-src mailing list, rework r218195:
- entirely eliminate some calls to uio_yeild() as being unnecessary,
such as in a sysctl handler.
Author: mdf
Date: Tue Feb 8 00:36:46 2011
New Revision: 218425
URL: http://svn.freebsd.org/changeset/base/218425
Log:
Remove the uio_yield prototype and symbol. This function has been
misnamed since it was introduced and should not be globally exposed
with this name. The equivalent functi
Author: mdf
Date: Mon Feb 14 17:20:20 2011
New Revision: 218685
URL: http://svn.freebsd.org/changeset/base/218685
Log:
Prevent reading from the ACPI_RESOURCE past its actual end. For
paranoia limit to the size of the ACPI_RESOURCE as well.
Reviewd by: jhb (in spirit)
MFC after:1
Author: mdf
Date: Fri Feb 18 22:25:11 2011
New Revision: 218825
URL: http://svn.freebsd.org/changeset/base/218825
Log:
Modify kdb_trap() so that it re-calls the dbbe_trap function as long as
the debugger back-end has changed. This means that switching from ddb
to gdb no longer requires a "s
Author: mdf
Date: Fri Jul 8 20:41:07 2011
New Revision: 223875
URL: http://svn.freebsd.org/changeset/base/223875
Log:
style(9) and cleanup fixes.
MFC after: 1 week
Modified:
head/sys/kern/kern_fail.c
Modified: head/sys/kern/kern_fail.c
==
Author: mdf
Date: Fri Jul 8 20:41:12 2011
New Revision: 223876
URL: http://svn.freebsd.org/changeset/base/223876
Log:
Add an option to have a fail point term only execute when run by a
specified pid. This is helpful for automated testing involving a global
knob that would otherwise be exec
Author: mdf
Date: Mon Jul 18 18:06:39 2011
New Revision: 224190
URL: http://svn.freebsd.org/changeset/base/224190
Log:
MFC r223875, r223876:
style(9) and cleanup fixes.
Add an option to have a fail point term only execute when run by a
specified pid. This is helpful for automated te
1 - 100 of 191 matches
Mail list logo