summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Initialize thread_db module.davidxu2004-08-101-0/+2
|
* As AMD64 architecture volume 1 chapter 3.1.2 says, high 32 bits of %rflagsdavidxu2004-08-101-3/+4
| | | | | | are resevered, they can be written with anything, but they always read as zero, we should simulate it in set_regs() as we are reading/writting real hardware %rflags register.
* This commit was generated by cvs2svn to compensate for changes in r133429,harti2004-08-101-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix the 4.X -> 5.X upgrade path by include <inttypes.h> instead ofharti2004-08-101-1/+1
| | | | | | | | stdint.h.
* | Add documentation for log(9).joerg2004-08-102-5/+46
| | | | | | | | MFC after: 1 week
* | - Use a new flag, KEF_XFERABLE, to record with certainty that this kse hadjeff2004-08-101-34/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | contributed to the transferable load count. This prevents any potential problems with sched_pin() being used around calls to setrunqueue(). - Change the sched_add() load balancing algorithm to try to migrate on wakeup. This attempts to place threads that communicate with each other on the same CPU. - Don't clear the idle counts in kseq_transfer(), let the cpus do that when they call sched_add() from kseq_assign(). - Correct a few out of date comments. - Make sure the ke_cpu field is correct when we preempt. - Call kseq_assign() from sched_clock() to catch any assignments that were done without IPI. Presently all assignments are done with an IPI, but I'm trying a patch that limits that. - Don't migrate a thread if it is still runnable in sched_add(). Previously, this could only happen for KSE threads, but due to changes to sched_switch() all threads went through this path. - Remove some code that was added with preemption but is not necessary.
* | Favor building the cdrtools port over fetching the package. Theremarcel2004-08-101-24/+22
| | | | | | | | | | | | | | hasn't been any package build for ia64 for a long time and in this case it means that the cdrtools package on the FTP sites is one that doesn't have mkisofs. This breaks the release build. By trying to build the port first, we protect ourselves a bit more against this.
* | Update wording regarding geography to match the man page and web site.murray2004-08-101-1/+1
| | | | | | | | | | | | | | Specifically, change the second level menu title from 'Country' to 'Country or Region', since e.g. Hong Kong is not a country. Submitted by: Xin LI <delphij@frontfree.net>
* | Disable the snmp_atm module until the source gets fixed. This will unbreakscottl2004-08-102-2/+2
| | | | | | | | this portion of the build.
* | Don't acquire Giant in cryptof_close(), as the code is intended to berwatson2004-08-101-7/+0
| | | | | | | | | | | | able to run MPsafe (and appears to be MPsafe). Discussed with (some time ago): sam
* | Inline umich license from COPYRIGHT to make it clear what license therwatson2004-08-102-7/+92
| | | | | | | | | | | | | | | | | | umich copyright is asserting. Clarify that the copyright I'm asserting is the standard Berkeley license. Remove Giant assertions from AARP and DDP input routines.
* | Initial pass at shifting sysinstall(8) to install X.org instead of XFree86.kensmith2004-08-1010-463/+312
| | | | | | | | | | | | | | There are still a few nits to work out (graphical config non-functional). Patches by: anholt@, adapted slightly Reviewed by: 'make release'
* | Catch up with change to <machine/pte.h>.marcel2004-08-102-18/+16
| |
* | By default, the watch utility will attempt to open /dev/snp0, ifcsjp2004-08-101-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | another process already has /dev/snp0 open, the snp(4) will return EBUSY, in which case watch will try to open /dev/snp1..9. Currently watch does not check errno to see if the failure was a result of EBUSY. This results in watch making futile attempts to open snp0..snp9 even though devices may not exist or the caller does not have permissions to access the device. In addition to this, it attempts to setup the screen for snooping even though it may not ever get an snp device. So this patch does two things 1) Checks errno for EBUSY, if open(2) fails for another reason print that reason and exit. 2) setup the terminal for snooping after the snp descriptor has been obtained. Approved by: bmilekic (mentor)
* | Skip the syncing disks loop if there are no dirty buffers. Remove anjl2004-08-102-6/+14
| | | | | | | | | | | | variable used to flag the initial printf. Submitted by: truckman (earlier version)
* | Introduce ng_hci_inquiry_response structure and use it in the hccontrol(8)emax2004-08-102-15/+11
| |
* | Add a temporary debugging hack to detect a deadlock in setrunqueue(). Thisscottl2004-08-101-0/+7
| | | | | | | | | | | | is here so that we can gather stats on the nature of the recent rash of hard lockups, and in this particular case panic the machine instead of letting it deadlock forever.
* | In syscall, always make a copy of parameters from trapframe, thisdavidxu2004-08-091-12/+9
| | | | | | | | | | | | | | | | becauses some syscalls using set_mcontext can sneakily change parameters and later when those syscalls references parameters, they will wrongly use register values in mcontext_t. Approved by: peter
* | Clean up and add coments.julian2004-08-091-35/+66
| | | | | | | | | | reserve some bits in flag words for upcoming work. Note the unused bits so they can be found easier.
* | Add twa(4) to the Hardware Notes.simon2004-08-093-0/+5
| |
* | - Add a HARDWARE section which lists supported devices.simon2004-08-091-15/+18
| |
* | Slight changes to comments and some whitespace changes.julian2004-08-091-3/+10
| |
* | During FTP installs, when installing Postfix as an alternate MTA, thesimon2004-08-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | install of Postfix fails since Postfix 1 is picked from INDEX instead of Postfix 2. The problem is that the package_add function matches multiple Postfix packages and then installs a "random" version (the last one found in INDEX). This does not occur with a CD-ROM install since there is only one Postfix package on the CD-ROM. The correct solution to this would be to check the origin field from INDEX instead of the package name, but due to the way sysinstall is made that is not trivial, so instead work around the problem by hard-coding the Postfix major and minor revision (for the current stable version) to install directly into the package_add call. PR: misc/65426 Reported by: Harold Kachelmyer <bugs@princessharold.net> Approved by: trhodes
* | There was a star danced, and under that was I born.oliver2004-08-091-0/+1
| | | | | | | | | | | | -- Shakespeare in "Much Ado About Nothing" Add my birthday in case someone cares someday...
* | Minimal fix to prevent crashes when an AGP v2 card is used with the new v3 VIAanholt2004-08-094-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | chipsets, based on Linux's via-agp.c. On boot, the system selects which AGP version to use based on the inserted card. If v2 was chosen, the chipset needs to be programmed with the v2 registers still. Also included in kern/69953 are changes to make the programming of the v3 registers match linux, but that will be left out until the need to do so is confirmed (want specs or a tester). PR: kern/69953 Submitted by: Oleg Sharoiko <os@rsu.ru> Tested by: Oleg Sharoiko <os@rsu.ru>, Geoff Speicher <geoff@speicher.org> (full version from PR)
* | Better preserve the original protection for the mappings we maintain.marcel2004-08-092-222/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The hardware always gives read access for privilege level 0, which means that we cannot use the hardware access rights and privilege level in the PTE to test whether there's a change in protection. So, we save the original vm_prot_t in the PTE as well. Add pmap_pte_prot() to set the proper access rights and privilege level on the PTE given a pmap and the requested protection. The above allows us to compare the protection in pmap_extract_and_hold() which was missing. While in pmap_extract_and_hold(), add pmap locking. While here, clean up most (i.e. all but one) PTE macros we inherited from alpha. They were either unused, used inconsistently, badly named or simply weren't beneficial. We save the wired and managed state of the PTE in distinct (bit) fields. While in pte.h, s/u_int64_t/uint64_t/g pmap locking obtained from: alc@ feedback & review by: alc@
* | Make kg->kg_runnable actually count runnable threads in the ksegrp run queuejulian2004-08-091-4/+5
| | | | | | | | | | instead of only doing it sometimes.. This is not used outdide of debugging code in the current code, but that will probably change.
* | Fix rl(4)'s lock behavior upon deinitialization. I would get a panicgreen2004-08-091-5/+6
| | | | | | | | when kldunloading due to its private locking being acquired recursively.
* | Remove typos on KASSERT messages.julian2004-08-091-3/+3
| |
* | Revamp VM map wiring.green2004-08-093-14/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow no-fault wiring/unwiring to succeed for consistency; however, the wired count remains at zero, so it's a special case. * Fix issues inside vm_map_wire() and vm_map_unwire() where the exact state of user wiring (one or zero) and system wiring (zero or more) could be confused; for example, system unwiring could succeed in removing a user wire, instead of being an error. * Require all mappings to be unwired before they are deleted. When VM space is still wired upon deletion, it will be waited upon for the following unwire. This makes vslock(9) work rather than allowing kernel-locked memory to be deleted out from underneath of its consumer as it would before.
* | Shift to the same version of perl that portmgr@ has as their default.kensmith2004-08-091-1/+1
| | | | | | | | Pointed out by: jhb
* | Fix a 4.X -> 5.X upgrade problem: crunchgen used to emit a line 'MAKE=make'harti2004-08-091-7/+7
| | | | | | | | | | | | | | | | | | | | | | or 'env MAKEOBJDIRPREFIX=... make' depending on the setting of MAKEOBJDIRPREFIX in the environment. In any case this line kills the original value of ${MAKE}. When during buildworld a new make is built (as is the case during the upgrade) this causes a wrong make to be picked up (the first one in the path). Use the same technique as Makefile.inc1: create a MAKEENV variable and a CRUNCHMAKE that calls ${MAKE} with that MAKEENV prefixed. Use CRUNCHMAKE instead of MAKE throughout the generated makefile. This leaves the original ${MAKE} undisturbed.
* | Make two changes to vm_fault().alc2004-08-091-16/+7
| | | | | | | | | | | | 1. Move a comment to its proper place, updating it. (Except for white- space, this comment had been unchanged since revision 1.1!) 2. Remove spl calls.
* | Normalize the VM wiring done with SPARSE_MAPPING: check for errors, andgreen2004-08-091-10/+17
| | | | | | | | | | unmap when done. For whatever reason, SPARSE_MAPPING is not even a config option, so this is dead code.
* | Increase the amount of data exported by KTR in the KTR_RUNQ setting.julian2004-08-095-21/+28
| | | | | | | | | | This extra data is needed to really follow what is going on in the threaded case.
* | Remove a stale comment from vm_map_lookup() that pertains to share maps.alc2004-08-091-3/+0
| | | | | | | | | | (The last vestiges of the share map code were removed in revisions 1.153 and 1.159.)
* | Remove commented out pcic driver. It is too broken to work (even if youimp2004-08-091-1/+0
| | | | | | | | | | | | | | fix the obvious bugs, nastier ones reside below the surfac), and having it commented out here just encourages people to try it. # I'm not removing it from the base system, yet.
* | Link the snmp_atm module to the build unless NOATM is defined.harti2004-08-092-2/+12
| |
* | Now that gensnmptree can read and merge more than one tree makeharti2004-08-092-8/+8
| | | | | | | | | | the rule so that the tree .c and .h files can be produced from several trees.
* | A module for bsnmpd(1) that exports a MIB that contains information aboutharti2004-08-098-0/+956
| | | | | | | | the local ATM interfaces and allows to change some parameters via SNMP.
* | Make a comment that IP source routing is not SMP and PREEMPTION safe.andre2004-08-091-0/+1
| |
* | Make a comment that "ipfw forward" is not SMP and PREEMPTION safe.andre2004-08-091-0/+1
| |
* | Make explicit that MAKEOBJDIRPREFIX and MAKOBJDIR must be setharti2004-08-091-0/+7
| | | | | | | | | | | | | | | | | | as environment variables and should not be set on make's command line. They happen to work accidentially as command line variables too when none of the sub-makes wants to play games with them (because make is putting command line variables into the environment and will find them there later on). Makefile.inc1 wants to change MAKEOBJDIRPREFIX. In this case one cannot set it on the command line.
* | New ipfw option "antispoof":andre2004-08-094-3/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For incoming packets, the packet's source address is checked if it belongs to a directly connected network. If the network is directly connected, then the interface the packet came on in is compared to the interface the network is connected to. When incoming interface and directly connected interface are not the same, the packet does not match. Usage example: ipfw add deny ip from any to any not antispoof in Manpage education by: ru
* | mdoc(7) and english grammar makeover.mlaier2004-08-091-98/+105
| | | | | | | | Submitted by: ru
* | Per letter dated July 22, 1999 remove 3rd clause of Berkeley deriveddds2004-08-0910-40/+0
| | | | | | | | | | | | software (original contributor). Reviewed by: imp
* | The multiplier prefix is actually a multiplier suffix.des2004-08-091-1/+1
| |
* | Fix bad free() usage.sos2004-08-091-2/+8
| | | | | | | | Submitted by: Pawel Jakub Dawidek
* | Write my country name in standard formden2004-08-091-1/+1
| | | | | | | | Requested by: ru
* | Change the behaviour of `-v' so that, e.g., stepping a month backyar2004-08-092-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on March 31 won't take you to March 2 or 3 (now the result will be the last day of February.) In general, now stepping by months from the last days of the current month A will take you to the very last day of the target month B if B is shorter than A. The previous version would just step to March 31 and rely on mktime(3) to correct the date. Despite its simplicity, such way was counter-intuitive to users and caused pain to shell script writers. Noticed by: Igor Timkin <ivt at gamma dot ru> Approved by: brian MFC after: 2 weeks
OpenPOWER on IntegriCloud