summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Turns out that building modules with the kernel opt files isimp2003-11-251-1/+0
| | | | | | | | | | | uncovering some interesting problems. Be conservative and effecitvely disable this by default. Interested parties may still define KERNBUILDDIR by hand to achive the same effect. I plan on referting this change after 5.2 is released, or sooner if the issues with building releases are resolved and re@ approves. Approved by: re@ (scottl, marcel)
* Move us into 5.2-BETAscottl2003-11-221-2/+2
|
* New major number:imp2003-11-211-0/+1
| | | | | | | | 185 ce Cronyx Tau-32 E1 adapter <rik@cronyx.ru> (likely unneeded for current, but required for older versions of FreeBSD). Approved by: re@ (scottl)
* Introduce tcp_hostcache and remove the tcp specific metrics fromandre2003-11-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | the routing table. Move all usage and references in the tcp stack from the routing table metrics to the tcp hostcache. It caches measured parameters of past tcp sessions to provide better initial start values for following connections from or to the same source or destination. Depending on the network parameters to/from the remote host this can lead to significant speedups for new tcp connections after the first one because they inherit and shortcut the learning curve. tcp_hostcache is designed for multiple concurrent access in SMP environments with high contention and is hash indexed by remote ip address. It removes significant locking requirements from the tcp stack with regard to the routing table. Reviewed by: sam (mentor), bms Reviewed by: -net, -current, core@kame.net (IPv6 parts) Approved by: re (scottl)
* o Remove @- from the ln and change it to a -sf. This was bogus, andimp2003-11-191-1/+1
| | | | | | | | | | | | regocnized as such at the time. Now that the other bogons in the tree have been fixed, we can remove this ugly kludge. o Remove stale/bogus opt_foo.h files. These are left over from by-gone resources. And they point to the need, yet again, to improve the build system so meta information is only in one place. Submitted by: ru Reviewed by: bde Approved by: re@ (jhb)
* Initial landing of SMP support for FreeBSD/amd64.peter2003-11-172-59/+42
| | | | | | | | | | | | | | | | - This is heavily derived from John Baldwin's apic/pci cleanup on i386. - I have completely rewritten or drastically cleaned up some other parts. (in particular, bootstrap) - This is still a WIP. It seems that there are some highly bogus bioses on nVidia nForce3-150 boards. I can't stress how broken these boards are. I have a workaround in mind, but right now the Asus SK8N is broken. The Gigabyte K8NPro (nVidia based) is also mind-numbingly hosed. - Most of my testing has been with SCHED_ULE. SCHED_4BSD works. - the apic and acpi components are 'standard'. - If you have an nVidia nForce3-150 board, you are stuck with 'device atpic' in addition, because they somehow managed to forget to connect the 8254 timer to the apic, even though its in the same silicon! ARGH! This directly violates the ACPI spec.
* Ignore errors on ln. This is a quick fix for the make depend twice inimp2003-11-171-1/+1
| | | | | a row being broken. A better filx will come as soon as I have time to analyse things more deeply.
* Copy ukbdmap.h rules from .i386.imp2003-11-171-0/+6
| | | | | | # maybe this should be in files. # This may fix sparc64 tinderbox. I'll kinow in a few hours.
* Make interrupt pipe interval time configurable.akiyama2003-11-162-0/+8
| | | | | | | - Add kernel options: {UPLCOM,UVSCOM}_INTR_INTERVAL - Add sysctl variables: 'hw.usb.{uplcom,uvscom}.interval' MFC after: 1 week
* As mentioned by warner, previous revision (opt_ddb.h) was just a fluke --green2003-11-161-3/+1
| | | | | | I'm having bad luck with different parts of the sys tree being checked out at slightly different times. Back it out, noting it doesn't cause harm in any case. Tinderbox also makes these things more fun.
* It appears opt_global.h may cause opt_ddb.h to be needed. Adding itgreen2003-11-161-1/+3
| | | | | with the full path on the command line like with -include opt_global.h currently unbreaks tinderbox.
* Fix the building of null module. In the DIAGNOSTICS case, we includeimp2003-11-161-0/+12
| | | | | | | | | | | opt_ddb.h. These changes expand green's work of including opt_global.h to prefer opt files in the kernel directory. Further refinement might be needed, but I think this is good. Note: While this is a step on the path to moving the meta information about modules into the config files, it doesn't actually do that. It just pulls in the opt files in a way that allows one to build 'generic' modules outside the tree.
* Implement Cx CPU idle states and updated throttling support.njl2003-11-151-0/+1
| | | | | | | | | | | | * Use the cpu_idle_hook() to do idling for C1-C3. * Use both _CST and the FADT to detect Cx states. * Use both _PTC and P_CNT for controlling throttling. * Add a notify handler to detect changes in _CST and _PSS * Call the _INI function for each processor if present. This will be done by ACPI-CA in the future. * Fix a bug on SMP systems where CPUs will attach multiple times if the bus is rescan. * Document new sysctls for controlling idling.
* MFi386: revision 1.201.nyan2003-11-151-6/+8
|
* Moved $FreeBSD$ to the beginning of the file.bde2003-11-141-6/+5
| | | | Improved wording in a nearby comment.
* Introduce ip_fastforward and remove ip_flow.andre2003-11-141-1/+1
| | | | | | | | | | | | | | | Short description of ip_fastforward: o adds full direct process-to-completion IPv4 forwarding code o handles ip fragmentation incl. hw support (ip_flow did not) o sends icmp needfrag to source if DF is set (ip_flow did not) o supports ipfw and ipfilter (ip_flow did not) o supports divert, ipfw fwd and ipfilter nat (ip_flow did not) o returns anything it can't handle back to normal ip_input Enable with sysctl -w net.inet.ip.fastforwarding=1 Reviewed by: sam (mentor)
* University of Michigan's Citi NFSv4 kernel client code.alfred2003-11-141-0/+9
| | | | Submitted by: Jim Rees <rees@umich.edu>
* Include opt_global.h in the modules build, when building from a normalgreen2003-11-142-0/+4
| | | | | | | | kernel build. This makes it possible for me not to get pissed off that random.ko crashes the system trying to rdtsc() when the i386/cpu.h support code decides it's okay to call that op when neither I386_CPU or I486_CPU is defined. I guess it also makes WITNESS/INVARIANTS defines get picked up by the modules.
* Add sbp_targ(4).simokawa2003-11-141-0/+1
|
* avoid module name conflict with opencrypto/rijndael.c.ume2003-11-121-1/+1
| | | | Reported by: tinderbox
* Modify the MAC Framework so that instead of embedding a (struct label)rwatson2003-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in various kernel objects to represent security data, we embed a (struct label *) pointer, which now references labels allocated using a UMA zone (mac_label.c). This allows the size and shape of struct label to be varied without changing the size and shape of these kernel objects, which become part of the frozen ABI with 5-STABLE. This opens the door for boot-time selection of the number of label slots, and hence changes to the bound on the number of simultaneous labeled policies at boot-time instead of compile-time. This also makes it easier to embed label references in new objects as required for locking/caching with fine-grained network stack locking, such as inpcb structures. This change also moves us further in the direction of hiding the structure of kernel objects from MAC policy modules, not to mention dramatically reducing the number of '&' symbols appearing in both the MAC Framework and MAC policy modules, and improving readability. While this results in minimal performance change with MAC enabled, it will observably shrink the size of a number of critical kernel data structures for the !MAC case, and should have a small (but measurable) performance benefit (i.e., struct vnode, struct socket) do to memory conservation and reduced cost of zeroing memory. NOTE: Users of MAC must recompile their kernel and all MAC modules as a result of this change. Because this is an API change, third party MAC modules will also need to be updated to make less use of the '&' symbol. Suggestions from: bmilekic Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Add an implementation of turnstiles and change the sleep mutex code to usejhb2003-11-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | turnstiles to implement blocking isntead of implementing a thread queue directly. These turnstiles are somewhat similar to those used in Solaris 7 as described in Solaris Internals but are also different. Turnstiles do not come out of a fixed-sized pool. Rather, each thread is assigned a turnstile when it is created that it frees when it is destroyed. When a thread blocks on a lock, it donates its turnstile to that lock to serve as queue of blocked threads. The queue associated with a given lock is found by a lookup in a simple hash table. The turnstile itself is protected by a lock associated with its entry in the hash table. This means that sched_lock is no longer needed to contest on a mutex. Instead, sched_lock is only used when manipulating run queues or thread priorities. Turnstiles also implement priority propagation inherently. Currently turnstiles only support mutexes. Eventually, however, turnstiles may grow two queue's to support a non-sleepable reader/writer lock implementation. For more details, see the comments in sys/turnstile.h and kern/subr_turnstile.c. The two primary advantages from the turnstile code include: 1) the size of struct mutex shrinks by four pointers as it no longer stores the thread queue linkages directly, and 2) less contention on sched_lock in SMP systems including the ability for multiple CPUs to contend on different locks simultaneously (not that this last detail is necessarily that much of a big win). Note that 1) means that this commit is a kernel ABI breaker, so don't mix old modules with a new kernel and vice versa. Tested on: i386 SMP, sparc64 SMP, alpha SMP
* cleanup rijndael API.ume2003-11-111-1/+1
| | | | | | | since there are naming conflicts with opencrypto, #define was added to rename functions intend to avoid conflicts. Obtained from: KAME
* Disable probing of HTT CPUs by default for the MP Table case. HTT CPUsjhb2003-11-112-0/+2
| | | | | | | | | should only be used if they are enabled in the BIOS. Now that we support enumerating CPUs using the ACPI MADT, any HTT machine using ACPI should respect the BIOS setting. For HTT machines with ACPI disabled in the kernel, the MPTABLE_FORCE_HTT kernel option can be used to try to probe HTT CPUs like have done in the past for the MP Table case. This option should only be enabled if HTT is enabled in the BIOS.
* Add a uart attachment/syscons keyboard driver for sun keyboards. In theoryjake2003-11-111-0/+1
| | | | | this will work with any uart backend, currently supported hardware uses either ns8250 or z8530.
* enable aes-xcbc-mac and aes-ctr, again.ume2003-11-101-3/+3
|
* Rename npx.c to fpu.c (it isn't an extension, its part of the corepeter2003-11-081-1/+1
| | | | architecture now).
* Fixed insertion sort errors in the opt_cpu.h section.bde2003-11-071-12/+10
| | | | | | | | Removed banal comments about ELAN*. Complain about ELAN* being misnamed instead (so that these options are not obviously related to a CPU and don't sort with CPU_ELAN). Complain about CPU_DISABLE_CMPXCHG being in the wrong namespace.
* Allow the ng_uni node (NgATM signalling layer) to be built into theharti2003-11-073-0/+11
| | | | kernel via options NGATM_UNI.
* Removed the garbage options DPT_ALLOW_MEMIO, HIFN_NO_RNG,bde2003-11-051-16/+0
| | | | | | IPFIREWALL_FORWARD, NTIMECOUNTER, OHCI_DEBUG, UGEN_DEBUG, UHCI_DEBUG, UHID_DEBUG, UHUB_DEBUG, UKBD_DEBUG, ULPT_DEBUG, UMASS_DEBUG, UMS_DEBUG, URIO_DEBUG and VINUM_AUTOSTART.
* Removed references to the garbage (and soon to be deleted) optionsbde2003-11-051-10/+0
| | | | DPT_ALLOW_MEMIO, IPFIREWALL_FORWARD and NTIMECOUNTER
* Fixed misformatting of the options lines for CD9660_ICONV,bde2003-11-051-25/+25
| | | | | | | | | DA_OLD_QUIRKS, DCONS_BUF_SIZE, DCONS_FORCE_CONSOLE, DCONS_FORCE_GDB, DCONS_POLL_HZ, DIRECTIO, HIFN_DEBUG, HIFN_RNDTEST, KSTACK_MAX_PAGES, LIBMBPOOL, MBUF_STRESS_TEST, MSDOSFS_ICONV, NETGRAPH_ATM_ATMPIF, NSWBUF_MIN, NTFS_ICONV, P1003_1B_SEMAPHORES, RAID_AUTOCONFIG, SCHED_4BSD, SOCKBUF_DEBUG, UBSEC_DEBUG, UBSEC_RNDTEST, UDF_ICONV, UVSCOM_DEFAULT_OPKTSIZE and WATCHDOG.
* Moved $FreeBSD$ to the beginning of the file.bde2003-11-051-10/+6
| | | | | | | | | | | Don't put the name of the file in a comment. $FreeBSD$ gives more than enough about the file's pathname. Fixed misdescription of the file. It isn't the whole unified Makefile... Moved the settings of WERROR and of the standard extra CFLAGS -finline-limit and -fno-strict-aliasing to a less wrong place. They were in the section for profiling.
* Hook the udf_iconv module up to the kernel build.scottl2003-11-053-0/+3
| | | | Submitted by: imura@ryu16.org
* Move the inline limit default variable to a per-arch place. For example,peter2003-11-043-2/+5
| | | | | | | the amd64 implementation of the pcpu macros is even more verbose than on i386 and that causes gcc to way overestimate the complexity of this 2-instruction macro. The other platforms can probably lower their default values.
* MFi386: revision 1.456nyan2003-11-041-3/+9
|
* MFi386: revision 1.200nyan2003-11-041-2/+2
|
* Add a "-f" flag for asf(8) which performs a search to find the each modulegreen2003-11-041-1/+1
| | | | | | | | | | | no matter where in the directory structure it may be. Use this and the "-k" flag in the generated gdbinit files so that the "getsyms" function in gdb requires no user intervention to run and will find every module if they're in the kernel build's module directory. This is still quite useful for cases where gdb knows that the path for some modules is /boot/kernel and others are in the object directory for /usr/src/sys/$ARCH/compile/kernel. Approved by: grog
* - Remove references to old interrupt and SMP code.jhb2003-11-031-3/+10
| | | | - Add entries for new interrupt and SMP code.
* - Remove APIC_IO option.jhb2003-11-031-2/+3
| | | | - Add NO_MIXED_MODE, DEV_ACPI, and DEV_APIC options.
* Put address handling, traffic descriptor handling and message encodingharti2003-11-031-0/+4
| | | | and decoding into the atmbase module when compiled directly into the kernel.
* Change /dev/soekris-errled to be /dev/led/error and make it conditionalphk2003-11-031-0/+1
| | | | | | | on CPU_SOEKRIS. Note the subtle change in semantfics for 'f%d' flash instruction and the new morse facility (see details in dev/led/led.c)
* Introduce new CPU_SOEKRIS option to tell soekris hardware from otherphk2003-11-032-0/+2
| | | | hardware based on similar chipsets.
* Free major#100phk2003-11-031-1/+0
|
* Change the reset video option to be positive (hw.acpi.reset_video).njl2003-11-011-1/+0
| | | | | | | | | | | | | Requested by: jhb Initialize the real mode stack. This is needed at least for the return address from the lcall. Requested by: takawata Fix style bugs in acpi_wakecode.S Requested by: bde Remove the kernel option now that we have the tunable.
* MFi386: revision 1.198.nyan2003-10-311-8/+8
|
* Fixup the sorting of some of the options. DISABLE_P* are still out ofjhb2003-10-301-8/+8
| | | | order to keep all of the opt_pmap.h options together.
* Alphabetical order for ACPI options broken by adding ACPI_NO_RESET_VIDEO.iwasaki2003-10-291-1/+1
| | | | | | Add short comment about ACPI_NO_RESET_VIDEO into NOTES. Pointed-out by: njl
* Add kernel option ACPI_NO_RESET_VIDEO as workaround for problemsiwasaki2003-10-291-0/+1
| | | | | (e.g. LCD white-out after resume) on some machine cased by re-initialize video BIOS code in acpi_wakecode.
* speedup stream socket recv handling by tracking the tail ofsam2003-10-282-0/+3
| | | | | | | the mbuf chain instead of walking the list for each append Submitted by: ps/jayanth Obtained from: netbsd (jason thorpe)
OpenPOWER on IntegriCloud