summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a race condition in arena_ralloc() for shrinking in-place largejasone2008-02-171-25/+41
| | | | | | | | reallocation, when junk filling is enabled. Junk filling must occur prior to shrinking, since any deallocated trailing pages are immediately available for use by other threads. Reported by: Mats Palmgren <mats.palmgren@bredband.net>
* Remove support for lazy deallocation. Benchmarks across a wide range ofjasone2008-02-172-221/+4
| | | | | | | | allocation patterns, number of CPUs, and MALLOC_OPTIONS settings indicate that lazy deallocation has the potential to worsen throughput dramatically. Performance degradation occurs when multiple threads try to clear the lazy free cache simultaneously. Various experiments to avoid this bottleneck failed to completely solve this problem, while adding yet more complexity.
* Make sysctl_kern_arnd return a random buffer instead of a random long,antoine2008-02-171-6/+10
| | | | | | | | as it is expected by userland (stack protector guard setup for example). PR: 119129 Approved by: rwatson (mentor) MFC after: 1 month
* Only print sense data diagnostics if debugging is enabled with thegibbs2008-02-171-6/+12
| | | | AHD_SHOW_SENSE flag.
* Switch from conditionally dropping Giant in exit1() to asserting it iskris2008-02-171-6/+1
| | | | not held, which appears to be always true.
* Remove superfluous setting of the transport_version field of ourgibbs2008-02-171-1/+0
| | | | | path inquiry response - a likely holdover from the port of this code from the aic7xxx driver.
* Remove custom queue macros in Coda, replacing them with queue(9) tailqrwatson2008-02-174-105/+30
| | | | | | | | macros. The only semantic change was the need to add a vc_opened field to struct vcomm since we can no longer use the request queue returning to an uninitialized state to hold whether or not the device is open. MFC after: 1 month
* Remove namecache performance-tuning todo for Coda: we now use the FreeBSDrwatson2008-02-171-1/+0
| | | | | | name cache. MFC after: 1 month
* Hook up sinl(), cosl(), and tanl() to the build.das2008-02-172-7/+12
|
* Add implementations of sinl(), cosl(), and tanl().das2008-02-177-0/+367
| | | | Submitted by: Steve Kargl <sgk@apl.washington.edu>
* Documentation for sinl(), cosl(), and tanl().das2008-02-173-35/+46
|
* Add kernel functions for 128-bit long doubles. These could be improveddas2008-02-173-0/+239
| | | | | | a bit, but access to a freebsd/sparc64 machine is needed. Submitted by: bde and Steve Kargl <sgk@apl.washington.edu> (earlier version)
* Add kernel functions for 80-bit long doubles. Many thanks to Steve anddas2008-02-173-0/+264
| | | | | | | Bruce for putting lots of effort into these; getting them right isn't easy, and they went through many iterations. Submitted by: Steve Kargl <sgk@apl.washington.edu> with revisions from bde
* Add more pi for long doubles. Also, avoid storing multiple copiesdas2008-02-174-50/+154
| | | | of the pi/2 array, as it is unlikely to vary, except in Indiana.
* Advertise to CAM the ability of 790X controllers to negotiate informationgibbs2008-02-171-2/+3
| | | | unit transfers (packetized/U320 protocol) and QAS.
* Fix quoting for the dnsbl example -- m4 misparses quoted strings withgshapiro2008-02-171-1/+1
| | | | | | | | commas due to our deconstruction of the line in cf/feature/dnsbl.m4. PR: 120038 Submitted by: mattijs vreeling MFC after: 1 week
* Use better examples (and comment them out for safety).gshapiro2008-02-171-5/+12
| | | | | | PR: 118837 Submitted by: Matthew Seaman MFC after: 1 week
* Switch libmilter from select(2) to poll(2) so milters are not limitedgshapiro2008-02-171-0/+1
| | | | | | | | by the size of FD_SETSIZE. PR: 118824 Submitted by: vsevolod MFC after: 3 weeks
* Fix typo in comment.imp2008-02-171-1/+1
|
* MFp4 (e500):marcel2008-02-167-0/+817
| | | | | | | Add support for U-Boot. This uses the U-Boot API as developed by Rafal and which is (will be) part of U-Boot 1.3.2 and later. Credits to: raj@
* MFp4 (e500):marcel2008-02-1616-0/+1933
| | | | | | | Add support for U-Boot. This uses the U-Boot API as developed by Rafal and which is (will be) part of U-Boot 1.3.2 and later. Credits to: raj@
* Re-sort options. While here:marcel2008-02-161-5/+8
| | | | | | o remove COMPAT_FREEBSD5 o add INVARIANTS o add WITNESS
* Enable option WITNESS_SKIPSPIN by default.marcel2008-02-161-0/+1
|
* New release notes: AMD 6.1.5, awk 20071023, CVS 1.11.12, OpenPAMbmah2008-02-161-1/+13
| | | | | | Hydrangea. Updated release notes: ncurses 5.6-20080209.
* Create a thread to handle passive cooling for 1st zone which has _PSV,ume2008-02-161-19/+20
| | | | | | | | _TSP, _TC1 and _TC2. Contirmed by: "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko_at_verizon.net> Reviewed by: njl MFC after: 1 week
* Allow the user to override the current active cooling state if staterpaulo2008-02-161-1/+2
| | | | | | | | | | is currently TZ_ACTIVE_NONE. Submitted by: Andriy Gapon <avg at icyb.net.ua> Reviewed by: njl (mentor) Approved by: njl (mentor) Requested by: njl (mentor) MFC after: 3 days
* Skip validation of the C3 state if we disabled C3 by software (i.e.,rpaulo2008-02-161-1/+1
| | | | | | | | | | via quirk). Submitted by: Andriy Gapon <avg at icyb.net.ua> Reviewed by: njl (mentor) Approved by: njl (mentor) Requested by: njl (mentor) MFC after: 3 days
* Allow underscore in domain names while resolving. While having underscoredelphij2008-02-161-1/+2
| | | | | | | | | | is a violation of RFC 1034 [STD 13], it is accepted by certain name servers as well as other popular operating systems' resolver library. Bugs are mine. Obtained from: ume MFC after: 2 weeks
* - fix typodanger2008-02-151-1/+1
| | | | | Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> MFC after: 3 days
* Remove a superfluous line in run_interrupt_driven_config_hooks(),antoine2008-02-151-1/+0
| | | | | | | | next_entry is already initialized during TAILQ_FOREACH_SAFE(). PR: kern/119604 Approved by: rwatson (mentor) MFC after: 1 month
* - Make Disk_Names() behave as documented in libdisk(3): return an arrayantoine2008-02-151-5/+14
| | | | | | | | | | | of disk names, where you must free each pointer, as well as the array by hand. [1] - Destaticize "disks" in Disk_Names, it has no reasons to be static. PR: kern/96077 [1] PR: kern/114110 [1] MFC after: 1 month Approved by: rwatson (mentor)
* Bump __FreeBSD_version in order to signal introduction of lockmgr_args()attilio2008-02-151-1/+1
| | | | and LK_INTERNAL removal.
* - Introduce lockmgr_args() in the lockmgr space. This function performsattilio2008-02-155-64/+71
| | | | | | | | | | | the same operation of lockmgr() but accepting a custom wmesg, prio and timo for the particular lock instance, overriding default values lkp->lk_wmesg, lkp->lk_prio and lkp->lk_timo. - Use lockmgr_args() in order to implement BUF_TIMELOCK() - Cleanup BUF_LOCK() - Remove LK_INTERNAL as it is nomore used in the lockmgr namespace Tested by: Andrea Barberio <insomniac at slackware dot it>
* Add privilege PRIV_NNPFS_DEBUG for use with Arla/nnpfs. This privilegerwatson2008-02-151-1/+6
| | | | | | will authorize debugging system calls. MFC after: 1 month
* Add myself and the mentorship relation of des.olli2008-02-151-0/+2
| | | | Approved by: des (mentor)
* The possibly interruptible msleep in coda_call() means well, but isrwatson2008-02-151-1/+1
| | | | | | | | | | | | fundamentally fairly confused about how signals work and when it is appropriate for upcalls to be interrupted. In particular, we should be exempting certain upcalls from interruption, we should not always eventually time out sleeping on a upcall, and we should not be interrupting the sleep for certain signals that we currently are (including SIGINFO). This code needs to be reworked in the style of NFS interruptible mounts. MFC after: 1 month
* Spell replys as replies.rwatson2008-02-152-8/+8
| | | | MFC after: 1 month
* Reorder and clean up make_coda_node(), annotate weaknesses in therwatson2008-02-151-20/+25
| | | | | | implementation. MFC after: 1 month
* Sigh, the weak reference for ceill(), floorl() and truncl() was inbde2008-02-153-6/+10
| | | | | | | unreachable code due to a missing include. This kept arm and powerpc broken. Reported by: sam, grehan
* Teach the dump and minidump code to respect the maxioszie attribute ofscottl2008-02-156-8/+26
| | | | the disk; the hard-coded assumption of 64K doesn't work in all cases.
* Add open_to_operation, a security regression test that opens files withrwatson2008-02-142-0/+1263
| | | | | | | | | | various open flags and then tests various operations to make sure that they are properly constrained by open flags. Various I/O mechansms are tried, including aio if compiled into the kernel or loaded as a module. There's more to be done here but it's a useful start, running about 220 individual tests. This is in support of FreeBSD-SA-08:03.sendfile.
* No network addresses in the system isn't a good excuseyar2008-02-141-4/+4
| | | | | | | | | for rpcbind(8) to crash. The crash was due to a boolean variable initialized improperly. Besides fixing the initialization, pick a better name for the variable so that its meaning is clear and no more coding errors appear around it.
* Make netstat -rn more resilient to having the routing table change out fromjhb2008-02-141-19/+43
| | | | | | | | | | | under it while running. Note that this is still not perfect: - Try to do something intelligent if kvm_read() fails to read a routing table structure such as an rtentry, radix_node, or ifnet. - Don't follow left and right node pointers in radix_nodes unless RNF_ACTIVE is set in rn_flags. This avoids walking through freed radix_nodes. MFC after: 1 week
* Some language and mdoc style improvements.brueffer2008-02-141-5/+7
|
* On Montecito processors, the instruction cache is in fact notmarcel2008-02-142-0/+19
| | | | | | | | coherent with the data caches. Implement a quick fix to allow us to boot on Montecito, while I'm working on a better fix in the mean time. Commit made on Montecito-based Itanium...
* In the new order of things dictated by nmount(2), a read-only mountyar2008-02-141-3/+4
| | | | | | | | | | | | | | | | | | | | | is to be requested via a "ro" option. At the same time, MNT_RDONLY is gradually becoming an indicator of the current state of the FS instead of a command flag. Today passing MNT_RDONLY alone to the kernel's mount machinery will lead to various glitches. (See the PRs for examples.) Therefore mount the root FS with a "ro" option instead of the MNT_RDONLY flag. (Note that MNT_RDONLY still is added to the mount flags internally, by vfs_donmount(), if "ro" was specified.) To be able to pass "ro" cleanly to kernel_vmount(), teach the latter function to accept options with NULL values. Also correct the comment explaining how mount_arg() handles length of -1. PR: bin/106636 kern/120319 Submitted by: Jaakko Heinonen <see PR kern/120319 for email> (originally)
* Now that mxge supports MSI-X interrupts, reverse the logic and flaggallatin2008-02-142-8/+10
| | | | | | | | legacy interrupts rather than MSI as a special case. Prior to this commit, the interrupt handler was doing the slow handshaking with the device to ensure the legacy interrupt was lowered in both the legacy and MSI-X case. This handshaking was not required for MSI-X.
* Oops, the weak reference for ceill(), floorl() and truncl() was in thebde2008-02-146-12/+12
| | | | | | wrong file. This broke arm and powerpc. Reported by: grehan
* Don't attach to non Core CPUs. This is needed because on the PIII,rpaulo2008-02-141-0/+9
| | | | | | | querying the number of sensors returns > 0. PR: 120541 Approved by: njl (mentor)
* Use the expression fabs(x+0.0)+fabs(y+0.0) instad of a+b (where a isbde2008-02-142-8/+8
| | | | | | | | | | | | | | | | | | | | | | | |x| or |y| and b is |y| or |x|) when mixing NaN arg(s). hypot*() had its own foot shooting for mixing NaNs -- it swaps the args so that |x| in bits is largest, but does this before quieting signaling NaNs, so on amd64 (where the result of adding NaNs depends on the order) it gets inconsistent results if setting the quiet bit makes a difference, just like a similar ia64 and i387 hardware comparison. The usual fix (see e_powf.c 1.13 for more details) of mixing using (a+0.0)+-(b+0.0) doesn't work on amd64 if the args are swapped (since the rder makes a difference with SSE). Fortunately, the original args are unchanged and don't need to be swapped when we let the hardware decide the mixing after quieting them, but we need to take their absolute value. hypotf() doesn't seem to have any real bugs masked by this non-bug. On amd64, its maximum error in 2^32 trials on amd64 is now 0.8422 ulps, and on i386 the maximum error is unchanged and about the same, except with certain CFLAGS it magically drops to 0.5 (perfect rounding). Convert to __FBSDID().
OpenPOWER on IntegriCloud