summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* mdoc(7) police: markup nit.ru2002-12-231-1/+1
|
* mdoc(7) police: most -mdoc macros can take multiple arguments.ru2002-12-231-2/+1
|
* mdoc(7) police: markup nits.ru2002-12-231-2/+2
|
* mdoc(7) police: more `The .Nm utility' + markup nit.ru2002-12-231-5/+5
|
* mdoc(7) police: spelling, removed (scheduled again) hard sentence breaks.ru2002-12-231-4/+7
|
* mdoc(7) police: markup nits.ru2002-12-231-2/+4
|
* mdoc(7) police: grammar and spelling nits.ru2002-12-231-4/+4
|
* mdoc(7) police: markup fixes.ru2002-12-231-3/+5
|
* Added xref to syncache(4).ru2002-12-231-0/+1
|
* mdoc(7) police: markup and grammar fixes for previous delta.ru2002-12-231-6/+13
|
* rn_walktree*() compute the next leaf before applying a functionru2002-12-231-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to current leaves because function may vanish the current node. If parent RTA_GENMASK route has a clone (a "cloning clone"), an rn_walktree_from() starting from parent will cause another walk starting from clone. If a function is either rt_fixdelete() or rt_fixchange(), this recursive walk may vanish the leaf that is remembered by an outer walk (the "next leaf" above), panicing a system when it resumes with an outer walk. The following script paniced my single-user mode booted system: : sysctl net.inet.ip.forwarding=1 : ipfw add 1 allow ip from any to any : ifconfig lo0 127.1 : route add -net 10 -genmask 255.255.255.0 127.1 : telnet 10.1 # rt_fixchange() panic : telnet 10.2 : telnet 10.1 : route delete -net 10 # rt_fixdelete() panic For the time being, avoid these races by disallowing recursive walks in rt_fixchange() and rt_fixdelete(). Also, make a slight optimization in the rtrequest(RTM_RESOLVE) case: there is no reason to call rt_fixchange() in this case. PR: kern/37606 MFC after: 5 days
* A pile of patches, most notably some Doc policing by Hiten Pandya.dillon2002-12-231-117/+184
|
* Redo the initial rc_ng check to avoid rc.conf pollution occuring too early,dillon2002-12-231-14/+34
| | | | | | initdiskless may retarget /etc and various rc.conf files. The initial check is now done in a subshell. Reviewed by: Mike Makonnen <mtm@identd.net>
* Add development.7dillon2002-12-231-3/+4
| | | | Reminded by: Sean Kelly <smkelly@zombie.org>
* Avoid holding the vnode interlock around malloc() or free() to prevent aalc2002-12-231-2/+8
| | | | | | lock order reversal. Reviewed by: jeff
* Eliminate some dead code. (Any possible use for this code died withalc2002-12-231-4/+0
| | | | | | vm/vm_page.c revision 1.220.) Submitted by: bde
* Fix a De Morgan bug: If we only expect a memory range OR anmarcel2002-12-231-8/+8
| | | | | | | | | | I/O port range, then we should ignore a resource if it's NOT a memory range AND NOT an I/O port range. The OR in the condition caused us to ignore perfectly valid memory addresses. While here, remove redundant parenthesis and reindent the debug print to avoid long lines.
* - Fix a bug where the faulting address for an mmu miss could sometimes bejake2002-12-231-5/+5
| | | | | | clobbered due to some debug code. This was harmless and just superfluous soft faults. - Update some comments.
* - Rearrange pmap_bootstrap slightly to be more in dependency order.jake2002-12-221-50/+49
| | | | | | | - Put the kernel tsb before before the kernel load address, below VM_MIN_KERNEL_ADDRESS, instead of after the kernel where it consumes usable kva. This is magic mapped so the virtual address is irrelevant, it just needs to be out of the way.
* Forgot to add rcconf.sh to the Makefile, and forgot to rename rcconf todillon2002-12-222-1/+1
| | | | rcconf.sh in the last commit.
* Do not unconditionally load the configuration files for the RCNG case.dillon2002-12-229-285/+636
| | | | | | | | | | | | | | Instead, load them as part of the rc.d system. This allows us to prioritize the initidiskless script so it runs before the configuration files are loaded and allows us to get rid of the exit 2 hack in /etc/rc. The exit 2 never worked anyway since it did not unset the prior configuration, causing the diskless code to not operate properly. Do a major cleanup and revamping of the diskless code for RCNG. This will be backported to the non-RCNG scripts as well as -stable. With suggestions from: Mike Makonnen <mtm@identd.net> MFC after: 7 days
* Add suseconds_t and useconds_t for storing microseconds.mike2002-12-222-0/+13
|
* Use '\033' rather than '\e' as the latter is a gccism.dwmalone2002-12-221-1/+1
| | | | | | PR: 46015 Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl> MFC after: 1 week
* english(4) police.schweikh2002-12-221-2/+2
|
* - Add a spin lock to single thread cache invalidation and tlb flush ipis,jake2002-12-225-19/+22
| | | | | which allows ipis to be sent outside of Giant. - Remove the ap boot mutex, which is unused.
* Enforce correct ordering of the filedesc structure and pipe mutex, becausekris2002-12-221-0/+2
| | | | | | WITNESS can get the order wrong if it guesses based on first use. Reviewed by: jhb, alfred
* Fix typo: vunerable -> vulnerable.pb2002-12-221-1/+1
|
* Correct minor grammos.schweikh2002-12-221-3/+3
| | | | MFC after: 3 days
* Remove forgotten INP_UNLOCK(inp) in my previous commit.pb2002-12-221-1/+0
| | | | Reported by: hsu
* Add a word, lost in previos commit.kan2002-12-221-0/+1
|
* Add note about GCC -fno-pcc-struct-return being default again. Thekan2002-12-221-0/+8
| | | | | | | breakage window was about 18 days long. Submitted by: juli Approved by: re (rwatson)
* Back out the -fpcc-struct-return fixes.kan2002-12-222-24/+68
| | | | Approved by: re (rwatson)
* MB_LEN_MAX is not MD, move it to the MI limits.h.tjr2002-12-2215-14/+2
|
* Fix a bug in GCC which effectively prevents DEFAULT_PCC_STRUCT_RETURN fromkan2002-12-221-1/+0
| | | | | | | | | having any effect. This restores a calling convention traditionally used by FreeBSD/i386 and which is expected by a number of assembly sources in libc. Reviewed by: obrien Approved by: re (rwatson)
* SMP locking for ifnet list.hsu2002-12-2221-24/+126
|
* The UP -current was not properly counting the per-cpu VM stats in thedillon2002-12-221-0/+3
| | | | | | | sysctl code. This makes 'systat -vm 1's syscall count work again. Submitted by: Michal Mertl <mime@traveller.cz> Note: also slated for 5.0
* Revert part of the last commit. Do not fake-up the cylinders to makedillon2002-12-221-2/+1
| | | | | the sectors fit (at least, don't fake them up any more then they are already faked up).
* Fix style (no space after return, twice-too-big continuation) andjmallett2002-12-221-2/+2
| | | | | | | cast (casting long to a void pointer, rather than intptr_t to a void pointer) bogons. Reviewed by: bde
* So many people have asked me to describe my development environment thatdillon2002-12-221-0/+351
| | | | | | | | | | | my fingers are getting tired. Here is a new manual page, 'development', which describes a very powerful, generic, exportable development environment suitable to developers, sysops, admins, and anyone at all who is maintaining more the one FreeBSD box. I have used this type of environment for many years and have had to make virtually no changes to it for all that time. MFC after: 3 days
* - Add a pmap pointer to struct md_page, and use this to find the pmap thatjake2002-12-214-69/+70
| | | | | | | | | | | | | | | | | | | | | | | | a mapping belongs to by setting it in the vm_page_t structure that backs the tsb page that the tte for a mapping is in. This allows the pmap that a mapping belongs to to be found without keeping a pointer to it in the tte itself. - Remove the pmap pointer from struct tte and use the space to make the tte pv lists doubly linked (TAILQs), like on other architectures. This makes entering or removing a mapping O(1) instead of O(n) where n is the number of pmaps a page is mapped by (including kernel_pmap). - Use atomic ops for setting and clearing bits in the ttes, now that they return the old value and can be easily used for this purpose. - Use __builtin_memset for zeroing ttes instead of bzero, so that gcc will inline it (4 inline stores using %g0 instead of a function call). - Initially set the virtual colour for all the vm_page_ts to be equal to their physical colour. This will be more useful once uma_small_alloc is implemented, but basically pages with virtual colour equal to phsyical colour are easier to handle at the pmap level because they can be safely accessed through cachable direct virtual to physical mappings with that colour, without fear of causing illegal dcache aliases. In total these changes give a minor performance improvement, about 1% reduction in system time during buildworld.
* Be nice. There are evidentally a number of different cards thatimp2002-12-211-2/+4
| | | | | | | | | | identify themselves as serial cards that it would be desirable to attach a different driver than sio to. Since we are claiming all serial cards, this is not possible. Instead, return -100 to indicate that we're willing to take the card, but still allow other drivers to attach. Pointed out by: Maksim Yevmenkin
* Make newsyslog(8) print the correct date when the logs are turned over.trhodes2002-12-211-2/+2
| | | | | | PR: 46395 Submitted by: maxim MFC: eventually
* Reduce libc's memory footprint by lazily allocating memory used internallybbraun2002-12-211-9/+22
| | | | | | by setproctitle(). Reviewed by: jkh
* do not try to free a mountpoint that we did not allocate.dillon2002-12-211-4/+9
| | | | X-MFC after: immediately
* In syncache_timer(), don't attempt to lock the inpcb structurepb2002-12-211-2/+0
| | | | | | | | | associated with the syncache entry: in case tcp_close() has been called on the corresponding listening socket, the lock has been destroyed as a side effect of in_pcbdetach(), causing a panic when we attempt to lock on it. Reviewed by: hsu
* The previous commit contained a stupid mistake: ctxt->pam_[cp]sock wasdes2002-12-211-2/+2
| | | | | | initialized after the call to pthread_create() instead of before. It just happened to work with threads enabled because ctxt is shared, but of course it doesn't work when we use a child process instead of threads.
* Mark the INVALID keyword as being deprecated since the concept oftjr2002-12-212-1/+5
| | | | "invalid runes" is useless without the rest of the deprecated rune interface.
* Make pmap_qenter and pmap_qremove look more like the other pmaps.jake2002-12-211-7/+10
|
* Add the -P option which executes multiple copies of the specified utilitytjr2002-12-212-19/+57
| | | | in parallel. Idea from GNU xargs.
* Removed unused pmap_qenter_flags.jake2002-12-212-17/+0
|
OpenPOWER on IntegriCloud