summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Remove geom_enc.c, a superset of these functions are now available inphk2003-04-031-1/+0
| | | | <sys/endian.h>
* Commit a partial lazy thread switch mechanism for i386. it isn't as lazypeter2003-04-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as it could be and can do with some more cleanup. Currently its under options LAZY_SWITCH. What this does is avoid %cr3 reloads for short context switches that do not involve another user process. ie: we can take an interrupt, switch to a kthread and return to the user without explicitly flushing the tlb. However, this isn't as exciting as it could be, the interrupt overhead is still high and too much blocks on Giant still. There are some debug sysctls, for stats and for an on/off switch. The main problem with doing this has been "what if the process that you're running on exits while we're borrowing its address space?" - in this case we use an IPI to give it a kick when we're about to reclaim the pmap. Its not compiled in unless you add the LAZY_SWITCH option. I want to fix a few more things and get some more feedback before turning it on by default. This is NOT a replacement for Bosko's lazy interrupt stuff. This was more meant for the kthread case, while his was for interrupts. Mine helps a little for interrupts, but his helps a lot more. The stats are enabled with options SWTCH_OPTIM_STATS - this has been a pseudo-option for years, I just added a bunch of stuff to it. One non-trivial change was to select a new thread before calling cpu_switch() in the first place. This allows us to catch the silly case of doing a cpu_switch() to the current process. This happens uncomfortably often. This simplifies a bit of the asm code in cpu_switch (no longer have to call choosethread() in the middle). This has been implemented on i386 and (thanks to jake) sparc64. The others will come soon. This is actually seperate to the lazy switch stuff. Glanced at by: jake, jhb
* - Add the kern_umtx.c file to the build.jeff2003-04-011-0/+1
|
* - Add kern_thr.cjeff2003-04-011-0/+1
|
* - Add support for PAE and more than 4 gigs of ram on x86, dependent on thejake2003-03-301-0/+3
| | | | | | | | | | kernel opition 'options PAE'. This will only work with device drivers which either use busdma, or are able to handle 64 bit physical addresses. Thanks to Lanny Baron from FreeBSD Systems for the loan of a test machine with 6 gigs of ram. Sponsored by: DARPA, Network Associates Laboratories, FreeBSD Systems
* - Move driver to newbus.mdodd2003-03-291-1/+2
| | | | | | - Provide identify methods for EtherExpress and 3c507 cards; this means these cards no longer need wired configs. - Provide a detach method.
* Add MBUF_FRAG_TEST to NOTES.silby2003-03-291-0/+7
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* Add support for reading directly from file to userland buffer when thetegge2003-03-263-0/+16
| | | | | O_DIRECT descriptor status flag is set and both offset and length is a multiple of the physical media sector size.
* Add a new kernel option, MALLOC_MAKE_FAILURES, which compilesrwatson2003-03-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in a debugging feature causing M_NOWAIT allocations to fail at a specified rate. This can be useful for detecting poor handling of M_NOWAIT: the most frequent problems I've bumped into are unconditional deference of the pointer even though it's NULL, and hangs as a result of a lost event where memory for the event couldn't be allocated. Two sysctls are added: debug.malloc.failure_rate How often to generate a failure: if set to 0 (default), this feature is disabled. Otherwise, the frequency of failures -- I've been using 10 (one in ten mallocs fails), but other popular settings might be much lower or much higher. debug.malloc.failure_count Number of times a coerced malloc failure has occurred as a result of this feature. Useful for tracking what might have happened and whether failures are being generated. Useful possible additions: tying failure rate to malloc type, printfs indicating the thread that experienced the coerced failure. Reviewed by: jeffr, jhb
* Nuke options HTT infavor of machdep.hlt_logical_cpus tunable/sysctl.ps2003-03-262-2/+0
| | | | | | | | | | | | | | This keeps the logical cpu's halted in the idle loop. By default the logical cpu's are halted at startup. It is also possible to halt any cpu in the idle loop now using machdep.hlt_cpus. Examples of how to use this: machdep.hlt_cpus=1 halt cpu0 machdep.hlt_cpus=2 halt cpu1 machdep.hlt_cpus=4 halt cpu2 machdep.hlt_cpus=3 halt cpu0,cpu1 Reviewed by: jhb, peter
* Add the MBUF_FRAG_TEST option. When compiled in, this optionsilby2003-03-251-0/+1
| | | | | | | | | | allows you to tell ip_output to fragment all outgoing packets into mbuf fragments of size net.inet.ip.mbuf_frag_size bytes. This is an excellent way to test if network drivers can properly handle long mbuf chains being passed to them. net.inet.ip.mbuf_frag_size defaults to 0 (no fragmentation) so that you can at least boot before your network driver dies. :)
* Merge PC98 support.mdodd2003-03-251-1/+1
|
* Retire sys/pc98/pc98/spkr.cmdodd2003-03-241-1/+1
|
* - Consolidate smapi driver.mdodd2003-03-241-3/+2
| | | | | - Attach to nexus. - Use null{open,close}() instead of rolling our own.
* Add the 'vpd' and 'smbios' drivers. The 'smbios' driver is just amdodd2003-03-241-0/+2
| | | | stub right now.
* Use repo-copied files in sys/i386/bios.mdodd2003-03-241-5/+5
|
* Remove bitrot associated with `maxusers'.ru2003-03-221-3/+3
| | | | Submitted by: bde
* - Remove unused cache flushing routines. These will not necessary workjake2003-03-191-0/+2
| | | | | | | | | | | | | | | | | | | on future UltraSPARC cpus for which the data cache is not direct mapped. - Move UltraSPARC I and II (spitfire, blackbird, sapphire, sabre) specific functions to spitfire.c, and add cheetah.c for UltraSPARC III specific functions. Initially just cache flushing, but there are a few other functions that will need to move here. - Add an ipi handler for data cache flushing on UltraSPARC III. - Use function pointers to select the right cache flushing functions based on cpu_impl. With this it is possible to boot single user from an mfs root on UltraSPARC III systems, including spinning up secondary processors. There is currently no support for the host to pci bridge, and no documentation for it is publically available. Thanks to Oleg Derevenetz for providing access to a system with UltraSPARC III+ cpus.
* Missed in last commit: don't compile now non-existent geom_stats.cphk2003-03-181-1/+0
|
* o add crypto driver glue for using the new rndtest driver/module; this issam2003-03-112-1/+14
| | | | | | conditional in each driver on foo_RNDTEST being defined_ o bring HIFN_DEBUG and UBSEC_DEBUG out to be visible options; they control the debugging printfs that are set with hw.foo.debug (e.g. hw.hifn.debug)
* FIPS 140-2 rng data tester for h/w crypto devices. This driver periodicallysam2003-03-112-0/+2
| | | | | | | | | | | | | monitors the entropy data harvested by crypto drivers to verify it complies with FIPS 140-2. If data fails any test then the driver discards it and commences continuous testing of harvested data until it is deemed ok. Results are collected in a statistics block and, optionally, reported on the console. In normal use the overhead associated with this driver is not noticeable. Note that drivers must (currently) be compiled specially to enable use. Obtained from: original code by Jason L. Wright
* "Or" is expressed with 2 separate config lines.jake2003-03-101-1/+2
| | | | Reported by: Stijn Hoop <stijn@win.tue.nl>
* Fix device freeze to reduce output packet size.akiyama2003-03-092-0/+4
| | | | And make this value configurable by kernel config or sysctl.
* Note that MAJOR_AUTO is now the default if d_maj is not initialized. Thisphk2003-03-091-2/+3
| | | | | | | | is more robust and prevents the hijacking of /dev/console for the typical mistake. Remove unneeded MAJOR_AUTO uses, it is only needed explicitly now if the driver source has cross-branch compatibility to old releases.
* Update the DRM to latest from DRI CVS. This is approximately the versionanholt2003-03-091-2/+4
| | | | | | | included in XFree86 4.3, but includes some fixes. Notable changes include Radeon 8500-9100 support, PCI Radeon/Rage 128 support, transform & lighting support for Radeons, and vblank syncing support for r128, radeon, and mga. The gamma driver was removed due to lack of any users.
* Remove unimplemented IP-in-IPX encapsulation support (options IPTUNNEL).tjr2003-03-083-3/+0
|
* Remove ENABLE_VFS_IOOPT. It is a long unfinished work-in-progress.alc2003-03-062-16/+0
| | | | Discussed on: arch@
* Finish driving a stake through the heart of netns and the associatedpeter2003-03-053-17/+0
| | | | | | ifdefs scattered around the place - its dead Jim! The SMB stuff had stolen AF_NS, make it official.
* Duplicate more of options.i386 in this file since we can't seem to settlejhb2003-03-051-0/+1
| | | | on a notion of having MACHINE_ARCH common files that MACHINE files include.
* Make TTYHOG tunable.das2003-03-052-0/+4
| | | | Reviewed by: mike (mentor)
* Update netisr handling; Each SWI now registers its queue, and all queuejlemon2003-03-041-1/+0
| | | | | | | | | | drain routines are done by swi_net, which allows for better queue control at some future point. Packets may also be directly dispatched to a netisr instead of queued, this may be of interest at some installations, but currently defaults to off. Reviewed by: hsu, silby, jayanth, sam Sponsored by: DARPA, NAI Labs
* Wrap the hyperthreading support code with the HTT kernel option.jhb2003-03-041-0/+1
| | | | | | Hyperthreading support is now off unless the HTT option is added. MFC-after: 3 days
* exists() is too aggressive when searching for files without a full path.ru2003-03-031-1/+1
| | | | Inspired by: bsd.prog.mk,v 1.105
* Leave the `clobber' target alone, it clobbers too much (includingru2003-03-031-3/+7
| | | | | | the generated Makefile) to be useful as the cleandir replacement. Reported by: des
* A cute yet small MAC policy that provides a simple ACL mechanism torwatson2003-03-023-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | permit users and groups to bind ports for TCP or UDP, and is intended to be combined with the recently committed support for net.inet.ip.portrange.reservedhigh. The policy is twiddled using sysctl(8). To use this module, you will need to compile in MAC support, and probably set reservedhigh to 0, then twiddle security.mac.portacl.rules to set things as desired. This policy module only restricts ports explicitly bound using bind(), not implicitly bound ports where the port number is selected by the IP stack. It appears to work properly in my local configuration, but needs more broad testing. A sample policy might be: # sysctl security.mac.portacl.rules="uid:425:tcp:80,uid:425:tcp:79" This permits uid 425 to bind TCP sockets to ports 79 and 80. Currently no distinction is made for incoming vs. outgoing ports with TCP, although that would probably be easy to add. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Abuse `cleandir' for what `clobber' was supposed to do, for peter.ru2003-03-021-1/+4
|
* Hopefully, obviate the need of ``make depend''.ru2003-02-281-1/+1
|
* Initiate the de-orbit burn sequence for <bsd.kern.mk>.ru2003-02-282-2/+2
| | | | | | | | | Always use sys/conf/kern.mk when building kernel/modules. <bsd.kern.mk> is only preserved for sys/boot/pc98/boot2 for now, but this will be fixed. If there are other users of <bsd.kern.mk>, please let me know. Reminded by: bde
* Standardize handling of locore.[sS] etc. files.ru2003-02-2816-55/+16
| | | | Submitted by: jake, bde, ru
* GC the major number for the network entries.mux2003-02-281-1/+0
|
* 86 ufm: it now uses MAJOR_AUTO.imp2003-02-281-2/+0
|
* NO_GEOM cleanup:phk2003-02-281-1/+0
| | | | | | Convert to "struct disk *" centric API. OK'ed by: sos
* Retire #3: wd.phk2003-02-281-1/+0
|
* Attempt to mark the majors which are used by drivers checked into thephk2003-02-281-108/+112
| | | | CVS tree.
* Sync with bsd.kern.mk.jake2003-02-281-0/+9
| | | | Reminded by: bde
* pccard isn't picky about WHAT major it gets.imp2003-02-281-1/+0
|
* Use MAJOR_AUTO. GC statically assigned majors.jake2003-02-281-2/+0
|
* - Removed various cruft from before we had a hosted toolchain (!).jake2003-02-271-15/+0
| | | | | - Moved special compiler flags to bsd.kern.mk so they get used for modules too.
* Include majors.o in SYSTEM_OBJS to make sparc64 kernels link. This is ajake2003-02-271-1/+1
| | | | quick fix while I work on a better solution.
* Update the comment to reflect new reality.phk2003-02-271-15/+6
| | | | GC more entries.
OpenPOWER on IntegriCloud