summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Despite whether threaded mode is turned on, always save thread'sdavidxu2003-06-042-8/+12
| | | | signal mask.
* Removed garbage:bde2003-06-041-3/+1
| | | | | | | - -elf in CFLAGS had no effect except to reduce portability. - -elf in LDFLAGS had even less effect, since LDFLAGS is not used. - -Wall in CFLAGS had no effect except to reduce portability and break overriding of WARNS, since the setting of WARNS implies -Wall.
* Move unifdef to the original section of the file.fanf2003-06-041-1/+1
|
* Compensate for decreasing the minimum retransmit timeout.hsu2003-06-041-2/+2
| | | | Reviewed by: jlemon
* MAINTAINER line moved to MAINTAINERS file.fanf2003-06-041-2/+0
|
* Copy the (normalized) MAINTAINER= entries from Makefile's and other sources,dougb2003-06-041-0/+104
| | | | and suggest consolidating them into this file instead.
* Remove MAINTAINER line in favor of the entry in src/MAINTAINERSdougb2003-06-041-2/+0
|
* Make C applications statically compiled with libthr work. Previously,mtm2003-06-041-0/+6
| | | | | | an application compiled -static with libthr would dump core in malloc(3) because the stub thread initialization routine in libc would be used instead of the libthr supplied one.
* If the library is not able to create a thread because resourcesmtm2003-06-041-0/+4
| | | | | | don't allow it at the moment, the correct thing to do is try again. Otherwise, libthr would fail this test because it doesn't allow an unlimited number of concurrent threads per application.
* - Add vm object locking to vm_object_deallocate(). (Still morealc2003-06-042-17/+15
| | | | | | changes are required.) - Remove special-case macros for kmem object locking. They are no longer used.
* Set CSTD to gnu99. We can only use on of the gnu?9 C languages.obrien2003-06-041-0/+1
| | | | We can't use c89 due to use of 'inline', and c99 produces bad code.
* Add instrumentation which tells us how much work softclock() doesphk2003-06-041-2/+26
| | | | per invocation.
* Give ia64 the exact same semantics as i386 with respect to non-512phk2003-06-041-1/+2
| | | | byte sector devices.
* Have the port readmes follow the same logic as buildworld. We skipmarcel2003-06-041-5/+5
| | | | | | | | doing make readmes if /tmp/.skip_ports exists. This file is created after a complete run, which avoids that we do the lengthy operation again for a rerelease. When NOPORTS or NOPORTREADMES are defined, we create the file prior to starting the release.
* Add id for TI's 1394b link chip.simokawa2003-06-042-0/+5
|
* Userspace prototypes for the extattr_list_*() system calls.rwatson2003-06-041-0/+6
|
* Document the BUG (feature) that you can pass in an empty name torwatson2003-06-041-1/+6
| | | | | | | | VOP_GETEXTATTR() to retrieve the attribute name list on some file systems, and note that this will be replaced with its own VOP in due course. Pointed out by: Dominic Giampaolo <dbg@apple.com>
* The vnode operations for extended attributes no longer suffer fromrwatson2003-06-041-4/+1
| | | | | the features (bugs) in the BUGS section related to querying the required buffer size, or telling if an overflow occured.
* Document the new explicit listing API for extended attributes; noterwatson2003-06-041-6/+32
| | | | | | | | | that the old API (passing "" as the attribute name to the _get_ interface) is now deprecated (and was probably a bad idea). Pointed out by: Dominic Giampaolo <dbg@apple.com> Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Implementations of extattr_list_fd(), extattr_list_file(), andrwatson2003-06-042-0/+286
| | | | | | | | | | | | | | | extattr_list_link() system calls, which return a least of extended attributes defined for a vnode referenced by a file descriptor or path name. Currently, we just invoke VOP_GETEXTATTR() since it will convert a request for an empty name into a query for a name list, which was the old (more hackish) API. At some point in the near future, we'll push the distinction between get and list down to the vnode operation layer, but this provides access to the new API for applications in the short term. Pointed out by: Dominic Giampaolo <dbg@apple.com> Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Regen from syscalls.master:1.149, addition of extended attributerwatson2003-06-045-7/+40
| | | | list system calls for fd, file, link.
* Add system calls to explicitly list extended attributes on arwatson2003-06-041-0/+6
| | | | | | | | | | | | | | | | | | file/directory/link, rather than using a less explicit hack on the extattr retrieval API: extattr_list_fd() extattr_list_file() extattr_list_link() The existing API was counter-intuitive, and poorly documented. The prototypes for these system calls are identical to extattr_get_*(), but without a specific attribute name to leave NULL. Pointed out by: Dominic Giampaolo <dbg@apple.com> Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* KMF_DONE is now in /sys/sys/kse.h, no longer need to define it here.davidxu2003-06-044-14/+0
|
* Fix ALIGNED_POINTER(). sizeof((u_int32_t)) is not legal C.peter2003-06-041-1/+1
|
* Unbreak ia64. 'nuff said.marcel2003-06-041-0/+4
|
* Change handling to support strong alignment architectures such as alpha andticso2003-06-044-23/+74
| | | | | | | | sparc64. PR: alpha/50658 Submitted by: rizzo Tested on: alpha
* Assert the vnode lock when returning successfully from vn_open_cred().rwatson2003-06-041-0/+1
|
* Remove un-needed code.julian2003-06-044-100/+56
| | | | | | | | Don't copyin() data we are about to overwrite. Add a flag to tell userland that KSE is officially "DONE" with the mailbox and has gone away. Obtained from: davidxu@
* Don't call sbp_do_attach() recursively after agent resetsimokawa2003-06-031-1/+1
| | | | while device probing.
* Allocate zeroed space for fwdev.simokawa2003-06-031-1/+2
|
* Open fwmem device exclusively.simokawa2003-06-031-0/+5
|
* Add a geom_vol_ffs module and hook up to the build.gordon2003-06-032-1/+10
|
* Add vm object locking to vm_object_coalesce().alc2003-06-031-7/+12
|
* Fix a potential bucket leak where when freeing to an empty bucketbmilekic2003-06-031-57/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we failed to put the bucket back into the general cache/container. Also, fix a bad assumption. There was a KASSERT() that aimed to guarantee that whenever the pcpu container's mc_starved was > 0, that whatever the bucket we were freeing to was an empty bucket, assuming it belonged to the pcpu container cache. However, there is at least one case where this is not true anymore; consider: 1) All containers empty, next thread to try to alloc will touch a pcpu container, notice it's empty, and increment the pcpu container's mc_starved. 2) Some other thread frees an mbuf belonging to a bucket in the general cache/container. Then it frees another mbuf belonging to the same bucket (still in gen container). 3) Some third thread tries to allocate an mbuf from the pcpu container and, since empty, grabs one mbuf now available in the general cache and moves the non-empty bucket from which it took 1 mbuf and to which the thread in (2) freed to, and moves it to the pcpu container. 4) A final thread tries to free an mbuf belonging to the NON-EMPTY bucket mentionned in (2) and (3) and, since the pcpu container's mc_starved is > 0, but the bucket is obviously non-empty, it trips on the KASSERT. This meant that one could potentially get a panic in some cases when out of mbufs and clusters. The problem could be mitigated by commenting out some cv_signal() calls, but I'm assuming that was pure coincidence and this is the correct fix.
* Bah, revert the previous commit for the time being due to inadequate testingjhb2003-06-031-6/+8
| | | | | | on my part. The output asm looks correct with the previous commit in place and it works on amd64, but on my laptop I got a spew of AE_BAD_PARAMETER errors trying to unlock the acpi global lock.
* Update MPILIB from code received from LSI. Make changes in the rest ofmjacob2003-06-039-159/+519
| | | | the driver based upon some somewhat gratuitous name changes.
* Make ed compile in the NOCRYPT case.jhay2003-06-031-0/+4
| | | | Reviewed by: markm
* Change fatal to warnx() for unknown encodingache2003-06-031-4/+2
|
* Fix the asm constraints so that we use the correct constants when acquiringjhb2003-06-031-8/+6
| | | | | | | | | and releasing ACPI global locks instead of (ab)using the pointers to those locks as the constants. Also, rather than require that the address of the lock be stored in a register, use a memory constraint allowing the memory address to be used directly. Noticed by: peter
* Mdoc: fix hard sentence breaks.hmp2003-06-031-35/+57
| | | | Approved by: des (mentor)
* Document that kldload(2) can also return EEXIST.hmp2003-06-031-0/+4
| | | | Approved by: des (mentor)
* Catch up with revs 1.49-1.50 of df.c: don't mention -t in the BUGS sectionbde2003-06-031-3/+1
| | | | since it has been fixed.
* Fixed exit code in previous commit. "var++" to set a flag to nonzerobde2003-06-031-5/+9
| | | | | | | | | | | | | | | | is a style bug at best. When the variable isn't a flag, it potentially overflows after a large number of settings. Here the number of settings is limited by ARG_MAX, but the variable is the exit code so it became bogus after the second setting and effectively overflowed to 0 after approx. 128 settings. Fixed some style bugs involving comments in and near previous commit. Clarification of previous commit message: df -t didn't give undefined behaviour, and the behaviour used to conform perfectly with the man page, since the buggy behaviour is documented in the BUGS section. -t just worked when no files or file systems were specified, and was just ignored if a file or file system was specified.
* Teach recent changes in the umtx structure in the kernel to the libthrmtm2003-06-031-1/+1
| | | | | | initialiazer. Found by: tinderbox
* Remove SI_SUB_VINUM. SI_SUB_RAID makes more sense.grog2003-06-031-3/+2
| | | | Submitted by: hmp
* The midway driver has been busdmaified and is not i386-specific anymore.harti2003-06-034-64/+18
| | | | | | | Repo-copy it from the i386 specific man4 section to the common one. Remove the i386 keyword from the man page header. Document the sysctl interface to the driver. Fix a spelling error (ALL -> AAL).
* - Remove the blocked pointer from the umtx structure.jeff2003-06-033-174/+164
| | | | | | | | - Use a hash of umtx queues to queue blocked threads. We hash on pid and the virtual address of the umtx structure. This eliminates cases where we previously held a lock across a casuptr call. Reviwed by: jhb (quickly)
* Don't deregister the kld on resetconfig, only when we're really readygrog2003-06-031-3/+3
| | | | | | | | | | to unload. This would cause a panic on the second resetconfig. Start Vinum at boot time at SI_SUB_RAID, not SI_SUB_VINUM. SI_SUB_VINUM was there first, but there's no real distinction, and SI_SUB_RAID is a more neutral name. Submitted by: hmp
* Free memory of internal low level lock when mutex and condition variabledavidxu2003-06-034-0/+18
| | | | | | are destroyed. Submitted by: tegge
* When scanning for changed containers, don't assume that the controllerscottl2003-06-031-7/+10
| | | | | | | will respond in a sane manner. Thanks to Petri Helenius <pete@he.iki.fi> for spotting this and pestering me to fix it.
OpenPOWER on IntegriCloud