summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove const type qualifier from a function- gcc4.2 doesn't accept it.mjacob2007-06-101-3/+3
| | | | Reviewed by: Ariff
* Initialize the dma tag's bounce_zone to NULL if we didn't allocate it.cognet2007-06-101-1/+2
|
* Remove /usr/X11R6 and subdirs.brueffer2007-06-101-18/+1
| | | | MFC after: 3 days
* Prefer device_printf over printfimp2007-06-102-36/+31
| | | | Eliminate cdce_unit from softc.
* Prefer device_printf over printf. Eliminate axe_unit as it is noimp2007-06-102-38/+32
| | | | longer required.
* Backout mess mistakenly committed with manpage update.ceri2007-06-101-0/+10
|
* Document SCTP support.ceri2007-06-102-12/+2
|
* Remove 'inline' qualifiers from functions which are not, in fact, inlines.mjacob2007-06-102-7/+7
|
* Cast the ioctl define to the type of the variable being switched on.mjacob2007-06-101-2/+2
|
* Remove unused variable.mjacob2007-06-101-2/+0
|
* Init timespec to zero fo quiesce warnings.mjacob2007-06-101-1/+1
|
* Quiesce warnings by initializing irql values to zero.mjacob2007-06-101-3/+3
|
* Ensure that newpath is always initialized, even for the error case.mjacob2007-06-101-0/+2
|
* Commit for Nate his "guidelines for submitting quirks".mjacob2007-06-101-2/+210
|
* The definition of CACHELINESIZE moved from <machine/cpu.h> tomarcel2007-06-101-1/+1
| | | | <machine/md_var.h>.
* Remove unused variable.mjacob2007-06-101-1/+0
|
* The new compiler can't quite follow the logic of has_stime andmjacob2007-06-101-1/+1
| | | | complains about using uninitialized tags in stime.
* Initialized ets to zero. This is arguably a gcc bug in that ets is alwaysmjacob2007-06-101-0/+2
| | | | | set to rts when timeout is non-NULL and then timevalid is set and ets is only checked later when timervalid is set.
* Complete an initialization to make gcc 4.2 happy.mjacob2007-06-101-0/+1
|
* Initialize devname.mjacob2007-06-101-0/+2
|
* Add ofw_bus_if.h as a dependency on sparc64. Without this sparc64 kernelkensmith2007-06-101-0/+4
| | | | | | | | builds had been succeeding if run serially but could fail if run in parallel because the bge module build might start before ofw_bus_if.h got created as part of the mainline kernel build. Diagnosis and patch by: ru
* Add a new physical memory allocator. However, do not yet connect italc2007-06-102-0/+741
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to the build. This allocator uses a binary buddy system with a twist. First and foremost, this allocator is required to support the implementation of superpages. As a side effect, it enables a more robust implementation of contigmalloc(9). Moreover, this reimplementation of contigmalloc(9) eliminates the acquisition of Giant by contigmalloc(..., M_NOWAIT, ...). The twist is that this allocator tries to reduce the number of TLB misses incurred by accesses through a direct map to small, UMA-managed objects and page table pages. Roughly speaking, the physical pages that are allocated for such purposes are clustered together in the physical address space. The performance benefits vary. In the most extreme case, a uniprocessor kernel running on an Opteron, I measured an 18% reduction in system time during a buildworld. This allocator does not implement page coloring. The reason is that superpages have much the same effect. The contiguous physical memory allocation necessary for a superpage is inherently colored. Finally, the one caveat is that this allocator does not effectively support prezeroed pages. I hope this is temporary. On i386, this is a slight pessimization. However, on amd64, the beneficial effects of the direct-map optimization outweigh the ill effects. I speculate that this is true in general of machines with a direct map. Approved by: re
* Fix a bug caming from the committing a pre-merge version of the patchattilio2007-06-101-0/+2
| | | | | | | instead than a post-merge version (respect to another rusage fix). Reported by: marcel Approved by: jeff(mentor)
* Work around an integer overflow in expression `3 * maxbufspace / 4',marcel2007-06-091-0/+7
| | | | | when maxbufspace is larger than INT_MAX / 3. The overflow causes a hard hang on ia64 when physical memory is sufficiently large (8GB).
* Synchronize the instruction cache after writing to memory. This ismarcel2007-06-091-1/+5
| | | | needed for breakpoints to work.
* Add kdb_cpu_sync_icache(), intended to synchronize instructionmarcel2007-06-0914-21/+70
| | | | | | caches with data caches after writing to memory. This typically is required to make breakpoints work on ia64 and powerpc. For those architectures the function is implemented.
* rufetch and calcru sometimes should be called atomically together.attilio2007-06-099-23/+47
| | | | | | | | | | This patch fixes places where they should be called atomically changing their locking requirements (both assume per-proc spinlock held) and introducing rufetchcalc which wrappers both calls to be performed in atomic way. Reviewed by: jeff Approved by: jeff (mentor)
* - Add myself.beech2007-06-092-0/+4
| | | | Approved by: sat (mentor)
* Make the handling of the tcp window explicit for the SYN_SENT caseandre2007-06-091-4/+10
| | | | | | | | | in tcp_outout(). This is currently not strictly necessary but paves the way to simplify the entire SYN options handling quite a bit. Clarify comment. No change in effective behavour with this commit. RFC1323 requires the window field in a SYN (i.e., a <SYN> or <SYN,ACK>) segment itself never be scaled.
* Remove some bogosity from the SYN_SENT case in tcp_do_segmentandre2007-06-091-6/+8
| | | | | | | | | | and simplify handling of the send/receive window scaling. No change in effective behavour. RFC1323 requires the window field in a SYN (i.e., a <SYN> or <SYN,ACK>) segment itself never be scaled. Noticed by: yar
* Since locking in kern/subr_prof.c is changed a bit, we need nomore ofattilio2007-06-092-3/+1
| | | | | | time_lock spinlock exported. Approved by: jeff (mentor)
* Don't send pure window updates when the peer has closed the connectionandre2007-06-091-1/+4
| | | | and won't ever send more data.
* The current rusage code show peculiar problems:attilio2007-06-096-48/+26
| | | | | | | | | | | | | | - Unsafeness on ruadd() in thread_exit() - Unatomicity of thread_exiit() in the exit1() operations This patch addresses these problems allocating p_fd as part of the process and modifying the way it is accessed. A small chunk of this patch, resolves a race about p_state in kern_wait(), since we have to be sure about the zombif-ing process. Submitted by: jeff Approved by: jeff (mentor)
* Propagate volatile qualifier to make gcc4.2 happy.mjacob2007-06-091-1/+1
|
* Handle a race condition on >2 core machines in tcp_timer() whenandre2007-06-091-2/+8
| | | | | | | | | a timer issues a shutdown and a simultaneous close on the socket happens. This race condition is inherent in the current socket/ inpcb life cycle system but can be handled well. Reported by: kris Tested by: kris (on 8-core machine)
* - Opps.. takes out debug printfs I accidentally left in :-(rrs2007-06-092-16/+0
|
* - fix send_failed notification contentsrrs2007-06-096-87/+99
| | | | | | | - Reorder send failed to be in correct order. - Fixed calulation of init-ack to be right off mbuf lengths instead of the precalculated value. This will fix one 64 bit platform issue.
* Adds support for SCTP.rrs2007-06-094-1/+719
|
* Make this compile.ru2007-06-091-1/+1
|
* Pointer to an ICMP header was getting left behind after doing a pullup.darrenr2007-06-091-0/+1
|
* Remove a comment I forgot to removematteo2007-06-091-1/+1
|
* Expand USB_ATTACH_SETUP inline.imp2007-06-092-8/+2
| | | | Kill devinfo stuff.
* Expand USB_ATTACH_SETUP inline + devinfo tweaksimp2007-06-091-2/+3
| | | | | # looks like there's a chance that uaudio might compile on otherBSD, so leave # those #defines alone as well as make this change in a compatible way.
* Remove devinfo junk.imp2007-06-0914-170/+11
| | | | | | Remove bogus bzero/memset Expand USB_ATTACH_SETUP Minor nits
* Remove lots of extra junk:imp2007-06-091-114/+2
| | | | | o other bsd defines, there's no way this would work there o devinfo junk
* Kill devinfo stuff. It is no longer needed.imp2007-06-095-43/+2
| | | | | | Kill bogus bzero as necessary. Minor tidy. Expand USB_ATTACH_SETUP inline where needed.
* Kill USB_MATCH_SETUP, since this is the only place it was used in the tree.imp2007-06-091-8/+2
| | | | While I'm here, kill devinfo junk.
* Try to set the data multiplexed feature, but don't care if there's animp2007-06-091-46/+28
| | | | | | | | | | | error doing so. It seems an increasing number of phones have this quirk, and we're not keeping up. There appears to be nothing bad that happens for non-quirked phones. Minor cleanups: o prefer device_printf over printf o kill devinfo stuff o minor other preening.
* The devinfo stuff has been moved up into the parent bus. There's noimp2007-06-099-53/+4
| | | | | | | need to do it at all anymore. Remove it from here. Expand USB_ATTACH_SETUP inline now that it is one line and we're moving away from the compat macros. Remove some bzero calls that turn out not be be necessary.
* Updated tests for changed features.grog2007-06-0924-10/+68
| | | | Submitted by: edwin@
OpenPOWER on IntegriCloud