summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a potential panic in the SACK code that was causingjayanth2004-07-191-8/+29
| | | | | | | | | | | | 1) data to be sent to the right of snd_recover. 2) send more data then whats in the send buffer. The fix is to postpone sack retransmit to a subsequent recovery episode if the current retransmit pointer is beyond snd_recover. Thanks to Mohan Srinivasan for helping fix the bug. Submitted by:Daniel Lang
* Diff reduction to NetBSD.le2004-07-191-5/+6
| | | | | | | usbdi.c rev. 1.104, author: mycroft ugen_isoc_rintr() may recycle the xfer immediately. Therefore, we avoid touching the xfer after calling the callback in usb_transfer_complete(). From PR 25960.
* Diff reduction to NetBSD.le2004-07-192-4/+2
| | | | | | | | ehci.c rev. 1.69, author: mycroft uhci.c rev. 1.179, author: mycroft hcpriv is not actually used here. Remove references to it. Obtained from: NetBSD
* - Eliminate the pte object from the pmap. Instead, page table pages arealc2004-07-193-148/+63
| | | | | | | | | | | | | allocated as "no object" pages. Similar changes were made to the amd64 and i386 pmap last year. The primary reason being that maintaining a pte object leads to lock order violations. A secondary reason being that the pte object is redundant, i.e., the page table itself can be used to lookup page table pages. (Historical note: The pte object predates our ability to allocate "no object" pages. Thus, the pte object was a necessary evil.) - Unconditionally check the vm object lock's status in vm_page_remove(). Previously, this assertion could not be made on Alpha due to its use of a pte object.
* You always spot the typos after you have committed.. Start sentencejulian2004-07-191-1/+1
| | | | with a Cap.
* Allow the user who calls doadump() from the kernel debuggerjulian2004-07-191-2/+11
| | | | | | | | | | to not get a page fault if he has not defined a dump device. Panic can often not do a dump as it can hang forever in some cases. The original PR was for amd64 only. This is a generalised version of that change. PR: amd64/67712 Submitted by: wjw@withagen.nl <Willen Jan Withagen>
* Further function forward declaration white space tweaks.rwatson2004-07-191-14/+15
|
* Re-style at_control.c to bring it closer to style(9), primarily withrwatson2004-07-191-606/+594
| | | | | | regard to function prototypes and indentation. The lack of indentation in if clauses and case statements made this code extremely difficult to read.
* prgregset_t changed type from being a typedef of struct reg to anmarcel2004-07-191-1/+1
| | | | | array of one element of type struct reg. Change the argument to libc_r_md_getgregs() accordingly.
* As a temporary hack, turn off deferred preemptions that are the result ofjhb2004-07-193-0/+6
| | | | | | | a fast interrupt handler doing an swi_sched(). This fixed the lockups I saw on my laptop when using xmms in KDE and on rwatson's MySQL benchmarks on SMP. This will eventually be removed and/or modified when I figure out what the root cause is and fix that.
* Since breakage of malloc(9)/uma_zalloc(9) is totally non-optional ingreen2004-07-191-0/+6
| | | | | GENERIC/for WITNESS users, make sure the sysctl to disable the behavior is read-only and always enabled.
* Guard against argv[0] being NULL.kientzle2004-07-191-6/+11
| | | | Thanks to: Tim J Robbins
* Make it clearer what means 'won't work' for .if string == ${VAR}.harti2004-07-191-5/+12
| | | | | | | | | | | | | Replace the use of '=' in conditionals in the examples by the more correct '=='. Clarify the example explaining that .for expansion takes place before .if handling by showing the correct code instead of saying 'the other way around'. Change a variable name there so the example is more parseable to the human reader. PR: docs/65400 Submitted by: Roman Neuhauser <neuhauser@chello.cz>
* Avoid passing negative values to tolower() on machines with signed chars.tjr2004-07-191-1/+1
|
* Fix a typo that could provoke a panic or access to random memory.harti2004-07-191-1/+1
| | | | | PR: kern/67012 Submitted by: Zhenmin <zli4@cs.uiuc.edu>
* Make kdb_backtrace() sort of work.cognet2004-07-191-6/+9
|
* Enable libpthread build for powerpcgrehan2004-07-191-1/+1
|
* PPC MD bits for KSE. Runs test cases OK. Crippled to 1:1 mode forgrehan2004-07-1916-0/+1640
| | | | the time being.
* Add signalcontext, required by KSE.grehan2004-07-192-1/+104
|
* The new program counter should go into the trapframe's srr0 andgrehan2004-07-191-1/+1
| | | | not the link register, which was lucky enough to work.
* Sort sections.tjr2004-07-191-3/+3
|
* Move exit status information into a DIAGNOSTICS section. Add an ENVIRONMENTtjr2004-07-191-3/+15
| | | | | section. Re-add a sentence from the BUGS section that went missing in the previous commit.
* MFi386: revision 1.596.nyan2004-07-192-0/+6
|
* Add support for multibyte characters. While here, fix a longstanding bug intjr2004-07-192-59/+68
| | | | | the implementation of the -d option: we were skipping too many characters when a non-alphanumeric character was encountered.
* Point out in the BUGS section that look expects input files to havetjr2004-07-191-0/+7
| | | | been sorted with LC_COLLATE=C.
* Add a skeleton makefile that runs the tests out of libc/regex/grot.tjr2004-07-191-0/+11
|
* Oops, test error behaviour of wctrans(), not wctype().tjr2004-07-191-2/+2
|
* Update paths to reg*.c and regex2.h. Add a target to build regex.h.tjr2004-07-191-1/+3
|
* Update for removal of cclass.h. Trim some useless targets. Invoke mkhtjr2004-07-191-34/+6
| | | | with "sh mkh" so it works if the script is not executable.
* Update for recent changes to struct re_guts. Disable printing the contentstjr2004-07-191-38/+5
| | | | of OANYOF sets for the moment.
* Remove unused files.tjr2004-07-192-12/+0
|
* Forced commit to note that the previous commit message doesn't applydas2004-07-190-0/+0
| | | | | | to the ARM port. We set FLT_ROUNDS to -1 (indeterminate), because the rounding mode on ARM is static, i.e. part of the FP instruction format. Or at least that's my understanding.
* Today is a good day to add myself here :)glebius2004-07-191-0/+1
| | | | Approved by: julian (mentor)
* While testing fe[gs]etround(), make sure FLT_ROUNDS reflects thedas2004-07-191-0/+10
| | | | proper rounding mode as well.
* Make FLT_ROUNDS correctly reflect the dynamic rounding mode.das2004-07-1911-9/+102
|
* Fix two bugs in the signbit() macro, which was implemented last year:das2004-07-195-9/+31
| | | | | | | | - It was added to libc instead of libm. Hopefully no programs rely on this mistake. - It didn't work properly on large long doubles because its argument was converted to type double, resulting in undefined behavior.
* MFp4: Add two options for gnop(8)'s 'create' command:pjd2004-07-194-17/+85
| | | | | -o offset - specifies where to start on the original provider -s size - specifies size of the transparent provider
* Use the version field to identify the partial context used bygrehan2004-07-191-0/+1
| | | | KSE process-scope threads.
* Reimplement contigmalloc(9) with an algorithm which stands a greatly-green2004-07-194-63/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improved chance of working despite pressure from running programs. Instead of trying to throw a bunch of pages out to swap and hope for the best, only a range that can potentially fulfill contigmalloc(9)'s request will have its contents paged out (potentially, not forcibly) at a time. The new contigmalloc operation still operates in three passes, but it could potentially be tuned to more or less. The first pass only looks at pages in the cache and free pages, so they would be thrown out without having to block. If this is not enough, the subsequent passes page out any unwired memory. To combat memory pressure refragmenting the section of memory being laundered, each page is removed from the systems' free memory queue once it has been freed so that blocking later doesn't cause the memory laundered so far to get reallocated. The page-out operations are now blocking, as it would make little sense to try to push out a page, then get its status immediately afterward to remove it from the available free pages queue, if it's unlikely to have been freed. Another change is that if KVA allocation fails, the allocated memory segment will be freed and not leaked. There is a sysctl/tunable, defaulting to on, which causes the old contigmalloc() algorithm to be used. Nonetheless, I have been using vm.old_contigmalloc=0 for over a month. It is safe to switch at run-time to see the difference it makes. A new interface has been used which does not require mapping the allocated pages into KVA: vm_page.h functions vm_page_alloc_contig() and vm_page_release_contig(). These are what vm.old_contigmalloc=0 uses internally, so the sysctl/tunable does not affect their operation. When using the contigmalloc(9) and contigfree(9) interfaces, memory is now tracked with malloc(9) stats. Several functions have been exported from kern_malloc.c to allow other subsystems to use these statistics, as well. This invalidates the BUGS section of the contigmalloc(9) manpage.
* Add partial pmap locking.alc2004-07-192-0/+27
| | | | Tested by: marcel@
* Fix some misspellings, document the TAPE environmentkientzle2004-07-191-2/+16
| | | | variable and the default tape device.
* Add a #error requiring KDB if DDB is specified. (This can probably besilby2004-07-191-0/+3
| | | | relocated to a better place, if one exists.)
* Empty GENERIC.hints file needed by make release.grehan2004-07-191-0/+1
| | | | Noticed by: Suleiman Souhlal <refugee@segfaulted.com>
* This file was not used to import gdb. Remove.marcel2004-07-191-71/+0
|
* When calling scheduler entrypoints for creating new threads and processes,julian2004-07-188-43/+46
| | | | | | | | | | | specify "us" as the thread not the process/ksegrp/kse. You can always find the others from the thread but the converse is not true. Theorotically this would lead to runtime being allocated to the wrong entity in some cases though it is not clear how often this actually happenned. (would only affect threaded processes and would probably be pretty benign, but it WAS a bug..) Reviewed by: peter
* Now we have NO_ADAPTIVE_MUTEXES option, so use it here too.pjd2004-07-181-1/+1
| | | | Missed by: scottl
* Don't forget the arguments for -M and -N in the DESCRIPTION section.stefanf2004-07-181-2/+2
|
* Reverse a lock/unlock pair that were the wrong way around in some code thatjulian2004-07-181-2/+2
| | | | | | is obviously not run a lot. (but is in some test cases). This code is not usually run because it covers a case that doesn't happen a lot (removing a node that has data traversing it).
* Comment clarifying debug_mpsafenet.rwatson2004-07-181-4/+5
|
* Clarify boot.8 (i386 version) a bit, so that people knowsilby2004-07-181-2/+10
| | | | | | where boot.config needs to reside. Also change /kernel to /boot/loader, as that is the apparent default now. This man page probably requires more updates.
OpenPOWER on IntegriCloud