summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove include of opt_quota.h; as of revision 1.205 there is no longeremaste2008-03-101-1/+0
| | | | any #ifdef QUOTA conditional code.
* Remove XXX to remind me to check the free space calculation, which to myrwatson2008-03-101-3/+0
| | | | | | eyes appears right following a check. MFC after: 3 days
* Remove unused vc_tnode field from struct smb_vc.rwatson2008-03-101-1/+0
| | | | MFC after: 3 days
* Use .Fo/.Fc and .Xo/.Xc to bring the line widths below 79 columns.jkoshy2008-03-101-12/+70
| | | | | | Correct a typo [a misplaced comma]. Reviewed by: ru
* Use .Fo/.Fc and .Xo/.Xc to bring the line widths below 79 columns.jkoshy2008-03-104-17/+103
| | | | Reviewed by: ru
* Hook fifolog tools up to the build.phk2008-03-101-0/+1
| | | | To the extent make universe works, it hasn't found any fault with this.
* MFi386: revision 1.482.nyan2008-03-101-0/+1
| | | | | Import uslcom(4) from OpenBSD - this is a driver for Silicon Laboratories CP2101/CP2102 based USB serial adapters.
* Add reference to kldunloadf system call, which was previously notrwatson2008-03-102-1/+15
| | | | | | | mentioned in the kldunload(2) man page. MFC after: 3 days Spotted by: rink
* - Don't rely on a side effect of sched_prio() to set the initial ts_runqjeff2008-03-101-0/+1
| | | | | | | for thread0. Set it directly in sched_setup(). This fixes traps on boot seen on some machines. Reported by: phk
* - Handle kdb switch panics outside of mi_switch() to remove some instructionsjeff2008-03-101-6/+11
| | | | | | | from the common path and make the code more clear. Whether this has any impact on performance may depend on optimization levels. Sponsored by: Nokia
* Reduce ULE context switch time by over 25%.jeff2008-03-101-52/+52
| | | | | | | | | | | - Only calculate timeshare priorities once per tick or when a thread is woken from sleeping. - Keep the ts_runq pointer valid after all priority changes. - Call tdq_runq_add() directly from sched_switch() without passing in via tdq_add(). We don't need to adjust loads or runqs anymore. - Sort tdq and ts_sched according to utilization to improve cache behavior. Sponsored by: Nokia
* Tiny bit of KNF to make bus_setup_intr() look like the rest of thisimp2008-03-101-19/+18
| | | | function.
* - Add the missing '2' case to the switch table for kern.smp.topology andjeff2008-03-101-0/+4
| | | | | assign it to create the flat 'none' topology where all cpus are scheduled as if they are equal and unrelated.
* - Rather than repeating the same preemption code everywhere call the schedulerjeff2008-03-103-24/+4
| | | | specific sched_preempt() routine.
* - Add an implementation of sched_preempt() that avoids excessive IPIs.jeff2008-03-101-62/+72
| | | | | | | | | - Normalize the preemption/ipi setting code by introducing sched_shouldpreempt() so the logical is identical and not repeated between tdq_notify() and sched_setpreempt(). - In tdq_notify() don't set NEEDRESCHED as we may not actually own the thread lock this could have caused us to lose td_flags settings. - Garbage collect some tunables that are no longer relevant.
* - Add a sched_preempt() routine to be called by md code after IPI_PREEMPT isjeff2008-03-102-0/+12
| | | | | delivered. - Add a simple implementation to 4bsd.
* Improve convergence of bpf_filter.c toward style(9).rwatson2008-03-091-40/+29
| | | | | MFC after: 3 weeks Submitted by: csjp
* Add the fifolog tools to FreeBSD.phk2008-03-0921-0/+3132
| | | | | | | | | | Quoth the man-page: Fifologs provide a compact round-robin circular storage for recording text and binary information to permanent storage in a bounded and pre- dictable fashion, time and space wise. Not yet connected to the build, but feel free to test & review.
* - Fix some style bugs and remove another banal comment missed inmarius2008-03-091-10/+11
| | | | | | rev. 1.46. - Move the KASSERT on gem_add_rxbuf() to the right spot and add an equivalent one to gem_disable_tx().
* - Fix some style bugs.marius2008-03-091-48/+54
| | | | | | - Replace hard-coded functions names missed in rev. 1.44 with __func__. MFC after: 1 week
* - Do as the comment in pmap_bootstrap() suggests and flush all non-lockedmarius2008-03-097-19/+85
| | | | | | | | TLB entries possibly left over by the firmware and also do so while bootstrapping APs. - Use __FBSDID. MFC after: 1 month
* Teach gunzip that .tbz and .tbz2 uncompress to .tar, in a manner similar torwatson2008-03-091-0/+2
| | | | | | | | its existing understanding that .tgz uncompresses to .tar. MFC after: 3 days PR: 121519 Submitted by: Ighighi <ighighi at gmail.com>
* - Add myself.lippe2008-03-091-0/+5
| | | | Approved by: gabor (mentor)
* Padding after EOL option must be zeros according to RFC793 butbz2008-03-091-2/+10
| | | | | | | | | | | the NOPs used are 0x01. While we could simply pad with EOLs (which are 0x00), rather use an explicit 0x00 constant there to not confuse poeple with 'EOL padding'. Put in a comment saying just that. Problem discussed on: src-committers with andre, silby, dwhite as follow up to the rev. 1.161 commit of tcp_var.h. MFC after: 11 days
* Enhance realpath(1) in a number of ways:rwatson2008-03-092-7/+34
| | | | | | | | | | | | | - Allow realpath to accept multiple paths on the command line. - Add -q to suppress warnings if some paths can't be processed, and use getopt(3) to process flags. - Print the path being requested rather than a possibly partially processed path when a failure occurs so that you can tell which of several passed paths did fail. MFC after: 1 week PR: 112920 Submitted by: Ighighi <ighighi@gmail.com>
* Make chflags(1) more chmod(1)-like (and more feature complete):rwatson2008-03-092-17/+43
| | | | | | | | | | | | | | - Add -v to print file names as they are processed; -vv prints the flags change as well. - Add -f to ignore failures with the same semantics as chflags(1), neither printing an error nor affecting the return code. - Don't try to set the flags if they won't change. I made minor cosmetic tweaks to the code in the patch. MFC after: 1 week PR: 112827 Submitted by: Ighighi <ighighi at gmail.com>
* HZ now defaults to 1000 on many architectures, so update NOTES to reflectrwatson2008-03-091-9/+9
| | | | | | | | that. MFC after: 3 days PR: 113670 Submitted by: Ighighi <ighighi at gmail.com>
* MFV: tzdata2008aedwin2008-03-092-8/+33
| | | | | | | | | Notable changes: - Chilis DST has been extended for 3 weeks. - No leapsecond in 2008 Approved by: grog@ (mentor)
* Some PIIX4 chipsets need to be told to generate Stop Breaks by settingrpaulo2008-03-091-0/+20
| | | | | | | | | the appropriate bit in the DEVACTB register. This change allows the C2 state on those systems to work as expected. Reviewed by: njl Submitted by: Andriy Gapon <avg at icyb.net.ua> MFC after: 1 week
* Addition to the previous commit. Release inproc in case of memory error.mav2008-03-091-0/+1
|
* When gzipping to a target file, only set the source file flags on therwatson2008-03-091-4/+4
| | | | | | | | | target file after the timestamp has been set; otherwise setting the timestamp will fail if the flags don't permit it (i.e., uchg). MFC after: 1 week PR: 120208 Submitted by: Ighighi <ighighi at gmail.com>
* Eliminate an unnecessary test from vm_fault's delete-behind heuristic.alc2008-03-091-1/+1
| | | | | | | Specifically, since the delete-behind heuristic is never applied to a device-backed object, there is no point in checking whether each of the object's pages is fictitious. (Only device-backed objects have fictitious pages.)
* Document all the BUS_PROBE_* values.imp2008-03-091-1/+45
| | | | Note to the mdoc gods: This may need some teaks.
* Any driver that relies on its parent to set the devclass has no way toimp2008-03-092-1/+13
| | | | | | | | | know if has siblings that need an actual probe. Introduce a specail return value called BUS_PROBE_NOOWILDCARD. If the driver returns this, the probe is only successful for devices that have had a specific devclass set for them. Reviewed by: current@, jhb@, grehan@
* Don't use in32() and out32() when writing to the CCSRBAR. Themarcel2008-03-091-9/+26
| | | | | | in*() and out*() primitives should not be used, other than by ISA drivers. In this case they were used for memory-mapped I/O and were not even used in the spirit of the primitives.
* To avoid control data losses do not acknowledge recieving of control packetmav2008-03-081-54/+44
| | | | | | if netgraph reported error while delivering to destination. Reset 'next send' counter to the last requested by peer on ack timeout to resend all subsequest packets after lost one again without additional hints.
* Bump __FreeBSD_version for F_DUP2FD command to fcntl(2)antoine2008-03-081-1/+1
| | | | | Requested by: Craig Rodrigues Approved by: rwatson (mentor)
* Introduce a new F_DUP2FD command to fcntl(2), for compatibility withantoine2008-03-084-4/+115
| | | | | | | | | | | | Solaris and AIX. fcntl(fd, F_DUP2FD, arg) and dup2(fd, arg) are functionnaly equivalent. Document it. Add some regression tests (identical to the dup2(2) regression tests). PR: 120233 Submitted by: Jukka Ukkonen Approved by: rwaston (mentor) MFC after: 1 month
* Add some obsolete usr/lib32 libraries.antoine2008-03-081-0/+50
| | | | | | | PR: 117189 Submitted by: Scot Hetzel Approved by: rwatson (mentor) MFC after: 1 month
* Add some checks for amd64 target around usr/lib32 libraries, missed inantoine2008-03-081-0/+4
| | | | | | | previous commit. Approved by: rwatson (mentor) X-MFC: with revision 1.13
* Merge changes from NetBSD on humanize_number.c, 1.8 -> 1.13antoine2008-03-081-5/+10
| | | | | | | | | | | | | | Significant changes: - rev. 1.11: Use PRId64 instead of a cast to long long and %lld to print an int64_t. - rev. 1.12: Fix a bug that humanize_number() produces "1000" where it should be "1.0G" or "1.0M". The bug reported by Greg Troxel. PR: 118461 PR: 102694 Approved by: rwatson (mentor) Obtained from: NetBSD MFC after: 1 month
* "root" the include path so there is less duplication.obrien2008-03-081-16/+18
|
* Fix a mistake made during the import of the driver. Previous versions ofscottl2008-03-084-7/+7
| | | | | | | HPT drivers would sometimes test the value of a preprocessor definition but not always make sure that the definition existed in the first place, leading to warnings on newer compilers. I blindly assumed the same with this driver, and it turned out to be wrong and to enable some code that doesn't work.
* Use sbuf routines to construct core dump filenames rather than customrwatson2008-03-081-27/+22
| | | | | | | string buffer handling, making the code both easier to read and more robust against string-handling bugs. MFC after: 1 week
* Unlock the process lock when expand_name() fails, or we may leak therwatson2008-03-081-0/+1
| | | | | | process lock leading to a hang. This bug was introduced in kern_sig.c:1.351, when the call to expand_name() was moved earlier bit this particular error case was not updated.
* Improve handling of the tinybsd application wrt ports. Ports thatremko2008-03-081-53/+41
| | | | | | | | | have dependencies or need to install a new user/group, are not problematic anymore. PR: 121367 Submitted by: Richard Arends < richard at unixguru dot nl > MFC after: 3 days
* Fix typos.brueffer2008-03-081-2/+2
| | | | | | PR: 121486 Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> MFC after: 3 days
* Enable the D-cache and I-cache when not already enabled.marcel2008-03-081-3/+28
| | | | | | | | | It so happens that U-Boot disables the D-cache when booting an ELF image, so this change makes sure we run with the D-cache enabled from now on. It shows too... While here, remove the duplicate definition of the hw.model sysctl.
* - Add my birthday entrylippe2008-03-081-0/+1
| | | | Approved by: gabor (mentor)
* Install manpage links for RB_PREV and RB_FOREACH_REVERSE.jasone2008-03-071-0/+2
|
OpenPOWER on IntegriCloud