summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove trailing whitespace.des2004-01-251-24/+24
|
* Replace description of the mutex profiling code with a reference todes2004-01-251-20/+2
| | | | the newly committed manual page.
* Add more implentation notes based on the comments in sys/conf/NOTES.des2004-01-251-0/+14
|
* Fixed a bug that previous revision has introduced -- we missedru2004-01-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the double quotes ("" and '') as a separate argument. Reported by: ache The fix in this and previous revisions combined is functionally equivalent to the below patch against rev. 1.27 but the code is now much easier to follow: %%% Index: str.c =================================================================== RCS file: /home/ncvs/src/usr.bin/make/str.c,v retrieving revision 1.27 diff -u -r1.27 str.c --- str.c 28 Oct 2002 23:33:57 -0000 1.27 +++ str.c 25 Jan 2004 12:09:21 -0000 @@ -168,7 +168,7 @@ inquote = (char) ch; /* Don't miss "" or '' */ if (start == NULL && p[1] == inquote) { - start = t + 1; + start = t; break; } } %%%
* Add a cross-reference to MUTEX_PROFILING(9).des2004-01-251-0/+1
|
* Add a manual page for the mutex profiling code.des2004-01-252-0/+142
|
* I don't normally use my middle name, so remove it from attributions indes2004-01-2510-15/+15
| | | | | man pages (though not from copyright notices). While I'm here, add email addresses where appropriate.
* Dhclient dumps core on suspend/resume cycles. If the client isn't activembr2004-01-251-4/+9
| | | | | | | | | then we need to go to the reboot state or in state_bound it will core on the de-reference of client -> active -> options since client -> active = NULL. While we are here, fix the indentation. Submitted by: Doug Ambrisko <ambrisko@ambrisko.com>
* Move LongRun support out of identcpu.c, where it hardly belongs, into itssobomax2004-01-253-263/+311
| | | | | | | | own file and make it opt-in, not mandatory, depending on CPU_ENABLE_LONGRUN config(8) option. Discussed with: nate MFC after: 2 weeks
* Move LongRun support out of identcpu.c, where it hardly belongs, into itssobomax2004-01-251-0/+1
| | | | | | | | | | | | | own file and make it opt-in, not mandatory, depending on CPU_ENABLE_LONGRUN config(8) option. PR: Submitted by: Reviewed by: Approved by: Obtained from: Discussed with: nate MFC after: 2 weeks
* - sched_strict has been dead for a long time now. Get rid of it.jeff2004-01-251-3/+0
|
* - Clean up KASSERTS.jeff2004-01-251-4/+4
|
* - Correct function names listed in KASSERTs. These were copied from otherjeff2004-01-251-10/+11
| | | | code and it was sloppy of me not to adjust these sooner.
* - Now that both schedulers support temporary cpu pinning use this ratherjeff2004-01-251-77/+17
| | | | | | | | | | | than the switchin functions to guarantee that we're operating with the correct tlb entry. - Remove the post copy/zero tlb invalidations. It is faster to invalidate an entry that is known to exist and so it is faster to invalidate after use. However, some architectures implement speculative page table prefetching so we can not be guaranteed that the invalidated entry is still invalid when we re-enter any of these functions. As a result of this we must always invalidate before use to be safe.
* - Implement cpu pinning and binding. This is acomplished by keeping a per-jeff2004-01-251-12/+128
| | | | | | cpu run queue that is only used for pinned or bound threads. Submitted by: Chris Bradfield <chrisb@ation.org>
* - Use a unique string for the sched_setup SYSINIT and rename sched_setup tojeff2004-01-251-3/+3
| | | | synch_setup. The schedulers use the sched_setup function name.
* - Compile 4BSD in LINT since ULE will be tested by GENERIC kernel builds.jeff2004-01-251-2/+2
| | | | | | | - Fix the formatting on the ULE options line, I didn't notice that a space was used normally. Reported by: bde
* Describe EOVERFLOW caseache2004-01-251-0/+9
|
* New release notes: SCHED_ULE default, cdboot buggy BIOS workaround,bmah2004-01-252-4/+80
| | | | | | | | dc(4) sparc64/OFW fix, sk(4) multicast fix, IPsec bugfix, ata(4) bugfixes, GEOM fix, NFSv4 panic fix, NSS large groups fix, CVS security fix. Most (but not all) of these are 5.2-RELEASE errata items.
* MFi386 revision 1.230alc2004-01-251-1/+0
| | | | - Move smp_topology to subr_smp.c so that it is defined on all architectures.
* s/freebsd.org/FreeBSD.org/bmah2004-01-251-1/+1
|
* - Don't define DETECT_DEADLOCK. I don't know that this code has detectedjeff2004-01-251-1/+0
| | | | | | | a deadlock in several years. Furthermore, the IPI code is currently protected by a seperate spinlock. This only served to make IPIs twice as expensive as they had to be which severely slowed down the IPI heavy ULE scheduler.
* - Add a flags parameter to mi_switch. The value of flags may be SW_VOL orjeff2004-01-2516-48/+37
| | | | | | | | | | SW_INVOL. Assert that one of these is set in mi_switch() and propery adjust the rusage statistics. This is to simplify the large number of users of this interface which were previously all required to adjust the proper counter prior to calling mi_switch(). This also facilitates more switch and locking optimizations. - Change all callers of mi_switch() to pass the appropriate paramter and remove direct references to the process statistics.
* Add some basic support for measuring sleep mutex contention to therwatson2004-01-252-5/+42
| | | | | | | | | | | | | | | | | | | | | | mutex profiling code. As with existing mutex profiling, measurement is done with respect to mtx_lock() instances in the code, as opposed to specific mutexes. In particular, measure two things: (1) Lock contention. How often did this mtx_lock() call get made and have to sleep (or almost sleep) waiting for the lock. This helps identify the "victims" of contention. (2) Hold contention. How often, while the lock was held by a thread as a result of this mtx_lock(), did another thread try to acquire the same mutex. This helps identify the causes of contention. I'm currently exploring adding measurement of "time waited for the lock", but the current implementation has proven useful to me so far so I figured I'd commit it so others could try it out. Note that this increases the size of mutexes when MUTEX_PROFILING is enabled, so you might find you need to further bump UMA_BOOT_PAGES. Fixes welcome. The once over: des, others
* Correct KASSERT() in ndis_destroy(): ndis_mtx is a pointer now.wpaul2004-01-251-1/+4
| | | | Also add KASSERT() for ndis_intrmtx().
* Add Sandberg USB to Serial Link (model number 133-08) to the list ofsimon2004-01-241-0/+2
| | | | | | supported devices. MFC after: 1 week
* Deal with MOD_FREQUENCY before MOD_OFFSET because the latter is thephk2004-01-241-6/+6
| | | | | | one which runs the actual update. This fixes a bug where there were a delay in applying the frequency adjustment. In extreme cases this could result in marginal stability of the kernel-pll.
* - Remove local changes that leaked into my last commit.jeff2004-01-241-5/+1
| | | | Spotted by: juli
* - Recruit some new ULE users by making it the default scheduler in GENERIC.jeff2004-01-247-8/+12
| | | | | ULE will be in a probationary period to determine whether it will be left as the default in 5.3 which would likely mean the rest of the 5.x series.
* - ULE is not exactly experimental anymore. Change some comments and enablejeff2004-01-241-5/+5
| | | | it in LINT.
* 1. Statically initialize swap_pager_full and swap_pager_almost_full to thealc2004-01-241-2/+6
| | | | | | | | | | | full state. (When swap is added their state will change appropriately.) 2. Set swap_pager_full and swap_pager_almost_full to the full state when the last swap device is removed. Combined these changes eliminate nonsense messages from the kernel on swap- less machines. Item 2 submitted by: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Prodding by: phk
* Regen after rev. 1.161 of usbdevs.sobomax2004-01-242-2/+11
|
* Add support for Crystalfontz CFA-631 USB LCD (uftdi(4) driver).sobomax2004-01-242-1/+6
| | | | | | | | | For some very unclear reason this device contains a FTDI 8U232AM USB->COM adapter, but reports different device id than original 8U232AM. At the same time, it reports vendor id of FTDI. Sponsored by: Porta Software Ltd MFC after: 2 weeks
* - Move performance-controlling sysctls into hw.p4tcc.* tree;sobomax2004-01-242-26/+36
| | | | | | | | | | Suggested by: nate - get rid of "magick" values in code and make sysctl's reflecting reality on processor versions which have one or another frequency "forbidden" due to errata. MFC after: 2 weeks
* - Move performance-controlling sysctls into hw.p4tcc.* tree;sobomax2004-01-241-1/+1
| | | | | | | | | | | | | | | Suggested by: nate - get rid of "magick" values in code and make sysctl's reflecting reality on processor versions which have one or another frequency "forbidden" due to errata. PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: 2 weeks
* Move the test used to determine whether IPFilter is loaded or notmux2004-01-241-2/+11
| | | | into its own function to avoid a small duplication of code.
* Rename the makefile variable MIBS to BMIBS so that it does notharti2004-01-241-3/+3
| | | | conflict with the environment variable MIBS that is used by net-snmp.
* Rename the MIBS makefile variable to BMIBS so that it does not conflictharti2004-01-244-8/+8
| | | | with the environment variable MIBS that is used by net-snmp.
* - Move smp_topology to subr_smp.c so that it is defined on all architectures.jeff2004-01-242-1/+1
|
* o Pass a correct argument to errx(3).maxim2004-01-241-1/+1
| | | | | | PR: bin/61846 Submitted by: Eugene Grosbein MFC after: 1 week
* Instead of bogusly complaining about odd file names, handle them properlydes2004-01-241-11/+27
| | | | | | by escaping all suspicious characters. MFC after: 3 days
* Try to apply consistent indentation.des2004-01-241-20/+19
|
* Include the hostname in the history file.des2004-01-241-2/+3
|
* Add PFIL_HOOKS to the GENERIC kernel configuration, primarily sonectar2004-01-247-0/+7
| | | | | | that one can load the IPFilter module (which requires PFIL_HOOKS). Requested by: Many, for over a year
* Bump the date.des2004-01-242-2/+2
|
* Bump version number to reflect the addition of cvsup support.des2004-01-242-2/+2
|
* Ignore incomplete logs when figuring out what branches and platformsdes2004-01-241-1/+1
| | | | to display.
* I won't be using stanley any more.des2004-01-242-14/+1
|
* Drop RELENG_5_1 due to lack of resources.des2004-01-241-1/+1
|
* Add powerpc, which should build cleanly now.des2004-01-241-1/+1
|
OpenPOWER on IntegriCloud