summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The first (optional) argument of the "trace" command is either theru2006-10-301-5/+5
| | | | | | process or thread ID. PR: docs/61859
* Squash a typo.keramida2006-10-301-1/+1
| | | | Submitted by: Miltiadis Margaronis <mmargaron@gmail.com>
* Hook acpi_aiboost module to build.takawata2006-10-301-2/+2
|
* Add conf file entries for acpi_aiboost drivers.takawata2006-10-302-0/+4
|
* Driver for some ASUS desktop motherboard extras.takawata2006-10-302-0/+349
| | | | | | | | | | | Though it is named after overclocking tool for ASUS motherboards, it is not capable to change clock ratio or CPU core voltage. This driver exports Templature, Power output voltage, Fan RPM under dev.acpi_aiboost.0.*. Descriptions for these values are set to sysctl describe, which can be get by sysctl -d.
* Be more reasonable when overwrite mode is specified while theredelphij2006-10-302-1/+8
| | | | | | | | | is hard links. Overwritting when links > 1 would cause data loss, which is usually undesired. Inspired by: discussion on -hackers@ Suggested by: elessar at bsdforen de Obtained from: OpenBSD
* Forced commit to denote that the third item of the previous commitmarius2006-10-300-0/+0
| | | | | | | | message should have read: - Remove the hw.dc_quick SYSCTL, which allowed to turn off the above mentioned optimization, as like the equivalent and already removed hw.sis_quick it existed for testing purposes only.
* Add the padding fields to 'struct proc' for the !KSE case that I missed.jb2006-10-291-0/+4
| | | | Noticed by: pjd
* - Wrap code optimized for architectures without alignment constraintsmarius2006-10-291-16/+22
| | | | | | | | | | | | | | | | | | in #ifdef __NO_STRICT_ALIGNMENT rather than #ifdef __i386__. This means that amd64 now also uses the optimized code. [1] While at it, fix a nearby style(9) bug. - Remove the hw.dc_quick SYSCTL, which allowed to turn off the above mentioned optimization, as like the equivalent and already removed - In dc_setcfg() suppress printing a warning when forcing the receiver and transceiver to idle state times out for chips where the status bits in question just never change (observed in detail with DM9102A) and therefore the warning would be highly likely false positive. [2] - In dc_ifmedia_sts() add a missing DC_UNLOCK(). Tested by: Hans-Joerg Sirtl on amd64 [1] PR: 82681 [2] Obtained from: NetBSD tlp(4) [2] MFC after: 1 week
* Wrap code optimized for architectures without alignment constraintsmarius2006-10-291-6/+5
| | | | | | | in #ifdef __NO_STRICT_ALIGNMENT rather than #if defined(__i386__) || defined(__amd64__). Currently this change is cosmetic only though. While at it, fix a nearby style(9) bug and remove a no longer used header.
* Retire the failed OBSOLETE_IN_6 experiment code.imp2006-10-291-6/+0
|
* Add missing headers.marius2006-10-291-0/+1
|
* Because the BTX mini-kernel now uses flat memory mode and clientsru2006-10-295-10/+10
| | | | | | | | | | | | | | | | are no longer limited to a virtual address space of 16 megabytes, only mask high two bits of a virtual address. This allows to load larger kernels (up to 1 gigabyte). Not masking addresses at all was a bad idea on machines with less than >3G of memory -- kernels are linked at 0xc0xxxxxx, and that would attempt to load a kernel at above 3G. By masking only two highest bits we stay within the safe limits while still allowing to boot larger kernels. (This is a safer reimplmentation of sys/boot/i386/boot2/boot.2.c rev. 1.71.) Prodded by: jhb Tested by: nyan (pc98)
* regen after linux_io_* backoutnetchild2006-10-296-94/+16
|
* Backout the linux aio stuff. Several problems where identified and thenetchild2006-10-2910-1465/+11
| | | | | | | | | | | | | | | dynamic nature (if no native aio code is available, the linux part returns ENOSYS because of missing requisites) should be solved differently than it is. All this will be done in P4. Not included in this commit is a backout of the changes to the native aio code (removing static in some places). Those changes (and some more) will also be needed when the reworked linux aio stuff will reenter the tree. Requested by: rwatson Discussed with: rwatson
* Do not try to rtsol on pflog or pfsync devices.mlaier2006-10-291-1/+1
|
* - Use non-recursive mutex. MTX_RECURSE is unnecessary since rev. 1.70oleg2006-10-291-34/+31
| | | | | | | | | | | | - Pay respect to net.isr.direct: use netisr_dispatch() instead of ip_input() Reviewed by: glebius, rwatson - purge_flow_set(): - Do not leak memory while purging queues which are not bound to pipe. - style(9) cleanup MFC after: 2 months
* style(9)netchild2006-10-291-0/+1
| | | | Noticed by: rwatson
* Removed some SMP ifdefs so that using the TSC as a cputime clock isbde2006-10-292-19/+15
| | | | | | | | | | | | | | | not completely decided at config time. Just don't default to using the TSC if there are multiple active CPUs. Also, don't default to using the TSC if it is broken. SMP ifdefs are still used to disallow using perfmon since perfmon is always broken if SMP is just configured. This only helps much for SMP kernels running on 1 CPU. The overheads for using the i8254 cputime clock were a bit too high on 486/33's, and now on multi-GHz CPUs they are usually in the 99-99.9% range. Switching from the old default of an i8254 clock to the TSC works poorly because the overheads are not recalibrated. Use the same condition for declaring perfmon stuff as for using it.
* Refactor vfs_setdirty(), creating vfs_setdirty_locked_object().alc2006-10-291-6/+16
| | | | | | Call vfs_setdirty_locked_object() from vfs_busy_pages() instead of vfs_setdirty(), thereby eliminating a second acquisition and release of the same vm object lock.
* Give rc.firewall a polish and a new method.phk2006-10-282-16/+117
| | | | | | | | | | | | Factor out the loopback setup Use "me" instead of hardcoded $ip where possible. Add "workstation" which protects just this machine with stateful firewalling. Put the variables for this in rc.conf. Submitted by: Flemming Jacobsen <fj@batmule.dk> Reviewed by: cperciva
* In bufdone_finish() restrict the acquisition and release of the pagealc2006-10-281-2/+8
| | | | | | queues lock to BIO_READ operations. Recent changes to the implementation of the per-page flags have eliminated the need for the page queues lock in the other cases.
* Fix style(9).netchild2006-10-281-29/+29
| | | | Noticed by: rwatson
* Backed out rev.1.10 (a special case for amd64). The amd64 mcount codebde2006-10-281-6/+0
| | | | never needed any frame pointers for itself.
* In the userland .mcount():bde2006-10-281-7/+5
| | | | | | | | | | | - Don't use a frame pointer. Our callers need a frame pointer, but we could only use one to support things that aren't supported. (These things are: - profiling of profiling - debugging of profiling. The core ENTRY() macro doesn't support forcing a frame pointer for debugging, so don't do more here.) - Ensure that we are in the text section and have normal alignment. - Use the normal syntax for `.type'.
* Add missing markup bits.ru2006-10-281-1/+3
| | | | Submitted by: Emil Mikulic
* regen (prctl addition)netchild2006-10-286-10/+18
|
* i386/include/profile.h:bde2006-10-282-10/+2
| | | | | | | | | | | | Fixed a syntax error for the (!__KERNEL && !__GNUCLIKE_ASM) case in rev.1.36. Apparently, this case has never been reached even by lint. Submitted by: stefanf {amd64,i386}/include/profile.h: In case the above case is actually reached, break it properly by providing null support that will fail at link time instead of a stub that gives wrong (null) profiling at runtime.
* MFP4:netchild2006-10-288-5/+123
| | | | | | | Implement prctl(). Submitted by: rdivacky Tested with: LTP
* o Fix incorrect function name (kobj_free -> kobj_delete).maxim2006-10-281-1/+1
| | | | | Obtained from: DragonFlyBSD MFC after: 1 week
* o Fix function name.maxim2006-10-281-1/+1
| | | | | Obtained from: DragonFlyBSD MFC after: 1 week
* MFP4:netchild2006-10-282-4/+4
| | | | | | | | | | Rename MAX_SAMPLE_RATES macro to OSS_MAX_SAMPLE_RATES. The old macro clashed with those used in other applications and libaries (ex: RtAudio). 4Front responded by updating their spec, so we will follow suit. Submitted by: ryanb Noticed by: pointyhat/kris
* Backout bogus checkin to HEADjfv2006-10-285-1504/+1708
| | | | Approved by: scottl
* In MCOUNT_OVERHEAD(label), actually use the `label' parameter. We werebde2006-10-282-2/+2
| | | | | still using the global label named "profil", and this worked accidentally because all callers use the same name.
* Document Soekris net48xx support.brueffer2006-10-281-2/+2
| | | | | PR: docs/104865 Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk>
* Cleaned up includes. <machine/profile.h> was unused. <machine/timerreg.h>bde2006-10-282-14/+5
| | | | | | | | was only used in the GUPROF case, so the messes to get its i386 prerequisites included shouldn't have been needed. Fixed some style bugs. Quote #error contents, and don't repeat an #error directive on amd64.
* Removed all traces of HIDENAME() in amd64 and i386 kernel code. Usingbde2006-10-284-39/+24
| | | | | | | | | | | | | | | | this used to be slightly cleaner than using ifdefs in a few places to support both a.out and elf, but using it now just causes messes and unportabilities. It seems to be impossible to implement the elf HIDENAME() portably in cpp (since token pasting of "." and <name> is invalid). */prof_machdep.c: - Removed all uses of CNAME(). CNAME() is easy enough to use in pure asm code, but using it in inline asm requires messy quoting. The core pure asm code has been hacked on more and all uses of CNAME() in it have already gone away. Just assume the elf convention here too. - Removed now-uneeded include of <machine/asmacros.h>. - Removed the workaround for a namespace conflict with this include.
* This is the merge of the Intel 6.2.9 driver. It provides all new shared code,jfv2006-10-285-1708/+1504
| | | | | new device support, and it is hoped a more stable driver for 6.2. RELEASE. This checkin was discussed and approved today by RE, scottl, jhb, and pdeuskar
* Don't call mexitcount or provide a stub mexitcount to call whenbde2006-10-274-24/+8
| | | | | | profiling is configured but high resolution profiling is not configured. Only functions in *.[Ss] called the stub, so efficiency was not significantly affected.
* - Convertoleg2006-10-271-5/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | net.inet.ip.dummynet.curr_time net.inet.ip.dummynet.searches net.inet.ip.dummynet.search_steps to SYSCTL_LONG nodes. It will prevent frequent wrap around on 64bit archs. - Implement simple mechanics for dummynet(4) internal time correction. Under certain circumstances (system high load, dummynet lock contention, etc) dummynet's tick counter can be significantly slower than it should be. (I've observed up to 25% difference on one of my production servers). Since this counter used for packet scheduling, it's accuracy is vital for precise bandwidth limitation. Introduce new sysctl nodes: net.inet.ip.dummynet. tick_lost - number of ticks coalesced by taskqueue thread. tick_adjustment - number of time corrections done. tick_diff - adjusted vs non-adjusted tick counter difference tick_delta - last vs 'standard' tick differnece (usec). tick_delta_sum - accumulated (and not corrected yet) time difference (usec). Reviewed by: glebius MFC after: 2 month
* Use separate thread for servicing dummynet(4).oleg2006-10-271-3/+32
| | | | | | | Utilize taskqueue(9) API. Submitted by: glebius MFC after: 2 month
* style(9) cleanup.oleg2006-10-271-330/+353
| | | | MFC after: 2 month
* Wording nits.trhodes2006-10-271-11/+7
|
* Remove member p_procscopegrp which is no longer used by libthr.davidxu2006-10-272-11/+0
|
* Add MPEG2-TS/HDV support to fwcontrol.imp2006-10-266-56/+464
| | | | | | Submitted by: Petr Holub" <hopet@ics.muni.cz> Clean up by: mi@ Pr: 98134
* Remove the KSE option now that it's in DEFAULTS on these arches/machines.jb2006-10-2611-11/+0
| | | | | | | | | The 'nooption' kernel config entry has to be used to turn KSE off now. This isn't my preferred way of dealing with this, but I'll defer to scottl's experience with the io/mem kernel option change and the grief experienced over that. Submitted by: scottl@
* Add 'options KSE' to the kernel config DEFAULTS on all arches/machinesjb2006-10-268-8/+24
| | | | | | | | | | | except sun4v. This change makes the transition from a default to an option more transparent and is an attempt to head off all the compliants that are likely from people who don't read UPDATING, based on experience with the io/mem change. Submitted by: scottl@
* Make KSE a kernel option, turned on by default in all GENERICjb2006-10-2662-242/+1348
| | | | | | | kernel configs except sun4v (which doesn't process signals properly with KSE). Reviewed by: davidxu@
* Adopt comments borrowed from aout_freebsd.c.ru2006-10-262-2/+2
|
* Restore support for -c and -d that were treacherously murdered inru2006-10-262-4/+8
| | | | | | | rev. 1.58. (This only costs us four bytes.) Prodded by: bde MFC after: 3 days
OpenPOWER on IntegriCloud