summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing space between a variable and the ] for a testdougb2008-05-261-1/+1
|
* Take into account possible overflow when multiplying. The casuality iskib2008-05-261-2/+2
| | | | | | | the malloc call later, panicing kernel due to the oversized allocation. Reported by: pho Reviewed by: jeff
* Dont call ata_start() when ata_reinit fails in the ioctl path.sos2008-05-261-1/+0
|
* We can not call iwn_start directly in the interruptdelphij2008-05-261-3/+14
| | | | | | | | | | | context, where the iwn mutex is being held, and iwn_start assumes that we do not have that mutex held. Resolve this issue with what we do for other NICs by splitting the iwn_start procedure into two parts, iwn_start() do the locking, and iwn_start_locked() assumes that the mutex is being held. This resolves panic when WITNESS is enabled.
* Fix namespace collision after src/sys/sys/file.h:1.78.pjd2008-05-253-4/+5
|
* Backout the change to remove sun4v.jb2008-05-251-1/+1
| | | | | Note that sun4v is currently broken on T2000 hardware so it's pretty much a lame duck at this point.
* Remove netatm from HEAD as it is not MPSAFE and relies on the now removedrwatson2008-05-25226-111102/+1
| | | | | | | | | | | | | | | | | | | NET_NEEDS_GIANT. netatm has been disconnected from the build for ten months in HEAD/RELENG_7. Specifics: - netatm include files - netatm command line management tools - libatm - ATM parts in rescue and sysinstall - sample configuration files and documents - kernel support as a module or in NOTES - netgraph wrapper nodes for netatm - ctags data for netatm. - netatm-specific device drivers. MFC after: 3 weeks Reviewed by: bz Discussed with: bms, bz, harti
* Comment out the code that breaks with invariants. This is stuff that isjb2008-05-251-0/+2
| | | | | still WIP along with the lockstat provider, so there is no harm leaving it out for now.
* The "if" semantic is not needed, just fix this.attilio2008-05-251-1/+1
|
* Replace direct atomic operation for the file refcount witht theattilio2008-05-252-5/+7
| | | | | | | refcount interface. It also introduces the correct usage of memory barriers, as sometimes fdrop() and fhold() are used with shared locks, which don't use any release barrier.
* style fix for newly introduced macro.attilio2008-05-251-1/+1
|
* Remove sun4v from the list of arches in 'make universe'. There has beenjb2008-05-251-1/+1
| | | | | | no active development on it for over a year now and it isn't reliable under a simple buildworld. Developers can't be expected to test code targeted for it.
* Remove the dependency on lockstat. That its still work in progress.jb2008-05-251-1/+0
|
* Add the vtime (virtual time) hooks for DTrace.jb2008-05-252-0/+35
|
* To date, our implementation of munmap(2) has required that thealc2008-05-241-7/+0
| | | | | | | | | | | | entirety of the specified range be mapped. Specifically, it has returned EINVAL if the entire range is not mapped. There is not, however, any basis for this in either SuSv2 or our own man page. Moreover, neither Linux nor Solaris impose this requirement. This revision removes this requirement. Submitted by: Tijl Coosemans PR: 118510 MFC after: 6 weeks
* Fix comments to replace SBSIZE with SBLOCKSIZE, since SBSIZErodrigc2008-05-241-2/+2
| | | | | | was renamed to SBLOCKSIZE in version 1.33 Reviewed by: mckusick
* Remove 'fasttrap' module for amd64 for now as the code is not therebz2008-05-241-2/+1
| | | | in sys/cddl/dev/fasttrap.
* Remove redundant redeclaration of 'zone_drain'.bz2008-05-241-1/+0
|
* Restore buildable state. Style ignored.bz2008-05-241-0/+6
| | | | | | | | Leave IDTVEC(ill) where it was unless we compile with KDTRACE_HOOKS[1]. Hide the with DTRACE case case under #ifdef KDTRACE_HOOKS. Suggested by: attilio [1] Reviewed by: attilio
* Change my email address to the one from the FreeBSD project.ed2008-05-241-1/+1
| | | | Approved by: philip (mentor)
* In addition to the ipsec_osdep.h removal a week ago, now also eliminatebz2008-05-248-24/+0
| | | | IPSEC_SPLASSERT_SOFTNET which has been 'unused' since FreeBSD 5.0.
* Factor out the v4-only vs. the v6-only inp_flags processing inbz2008-05-243-24/+37
| | | | | | | | | ip6_savecontrol in preparation for udp_append() to no longer need an WLOCK as we will no longer be modifying socket options. Requested by: rwatson Reviewed by: gnn MFC after: 10 days
* - Add locking to all filesystem operations in fdescfs and flag it as MPSAFE.lulf2008-05-243-84/+199
| | | | | | | | | | | | | | | | | - Use proper synhronization primitives to protect the internal fdesc node cache used in fdescfs. - Properly initialize and uninitalize hash. - Remove unused functions. Since fdescfs might recurse on itself, adding proper locking to it needed some tricky workarounds in some parts to make it work. For instance, a descriptor in fdescfs could refer to an open descriptor to itself, thus forcing the thread to recurse on vnode locks. Because of this, other race conditions also had to be fixed. Tested by: pho Reviewed by: kib (mentor) Approved by: kib (mentor)
* Add myself to the calendargonzo2008-05-241-0/+1
| | | | Approved by: cognet (mentor)
* MFi386: revision 1.249nyan2008-05-241-0/+17
| | | | Add a cyclic hook for DTrace.
* Add myself to calendar.freebsdmanolis2008-05-241-0/+1
| | | | | | This will also help me not forget my own birthday :) Approved by: gabor (mentor)
* Add myself to commiters-doc.dotmanolis2008-05-241-0/+2
| | | | Approved by: gabor (mentor)
* Make the zfs module depend on the opensolaris module in preparation for itjb2008-05-241-0/+1
| | | | to shared stuff with the DTrace modules.
* Add the DTrace hooks for exception handling (Function boundary tracejb2008-05-243-0/+125
| | | | -fbt- provider), cyclic clock and syscalls.
* Add a cyclic hook for DTrace.jb2008-05-241-0/+17
|
* Add the DTrace hooks for exception handling (Function boundary tracejb2008-05-243-2/+140
| | | | -fbt- provider), cyclic clock and syscalls.
* Add DTrace 'proc' provider probes using the Statically Defined Tracejb2008-05-245-0/+144
| | | | (sdt) mechanism.
* Expand dump to allow MAX_INT dump levels.mckusick2008-05-244-23/+21
| | | | | PR: bin/100732 Submitted by: Matthew Vincenz <msvincen@midway.uchicago.edu>
* Leave out a couple of DTrace modules for now.jb2008-05-241-2/+0
|
* After converting the "snapshot" mount option to the MNT_SNAPSHOT flag,rodrigc2008-05-241-1/+8
| | | | | | | | | | | delete "snapshot" from the persistent mount options list. This should fix problems with doing a mount -o snapshot of a file system, followed by an NFS export of the same file system. PR: 122833 Reported by: Leon Kos <leon.kos lecad fs uni-lj si>, Jaakko Heinonen <jh saunalahti fi> MFC after: 1 month
* For the following mount options, do not perform the string to flag conversionsrodrigc2008-05-241-21/+0
| | | | | | | | | | | | | here, because we already do them further up in vfs_donmount() in vfs_mount.c async -> MNT_ASYNC force -> MNT_FORCE multilabel -> MNT_MULTILABEL noatime -> MNT_NOATIME noclusterr -> MNT_NOCLUSTERR noclusterw -> MNT_NOCLUSTERW MFC after: 1 month
* Do not convert the "snapshot" string to the MNT_SNAPSHOT flag here, sincerodrigc2008-05-231-2/+0
| | | | | | we do it further down in ffs_vfsops.c MFC after: 1 month
* When using dump to generate level 0 dumps which are then rsync'edmckusick2008-05-234-4/+51
| | | | | | | | | | | | to a remote machine, the fact that the dump date is stored with each header (inode) record makes rsync significantly less efficient than necessary. This also applies to inode access times when they are not important data to retain. When implementing an offsite backup solution of this type, these dates in particular are not important, especially if it prevents effective offsite backups. PR: bin/91049 Submitted by: Forrest W Christian <fwc@mt.net>
* Messing with the endian defines breaks the use of other FreeBSD headers.jb2008-05-231-44/+0
|
* Don't need to include vmem.h anymore.jb2008-05-231-1/+0
|
* Delete a couple of OpenSolaris headers which get in the way of ourjb2008-05-232-318/+0
| | | | implementation.
* OpenSolaris kernel module compatibility sources.jb2008-05-232-0/+165
|
* Hook the DTrace kernel modules into the build.jb2008-05-231-0/+21
|
* The cyclic code is in sys/cddl/dev/cyclic to be consistent withjb2008-05-231-2/+2
| | | | the other stuff.
* The cyclic timer device. This is a cut down version of the one injb2008-05-234-0/+1988
| | | | | OpenSolaris. We don't have the lock levels that they do, so this is just hooked into clock interrupts.
* Add the KDTRACE_HOOKS option for DTrace support.jb2008-05-231-0/+6
|
* Account for IPI_PREEMPT. We don't want to call sched_preempt() withmarcel2008-05-231-4/+10
| | | | interrupts disabled or with td_intr_nesting_level non-zero.
* Fix nits pointed out in PR bin/39905 that have not already beenmckusick2008-05-231-3/+3
| | | | | | corrected since it was filed. With this change the PR will be closed. PR: bin/39905
* Invalidate the TLB in pmap_cpu_bootstrap(), so that it also happensmarcel2008-05-231-1/+4
| | | | on the APs.
* Fix the build by including <sys/param.h> in <sys/clist.h>.ed2008-05-231-0/+2
| | | | | | | | | Of course I was silly enough to only check LINT for build failures, but not the userspace bits. In the mpsafetty branch I didn't notice this, because <sys/clist.h> never got included in userspace. Approved by: philip (mentor) Pointy hat to: me :-(
OpenPOWER on IntegriCloud