Author: rwatson
Date: Fri May 29 10:52:37 2009
New Revision: 193030
URL: http://svn.freebsd.org/changeset/base/193030
Log:
Make the rmlock(9) interface a bit more like the rwlock(9) interface:
- Add rm_init_flags() and accept extended options only for that variation.
- Add a flags space
On Fri, 29 May 2009, Attilio Rao wrote:
Make the rmlock(9) interface a bit more like the rwlock(9) interface:
- Add rm_init_flags() and accept extended options only for that variation.
- Add a flags space specifically for rm_init_flags(), rather than borrowing
the lock_init() flag space.
Author: rwatson
Date: Fri May 29 14:20:10 2009
New Revision: 193038
URL: http://svn.freebsd.org/changeset/base/193038
Log:
Since sched_pin() and sched_unpin() are already inlined, don't manually
inline in rmlocks.
Modified:
head/sys/kern/kern_rmlock.c
Modified: head/sys/kern/kern_rmlock.c
Author: rwatson
Date: Fri May 29 14:25:51 2009
New Revision: 193039
URL: http://svn.freebsd.org/changeset/base/193039
Log:
Minor style tweak.
Modified:
head/sys/kern/kern_rmlock.c
Modified: head/sys/kern/kern_rmlock.c
On Fri, 29 May 2009, Attilio Rao wrote:
2009/5/29 Scott Long sco...@samsco.org:
Occasionally it's useful to be able to run older binaries on newer kernels.
One particularly useful place is for making releases. Does this change to
struct mount break that? If so, could there be any other way
@@ This manual page was written by
.An Robert Watson Aq rwat...@freebsd.org .
.Sh BUGS
The
-.Nm
-facility in
-.Fx
-is considered experimental, and production deployment should occur only after
-careful consideration of the risks of deploying experimental software.
-.Pp
-The
.Fx
kernel does not fully
Author: rwatson
Date: Mon Jun 1 10:41:38 2009
New Revision: 193219
URL: http://svn.freebsd.org/changeset/base/193219
Log:
Reimplement the netisr framework in order to support parallel netisr
threads:
- Support up to one netisr thread per CPU, each processings its own
workstream, or
Author: rwatson
Date: Mon Jun 1 15:03:58 2009
New Revision: 193230
URL: http://svn.freebsd.org/changeset/base/193230
Log:
Garbage collect NETISR_POLL and NETISR_POLLMORE, which are no longer
required for options DEVICE_POLLING.
De-fragment the NETISR_ constant space and lower
Author: rwatson
Date: Mon Jun 1 16:00:36 2009
New Revision: 193233
URL: http://svn.freebsd.org/changeset/base/193233
Log:
Update UPDATING for NETISR2 merge, fix a typo in another UPDATING entry.
Modified:
head/UPDATING
Modified: head/UPDATING
Author: rwatson
Date: Mon Jun 1 16:13:06 2009
New Revision: 193234
URL: http://svn.freebsd.org/changeset/base/193234
Log:
Add 'sy_flags', a currently unused per-syscall entry flags field that will
see future use in 9-CURRENT and 8-STABLE for features such as the
capability-mode enable flag
Author: rwatson
Date: Mon Jun 1 18:38:36 2009
New Revision: 193243
URL: http://svn.freebsd.org/changeset/base/193243
Log:
Revert a recent netisr2 change: when billing packets to the current
CPU, don't lock the workstream, as its mutexes may not have been
initialized if there are fewer
Author: rwatson
Date: Mon Jun 1 20:26:51 2009
New Revision: 193255
URL: http://svn.freebsd.org/changeset/base/193255
Log:
Add a flags field to struct ucred, and export that via kinfo_proc,
consuming one of its spare fields. The cr_flags field is currently
unused, but will be used for
Author: rwatson
Date: Tue Jun 2 09:58:17 2009
New Revision: 193305
URL: http://svn.freebsd.org/changeset/base/193305
Log:
Add support for the four PUC serial interfaces found on IBM SurePOS 300
series POS terminals.
MFC after:3 days
Submitted by: Marc Balmer marc at msys.ch
Author: rwatson
Date: Tue Jun 2 15:59:46 2009
New Revision: 193309
URL: http://svn.freebsd.org/changeset/base/193309
Log:
Remove unneeded include.
MFC after:3 days
Modified:
head/sys/kern/uipc_mbuf.c
Modified: head/sys/kern/uipc_mbuf.c
Author: rwatson
Date: Tue Jun 2 18:26:17 2009
New Revision: 193332
URL: http://svn.freebsd.org/changeset/base/193332
Log:
Add internal 'mac_policy_count' counter to the MAC Framework, which is a
count of the number of registered policies.
Rather than unconditionally locking sockets
Author: rwatson
Date: Tue Jun 2 18:31:08 2009
New Revision: 193334
URL: http://svn.freebsd.org/changeset/base/193334
Log:
Remove MAC kernel config files and add options MAC to GENERIC, with the
goal of shipping 8.0 with MAC support in the default kernel. No policies
will be compiled in or
Author: rwatson
Date: Tue Jun 2 22:22:09 2009
New Revision: 193355
URL: http://svn.freebsd.org/changeset/base/193355
Log:
Mark MAC Framework sx and rm locks as NOWITNESS to suppress warnings that
might arise from WITNESS not understanding its locking protocol, which
should be
Author: rwatson
Date: Wed Jun 3 08:49:44 2009
New Revision: 193371
URL: http://svn.freebsd.org/changeset/base/193371
Log:
By default, label all network interfaces as biba/equal on attach. This
makes it easier for first-time users to configure and work with biba as
remote acess is still
On Wed, 3 Jun 2009, Pawel Jakub Dawidek wrote:
Add internal 'mac_policy_count' counter to the MAC Framework, which is a
count of the number of registered policies.
Rather than unconditionally locking sockets before passing them into MAC,
lock them in the MAC entry points only if
Author: rwatson
Date: Wed Jun 3 18:46:28 2009
New Revision: 193391
URL: http://svn.freebsd.org/changeset/base/193391
Log:
Continue work to optimize performance of options MAC when no MAC policy
modules are loaded by avoiding mbuf label lookups when policies aren't
loaded, pushing further
Author: rwatson
Date: Wed Jun 3 19:41:12 2009
New Revision: 193393
URL: http://svn.freebsd.org/changeset/base/193393
Log:
Add one further check with mac_policy_count to an mbuf copying case
(limited to netatalk) to avoid MAC label lookup on both mbufs if no
policies are registered.
Author: rwatson
Date: Fri Jun 5 13:55:33 2009
New Revision: 193504
URL: http://svn.freebsd.org/changeset/base/193504
Log:
Fix spelling of MAC check for 8.x version of MAC Framework, not noticed due
to a lack of an opt_mac.h include, which I won't add for now as options MAC
will soon move
Author: rwatson
Date: Fri Jun 5 14:15:00 2009
New Revision: 193507
URL: http://svn.freebsd.org/changeset/base/193507
Log:
Don't check MAC in the NFS server ACL set path, right now we aren't
enforcing MAC for NFS clients.
Modified:
head/sys/fs/nfs/nfs_commonacl.c
Modified:
Author: rwatson
Date: Fri Jun 5 14:29:49 2009
New Revision: 193509
URL: http://svn.freebsd.org/changeset/base/193509
Log:
Correct MAC compile problems resulting from the new RPC code copying and
pasting code from the general socket code without also bringing along
required opt_mac.h
Author: rwatson
Date: Sat Jun 6 07:13:57 2009
New Revision: 193571
URL: http://svn.freebsd.org/changeset/base/193571
Log:
Use #ifdef APPLE_MAC instead of #ifdef MAC to conditionalize Apple-specific
behavior for unicode support in UDF so as not to conflict with the MAC
Framework.
Note
Author: rwatson
Date: Sat Jun 6 17:01:44 2009
New Revision: 193588
URL: http://svn.freebsd.org/changeset/base/193588
Log:
Remove opt_mac.h generation for various kernel modules that no longer
require it.
Submitted by: pjd
Modified:
head/sys/modules/cxgb/tom/Makefile
Author: rwatson
Date: Sun Jun 7 20:51:31 2009
New Revision: 193650
URL: http://svn.freebsd.org/changeset/base/193650
Log:
Add a temporary workaround for panics being seen on NFS servers with ZFS,
where an improperly initialized prison field could lead to a panic. This
is not the correct
Author: rwatson
Date: Sun Jun 7 21:31:06 2009
New Revision: 193652
URL: http://svn.freebsd.org/changeset/base/193652
Log:
Add beginnings of a netisr(9) man page.
Modified:
head/share/man/man9/Makefile
Modified: head/share/man/man9/Makefile
Author: rwatson
Date: Sun Jun 7 21:32:01 2009
New Revision: 193653
URL: http://svn.freebsd.org/changeset/base/193653
Log:
Try again to add beginnings of netisr(8) man page: this time add
netisr.9.
Added:
head/share/man/man9/netisr.9 (contents, props changed)
Added:
Author: rwatson
Date: Mon Jun 8 15:26:09 2009
New Revision: 193723
URL: http://svn.freebsd.org/changeset/base/193723
Log:
Move zombie-reaping code out of kern_wait() and into its own function,
proc_reap().
Reviewed by: jhb
MFC after:3 days
Sponsored by: Google, Inc.
Modified:
On Wed, 10 Jun 2009, John Baldwin wrote:
Change a few members of tcpcb that store cached copies of ticks to be ints
instead of unsigned longs. This fixes a few overflow edge cases on 64-bit
platforms. Specifically, if an idle connection receives a packet shortly
before 2^31 clock ticks
On Tue, 16 Jun 2009, Kostik Belousov wrote:
Note that this implementation of closefrom(2) does not make any effort to
resolve userland races with open(2) in other threads. As such, it is not
multithread safe.
...
+ FILEDESC_SLOCK(fdp);
+ for (fd = uap-lowfd; fd
On Fri, 20 Mar 2009, Coleman Kane wrote:
I've found that many of the GNU apps are notorious for this. I really can't
say that I know why libassuan or gnupg explicitly require GNU pth, rather
than first attempting to use POSIX pthread API. Their configure scripts both
want to search for and
Author: rwatson
Date: Sat Mar 21 21:49:07 2009
New Revision: 190220
URL: http://svn.freebsd.org/changeset/base/190220
Log:
In nfs_request(), always exit using the nfsmout label once we're
definitely doing an NFSv2 or NFSv3 RPC, rather than sometimes doing
so and sometimes not. This makes
Author: rwatson
Date: Sun Mar 22 22:07:52 2009
New Revision: 190293
URL: http://svn.freebsd.org/changeset/base/190293
Log:
Add dtnfsclient, a first cut at an NFSv2/v3 client reuest DTrace
provider. The NFS client exposes 'start' and 'done' probes for NFSv2
and NFSv3 RPCs when using the new
On Sun, 22 Mar 2009, Robert Watson wrote:
Add dtnfsclient, a first cut at an NFSv2/v3 client reuest DTrace
provider. The NFS client exposes 'start' and 'done' probes for NFSv2
and NFSv3 RPCs when using the new RPC implementation, passing in the
vnode, mbuf chain, credential, and NFSv2
On Tue, 24 Mar 2009, M. Warner Losh wrote:
In message: 20090324043624.gb34...@dragon.nuxi.org
David O'Brien obr...@freebsd.org writes:
: On Mon, Mar 23, 2009 at 07:25:41PM -0700, Sam Leffler wrote:
: David E. O'Brien wrote:
: Author: obrien
: Date: Tue Mar 24 01:51:42 2009
: New
Author: rwatson
Date: Tue Mar 24 17:14:34 2009
New Revision: 190380
URL: http://svn.freebsd.org/changeset/base/190380
Log:
Add DTrace probes to the NFS access and attribute caches. Access cache
events are:
nfsclient:accesscache:flush:done
nfsclient:accesscache:get:hit
On Tue, 24 Mar 2009, Robert Watson wrote:
Add DTrace probes to the NFS access and attribute caches. Access cache
events are:
nfsclient:accesscache:flush:done
nfsclient:accesscache:get:hit
nfsclient:accesscache:get:miss
nfsclient:accesscache:load:done
They pass the vnode, uid
Author: rwatson
Date: Tue Mar 24 23:16:48 2009
New Revision: 190396
URL: http://svn.freebsd.org/changeset/base/190396
Log:
Fix two bugs in DTrace tracing of accesscache and attrcache load events:
- Trace non-error loads into the access cache once, not zero times or
twice.
- Sometimes
Author: rwatson
Date: Wed Mar 25 17:47:22 2009
New Revision: 190419
URL: http://svn.freebsd.org/changeset/base/190419
Log:
Move dtnfsclient.c in the cddl tree to nfs_kdtrace.c in the nfsclient
directory, since it's under a BSD license, and this keeps NFS internals-
aware tracing parts close
Author: rwatson
Date: Thu Mar 26 14:20:16 2009
New Revision: 190442
URL: http://svn.freebsd.org/changeset/base/190442
Log:
Merge r189657 from head to stable/7:
Add INP_INHASHLIST flag for inpcb-inp_flags to indicate whether
or not the inpcb is currenty on various hash lookup lists,
Author: rwatson
Date: Sat Mar 28 16:12:32 2009
New Revision: 190506
URL: http://svn.freebsd.org/changeset/base/190506
Log:
Enable soreceive_dgram() use by UDP by default in 7.x. This can lead
to a significant performance improvement for multi-threaded UDP socket
receive, such as found in
Author: rwatson
Date: Sun Mar 29 03:30:15 2009
New Revision: 190518
URL: http://svn.freebsd.org/changeset/base/190518
Log:
Add SDT DTrace probes for VFS vnode operations in the vfs:vop
provider namespace. These are inserted dynamically into the
VOP_..._AP() functions created from
Author: rwatson
Date: Sun Mar 29 17:42:30 2009
New Revision: 190523
URL: http://svn.freebsd.org/changeset/base/190523
Log:
Merge r185858 from head to stable/7:
Remove inconsistent white space from in_pcballoc().
Approved by: re (kib)
Modified:
stable/7/sys/ (props changed)
Author: rwatson
Date: Mon Mar 30 14:11:37 2009
New Revision: 190556
URL: http://svn.freebsd.org/changeset/base/190556
Log:
Merge r189196 from head to stable/7:
Remove unreachable code for generating RST segments from tcp_twcheck();
this code became stale when T/TCP support was
On Mon, 6 Apr 2009, Randall Stewart wrote:
Author: rrs
Date: Mon Apr 6 10:09:20 2009
New Revision: 190758
URL: http://svn.freebsd.org/changeset/base/190758
Log:
Class based addressing went out in the early 90's. Basically
if a entry is not route add -net xxx/bits then we should use
the
Author: rwatson
Date: Tue Apr 7 12:39:55 2009
New Revision: 190796
URL: http://svn.freebsd.org/changeset/base/190796
Log:
Free the captive trasz from the chains of mentorship.
Modified:
svnadmin/conf/mentors
Modified: svnadmin/conf/mentors
On Tue, 7 Apr 2009, Dag-Erling Smørgrav wrote:
Robert Watson rwat...@freebsd.org writes:
Does this maintain compatibility for people who may still mysteriously
be specifying class-based IPs and netmasks in configuration files? If
not, this should not be MFC'd...
Here's the really ugly part
Author: rwatson
Date: Tue Apr 7 20:58:56 2009
New Revision: 190829
URL: http://svn.freebsd.org/changeset/base/190829
Log:
Nul-terminate strings in the VFS name cache, which negligibly change
the size and cost of name cache entries, but make adding debugging
and tracing easier.
Add SDT
On Wed, 8 Apr 2009, Stephen McKay wrote:
Author: mckay
Date: Wed Apr 8 04:30:16 2009
New Revision: 190837
URL: http://svn.freebsd.org/changeset/base/190837
Log:
MFC r187460: Add a limit on namecache entries.
Obviously, having a limit is a good idea, but I wonder if we should use some
more
On Wed, 8 Apr 2009, Attilio Rao wrote:
Finally, I think it would be a good idea to do a bit of real-world
profiling on memory efficiency of the name cache: how much memory is wasted
when assumptions about short/long are wrong, and could we retune lengths,
limits, hash bucket counts, etc, to
On Wed, 8 Apr 2009, Robert Watson wrote:
While the probes I've added could be used to do this very easily, that's not
the thrust of the work I'm currently doing. A useful starting point for
someone interested in this problem would be a dtrace script like the
following
On Wed, 8 Apr 2009, Maxim Konovalov wrote:
While the probes I've added could be used to do this very easily, that's
not the thrust of the work I'm currently doing. A useful starting point
for someone interested in this problem would be a dtrace script like the
following:
On Wed, 8 Apr 2009, Robert Watson wrote:
While the probes I've added could be used to do this very easily, that's
not the thrust of the work I'm currently doing. A useful starting point
for someone interested in this problem would be a dtrace script like the
following
On Thu, 9 Apr 2009, Luigi Rizzo wrote:
Note- this commit changes the userland/kernel ABI for pipes
(but not for ordinary firewall rules) so you need to rebuild
kernel and /sbin/ipfw to use dummynet features.
Please check the manpage for details on the new feature.
The MFC would be
Author: rwatson
Date: Fri Apr 10 10:52:19 2009
New Revision: 190888
URL: http://svn.freebsd.org/changeset/base/190888
Log:
Remove VOP_LEASE and supporting functions. This hasn't been used since
the removal of NQNFS, but was left in in case it was required for NFSv4.
Since our new NFSv4
Author: rwatson
Date: Fri Apr 10 10:59:48 2009
New Revision: 190889
URL: http://svn.freebsd.org/changeset/base/190889
Log:
Remove VOP_LEASE(9) man page, as we no longer have a VOP_LEASE() in the
kernel.
Deleted:
head/share/man/man9/VOP_LEASE.9
Modified:
head/share/man/man9/Makefile
Author: rwatson
Date: Sat Apr 11 22:01:40 2009
New Revision: 190947
URL: http://svn.freebsd.org/changeset/base/190947
Log:
Remove conditionally compiled time counter statistics; tools like
DTrace, kernel profiling, etc, can provide this information without
the overhead.
MFC after:3
Author: rwatson
Date: Sat Apr 11 22:07:19 2009
New Revision: 190948
URL: http://svn.freebsd.org/changeset/base/190948
Log:
Update stats in struct tcpstat using two new macros, TCPSTAT_ADD() and
TCPSTAT_INC(), rather than directly manipulating the fields across the
kernel. This will make it
Author: rwatson
Date: Sat Apr 11 23:35:20 2009
New Revision: 190951
URL: http://svn.freebsd.org/changeset/base/190951
Log:
Update stats in struct ipstat using four new macros, IPSTAT_ADD(),
IPSTAT_INC(), IPSTAT_SUB(), and IPSTAT_DEC(), rather than directly
manipulating the fields across the
Author: rwatson
Date: Sun Apr 12 11:42:40 2009
New Revision: 190962
URL: http://svn.freebsd.org/changeset/base/190962
Log:
Update stats in struct udpstat using two new macros, UDPSTAT_ADD()
and UDPSTAT_INC(), rather than directly manipulating the fields
across the kernel. This will make it
Author: rwatson
Date: Sun Apr 12 11:53:12 2009
New Revision: 190963
URL: http://svn.freebsd.org/changeset/base/190963
Log:
Commit file omitted in r190962:
Update stats in struct udpstat using two new macros, UDPSTAT_ADD()
and UDPSTAT_INC(), rather than directly manipulating the fields
Author: rwatson
Date: Sun Apr 12 13:22:33 2009
New Revision: 190964
URL: http://svn.freebsd.org/changeset/base/190964
Log:
Update stats in struct icmpstat and icmp6stat using four new
macros: ICMPSTAT_ADD(), ICMPSTAT_INC(), ICMP6STAT_ADD(), and
ICMP6STAT_INC(), rather than directly
Author: rwatson
Date: Sun Apr 12 14:19:37 2009
New Revision: 190968
URL: http://svn.freebsd.org/changeset/base/190968
Log:
Update stats in struct carpstats using two new macros: CARPSTATS_ADD()
and CARPSTATS_INC(), rather than directly manipulating the fields of
the structure. This will
Author: rwatson
Date: Sun Apr 12 13:41:13 2009
New Revision: 190965
URL: http://svn.freebsd.org/changeset/base/190965
Log:
Update stats in struct igmpstat using two new macros:
IGMPSTAT_ADD() and IGMPSTAT_INC(), rather than directly
manipulating the fields of the structure. This will make
Author: rwatson
Date: Sun Apr 12 14:00:36 2009
New Revision: 190966
URL: http://svn.freebsd.org/changeset/base/190966
Log:
Update stats in struct mrtstat using two new macros: MRTSTAT_ADD()
and MRTSTAT_INC(), rather than directly manipulating the fields of
the structure. This will make it
Author: rwatson
Date: Sun Apr 12 14:06:26 2009
New Revision: 190967
URL: http://svn.freebsd.org/changeset/base/190967
Log:
Update stats in struct pimstat using two new macros: PIMSTAT_ADD()
and PIMSTAT_INC(), rather than directly manipulating the fields of
the structure. This will make it
On Sun, 12 Apr 2009, Robert Watson wrote:
As an example, an approach i was considering is replace the existing
counters with an index in a global_counters[MAXCPU][] array so the counter
update will become something like this:
FYI, one other reason to put it all behind per-subsystem macros
On Sun, 12 Apr 2009, Luigi Rizzo wrote:
On Sun, Apr 12, 2009 at 02:06:26PM +, Robert Watson wrote:
Update stats in struct pimstat using two new macros: PIMSTAT_ADD()
and PIMSTAT_INC(), rather than directly manipulating the fields of
the structure. This will make it easier to change
On Sun, 12 Apr 2009, Poul-Henning Kamp wrote:
In message alpine.bsf.2.00.0904121525540.19...@fledge.watson.org, Robert
Wats on writes:
I have a project along these lines in progress, and will post the proposal
to arch@ once I've finished prototyping it. In particular, it provides
common
Author: rwatson
Date: Sun Apr 12 21:28:35 2009
New Revision: 190978
URL: http://svn.freebsd.org/changeset/base/190978
Log:
Put TCPSTAT_ADD() and TCPSTAT_INC() behind _KERNEL.
MFC after:3 days
Modified:
head/sys/netinet/tcp_var.h
Modified: head/sys/netinet/tcp_var.h
Author: rwatson
Date: Mon Apr 13 11:54:22 2009
New Revision: 190997
URL: http://svn.freebsd.org/changeset/base/190997
Log:
Merge r190996 from head to stable/7:
When writing out updated pollfd records when returning from
poll(), only copy out the revents field, not the whole pollfd
On Mon, 13 Apr 2009, Robert Watson wrote:
Author: rwatson
Date: Mon Apr 13 11:54:22 2009
New Revision: 190997
URL: http://svn.freebsd.org/changeset/base/190997
Log:
Merge r190996 from head to stable/7:
Due to a clerical error, this is not the right revision number. The actual
merged
On Tue, 14 Apr 2009, Kip Macy wrote:
call default if_qflush on ifq if default method isn't used by the driver
...
Modified: head/sys/net/if.c
==
--- head/sys/net/if.c Tue Apr 14 03:13:05 2009(r191036)
+++
On Tue, 14 Apr 2009, Tim Kientzle wrote:
There is no way for strmode(3) to append '+' if the file has ACL,
because there is no way to figure that out based on the file mode
itself. Make the manual page match reality.
Yep, that '+' is why libarchive has a custom strmode() that accepts
Author: rwatson
Date: Thu Apr 16 11:09:13 2009
New Revision: 191138
URL: http://svn.freebsd.org/changeset/base/191138
Log:
Garbage collect unbuildable and unusable non-MPSAFE network device
drivers that depended on the historic IFF_NEEDSGIANT compatibility
mechanism:
ar(4)
ray(4)
Author: rwatson
Date: Thu Apr 16 11:09:59 2009
New Revision: 191139
URL: http://svn.freebsd.org/changeset/base/191139
Log:
Remove man pages ar(4), ray(4), and sr(4) following removal of these
non-MPSAFE device drivers.
Deleted:
head/share/man/man4/man4.i386/ar.4
Author: rwatson
Date: Thu Apr 16 11:57:16 2009
New Revision: 191143
URL: http://svn.freebsd.org/changeset/base/191143
Log:
Remove D_NEEDGIANT from audit pipes. I'm actually not sure why this was
here, but isn't needed.
MFC after:2 weeks
Sponsored by: Apple, Inc.
Modified:
Author: rwatson
Date: Thu Apr 16 14:43:59 2009
New Revision: 191144
URL: http://svn.freebsd.org/changeset/base/191144
Log:
Garbage collect raycontrol(8), as ray(4) has been removed.
Pointed out by: pluknet at gmail.com
Deleted:
head/usr.sbin/raycontrol/
Modified:
Author: rwatson
Date: Thu Apr 16 20:17:32 2009
New Revision: 191147
URL: http://svn.freebsd.org/changeset/base/191147
Log:
Merge new kernel files from OpenBSM 1.1: audit_fcntl.h and
audit_bsm_fcntl.c contain utility routines to map local fcntl
commands into BSM constants. Adaptation to the
On Tue, 14 Apr 2009, Kip Macy wrote:
The commit message should perhaps read:
Call default if_qflush on ifq if there are still packets left in the
default queue after calling the driver's flush method.
However, this seems a bit odd: what if the driver uses if_snd as its queue
but implements
Author: rwatson
Date: Fri Apr 17 09:42:26 2009
New Revision: 191198
URL: http://svn.freebsd.org/changeset/base/191198
Log:
Remove legacy versions of USB network interface drivers relying on
IFF_NEEDSGIANT, as that is no longer supported.
Deleted:
head/sys/legacy/dev/usb/if_aue.c
Author: rwatson
Date: Fri Apr 17 09:48:20 2009
New Revision: 191199
URL: http://svn.freebsd.org/changeset/base/191199
Log:
Remove kue_fw.h, missed in previous IFF_NEEDSGIANT USB driver garbage
collection.
Deleted:
head/sys/legacy/dev/usb/kue_fw.h
On Thu, 16 Apr 2009, Maxim Konovalov wrote:
Log:
o Reflect ar(4), ray(4), sr(4), raycontrol(8) removal.
Thanks!
Robert N M Watson
Computer Laboratory
University of Cambridge
Modified:
head/ObsoleteFiles.inc
Modified: head/ObsoleteFiles.inc
Author: rwatson
Date: Sat Apr 18 20:09:43 2009
New Revision: 191251
URL: http://svn.freebsd.org/changeset/base/191251
Log:
Garbage collect man page reference to IFF_NEEDSGIANT.
Modified:
head/share/man/man9/altq.9
Modified: head/share/man/man9/altq.9
Author: rwatson
Date: Sat Apr 18 20:10:39 2009
New Revision: 191252
URL: http://svn.freebsd.org/changeset/base/191252
Log:
ifconfig(8) no longer needs to know how to print the IFF_NEEDSGIANT flag,
since it shortly won't be defined at all.
Modified:
head/sbin/ifconfig/ifconfig.c
Modified:
Author: rwatson
Date: Sat Apr 18 20:39:17 2009
New Revision: 191253
URL: http://svn.freebsd.org/changeset/base/191253
Log:
Remove IFF_NEEDSGIANT interface flag: we no longer provide ifnet-layer
infrastructure to support non-MPSAFE network device drivers.
Modified:
head/sys/net/if.h
On Sun, 19 Apr 2009, Kip Macy wrote:
Author: kmacy
Date: Sun Apr 19 04:44:05 2009
New Revision: 191259
URL: http://svn.freebsd.org/changeset/base/191259
Log:
- Allocate a small flowtable in ip_input.c (changeable by tuneable)
- Use for accelerating ip_output
If you anticipate the flowtable
Author: rwatson
Date: Sun Apr 19 11:20:57 2009
New Revision: 191267
URL: http://svn.freebsd.org/changeset/base/191267
Log:
Garbage collect now-unused struct malloc_type fields, bump __FreeBSD_version
as kernel modules will need to be rebuilt. These fields existed to support
binary
Author: rwatson
Date: Sun Apr 19 12:41:37 2009
New Revision: 191268
URL: http://svn.freebsd.org/changeset/base/191268
Log:
struct malloc_type has had a 'magic' field statically initialized to
M_MAGIC by MALLOC_DEFINE() for a long time; add assertions that
malloc_type's passed to malloc(),
Author: rwatson
Date: Sun Apr 19 14:53:17 2009
New Revision: 191270
URL: http://svn.freebsd.org/changeset/base/191270
Log:
Merge OpenBSM 1.1 changes to the FreeBSD 8.x kernel:
- Add and use mapping of fcntl(2) commands to new BSM constant space.
- Adopt (int) rather than (long) arguments
Author: rwatson
Date: Sun Apr 19 15:18:16 2009
New Revision: 191271
URL: http://svn.freebsd.org/changeset/base/191271
Log:
Vendor import of OpenBSM 1.1, which incorporates the following changes
since the last imported OpenBSM release:
OpenBSM 1.1
- Change auditon(2) parameters and
Author: rwatson
Date: Sun Apr 19 15:19:26 2009
New Revision: 191272
URL: http://svn.freebsd.org/changeset/base/191272
Log:
Tag OpenBSM 1.1 vendor import.
Added:
vendor/openbsm/1.1/
- copied from r191271, vendor/openbsm/dist/
___
Author: rwatson
Date: Sun Apr 19 16:17:13 2009
New Revision: 191273
URL: http://svn.freebsd.org/changeset/base/191273
Log:
Merge OpenBSM 1.1 from OpenBSM vendor branch to head.
OpenBSM history for imported revision below for reference.
MFC after: 2 weeks
Sponsored by: Apple,
Author: rwatson
Date: Sun Apr 19 20:19:13 2009
New Revision: 191276
URL: http://svn.freebsd.org/changeset/base/191276
Log:
For each architecture, define CACHE_LINE_SHIFT and a derived
CACHE_LINE_SIZE constant. These constants are intended to
over-estimate the cache line size, and be used
Author: rwatson
Date: Sun Apr 19 22:01:38 2009
New Revision: 191281
URL: http://svn.freebsd.org/changeset/base/191281
Log:
Lock interface address list lock around ifaddr inserts and deletes
in at_control(). This locking is not yet complete but should prevent
some classes of race
Author: rwatson
Date: Sun Apr 19 22:04:29 2009
New Revision: 191283
URL: http://svn.freebsd.org/changeset/base/191283
Log:
Lock interface address list when building a reply to NGM_EIFACE_GET_IFADDRS
messages in ng_eiface.
MFC after:2 weeks
Modified:
head/sys/netgraph/ng_eiface.c
Author: rwatson
Date: Sun Apr 19 22:05:39 2009
New Revision: 191284
URL: http://svn.freebsd.org/changeset/base/191284
Log:
Lock the interface address list while building replies to
NGM_CISCO_COOKIE messages in ng_iface.
MFC after:2 weeks
Modified:
head/sys/netgraph/ng_iface.c
Author: rwatson
Date: Sun Apr 19 22:29:16 2009
New Revision: 191287
URL: http://svn.freebsd.org/changeset/base/191287
Log:
In divert_packet(), lock the interface address list before iterating over
it in search of an address.
MFC after:2 weeks
Modified:
head/sys/netinet/ip_divert.c
301 - 400 of 1055 matches
Mail list logo