summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Quick hack to make the nfsclient.ko loadable again. This brings inimp2003-11-161-1/+12
| | | | | | | | | the nfsv4 files. It is intended to be a short-term bridge while alfred deals with the problem in a better way (eg, don't hesitate to back this out when the real fix comes along). I've not heard back from alfred in a few hours and other people are hitting this problem. Approved by: markm, rwatson, grog, murray
* Remove the WITNESS debug code from _STOPEVENT. It has pointed out aimp2003-11-151-2/+0
| | | | | | | | | problem, but the spamage of consoles is really bad. Until we can get this to be less chatty, disable it so people can boot. The badness of the spamage is worse than the badness that it reports :-(. Once the underlying problems have been fixed, it can be reenabled. Approved by: kken, markm, rwatson, grog, murray
* - Only allow pinning and unpinning of curthread.jeff2003-11-151-6/+6
|
* Minor word tweaks.trhodes2003-11-151-7/+16
| | | | Submitted by: Mathew Kanner <mat@cnd.mcgill.ca>
* Implement Cx CPU idle states and updated throttling support.njl2003-11-154-169/+811
| | | | | | | | | | | | * Use the cpu_idle_hook() to do idling for C1-C3. * Use both _CST and the FADT to detect Cx states. * Use both _PTC and P_CNT for controlling throttling. * Add a notify handler to detect changes in _CST and _PSS * Call the _INI function for each processor if present. This will be done by ACPI-CA in the future. * Fix a bug on SMP systems where CPUs will attach multiple times if the bus is rescan. * Document new sysctls for controlling idling.
* Add acpi_package.c with routines for validating packages and pullingnjl2003-11-152-0/+156
| | | | | various data types from them. This is loosely based on the acpi_cmbat macros (by Mike Smith) and will eventually replace them.
* Add acpi_bus_alloc_gas() for allocating a memory or IO resource from itsnjl2003-11-151-1/+28
| | | | Generic Address Structure.
* Add the pc_acpi_id PCPU member. The new acpi_cpu driver uses this tonjl2003-11-154-2/+7
| | | | dereference the softc.
* This is a crude bandaid for 5.2 to protect against providers which disappearphk2003-11-151-0/+38
| | | | | while being tasted. I can moderately easy trigger this with atapi-cd, but I do not fully understand the circumstances.
* Rename the debugging mutex "callout_no_sleep" to "dont_sleep_in_callout".phk2003-11-151-4/+4
|
* Make this WARNS 2 clean, and fix up the manual page:trhodes2003-11-1512-32/+59
| | | | | | | | | | | | | Avoid implicit function calls by adding the proper include files. Use const char copyright. Fix some fprint formatting. In the manual page: Use the .Pa macro for filenames and locations. Kill hard setence breaks. Make use of the .Tn and .Dq macros. Add some to text to the otherwise blank HISTORY section (taken from CVS).
* Correct a cast to make it compile on 64bit platforms (noticed by tinderbox)andre2003-11-151-6/+6
| | | | | | | | and remove two unneccessary variable initializations. Make the introduction comment more clear with regard which parts of the packet are touched. Requested by: luigi
* Replace all uses of the old netgraph constants NG_*LEN by the newharti2003-11-1516-135/+135
| | | | | | constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy.
* Remove an extra 'for' in the HISTORY section.trhodes2003-11-151-1/+1
|
* opt_apic.h is not needed.nyan2003-11-152-2/+0
|
* MFi386: revisions from 1.1102 to 1.1105.nyan2003-11-151-16/+13
|
* MFi386: revision 1.201.nyan2003-11-151-6/+8
|
* MFi386: revision 1.13.nyan2003-11-152-2/+2
|
* Initialize sequence numbers to 0 in seminit() instead of using whatevertjr2003-11-151-0/+1
| | | | | garbage happens to be in memory. This did not seem to cause any problems except making semaphore ID's unpredictable (and ugly in ipcs(1) output).
* If a file to send in ASCII mode already has CRLF as end-of-line,yar2003-11-151-2/+4
| | | | | | | | don't add excessive CR on the wire. PR: bin/59285 Submitted by: Andrey Beresovsky <and at rsu.ru> MFC after: 1 week
* Changed the RB_PAUSE flag from 0x40000 to 0x100000 and marked the oldbde2003-11-153-6/+30
| | | | | | | | | | | | | | | | | | value as reserved for internal use in boot blocks, because RB_PAUSE broke binary compatibility by usurping the RB_DUAL flag. Probably no one except me has boot blocks for which this matters, since most boot blocks based on biosboot including pc98's boot2 can't boot elf kernels, and /boot/loader doesn't properly pass flags set by the previous stage. reboot.h: Also mark the historical RB_PROBEKBD flag (0x80000) as reserved for internal use in boot blocks. boot2.c: Added comments to inhibit usurping of other flags. Approved by: guido, imp MFC after: 1 week
* In vnode_pager_input_smlfs(), call VOP_STRATEGY instead of VOP_SPECSTRATEGYtjr2003-11-151-1/+4
| | | | | | | | on non-VCHR vnodes. This fixes a panic when reading data from files on a filesystem with a small (less than a page) block size. PR: 59271 Reviewed by: alc
* Send B_PHYS out to pasture, it no longer serves any function.phk2003-11-155-13/+3
|
* - Remove the remaining now unnecessary checks for the buf's b_object beingalc2003-11-151-10/+4
| | | | | NULL. See revision 1.421 for more detail. - Remove GIANT_REQUIRED from vfs_unbusy_pages(). Discussed with: jeff
* - Introduce kseq_runq_{add,rem}() which are used to insert and removejeff2003-11-151-61/+83
| | | | | | | | | | | | | | | | | | | | | | kses from the run queues. Also, on SMP, we track the transferable count here. Threads are transferable only as long as they are on the run queue. - Previously, we adjusted our load balancing based on the transferable count minus the number of actual cpus. This was done to account for the threads which were likely to be running. All of this logic is simpler now that transferable accounts for only those threads which can actually be taken. Updated various places in sched_add() and kseq_balance() to account for this. - Rename kseq_{add,rem} to kseq_load_{add,rem} to reflect what they're really doing. The load is accounted for seperately from the runq because the load is accounted for even as the thread is running. - Fix a bug in sched_class() where we weren't properly using the PRI_BASE() version of the kg_pri_class. - Add a large comment that describes the impact of a seemingly simple conditional in sched_add(). - Also in sched_add() check the transferable count and KSE_CAN_MIGRATE() prior to checking kseq_idle. This reduces the frequency of access for kseq_idle which is a shared resource.
* - m_cat() may free the mbuf on 2nd arg, so m_pkthdr manipulation hasume2003-11-154-20/+14
| | | | | | | | to happen before the call to m_cat(). - correct signedness mixups. - remove variable that is only assigned too but not referenced. Obtained from: KAME
* oops, correct wrong change in previous commit.ume2003-11-151-1/+0
|
* Bring in a 90% rewrite of the pcm.4 manual page. This adds tunables, loadertrhodes2003-11-151-48/+208
| | | | | | | options, information on VCHANs, and more. Based on content submitted by: Mathew Kanner <mat@cnd.mcgill.ca> && Cameron Grant Update requested by: ru, and I think hmp
* increase AH_MAXSUMSIZE for hmac-sha2-512ume2003-11-151-1/+2
| | | | Obtained from: KAME
* preparation for 64bit sequence number.ume2003-11-151-1/+1
| | | | Obtained from: KAME
* fixed a bug comparing sav->key_auth and SADB_AALG_NONE.ume2003-11-151-1/+1
| | | | Obtained from: KAME
* Use idt(4) manpage entity, trim devices.bmah2003-11-152-8/+2
|
* Move the declaration for "struct nfs4_fctx" out from under #ifdef KERNELalfred2003-11-151-14/+14
| | | | for fstat(1).
* Remove debugging printf that crept into the last commit.rwatson2003-11-151-1/+0
|
* Generate minimal /etc/group file for mfsroot tree.kuriyama2003-11-151-0/+3
| | | | | | This fixes newfs failures at installation. Reviewed by: re (scottl)
* Fixed some bugs in macros:bde2003-11-151-18/+14
| | | | | | | | | | | | - missing parenthesization of some macro args - point of do-while(0) hack defeated by putting a semicolon after while(0) Fixed some style bugs in macros: - not splitting the line when the macro value cannot be lined up in much the same macros that didn't parenthesize their args - braces around a 1-line statement - do-while(0) hack not indented in the usual way in the same macros that defeated its point.
* /etc/mac.conf is implicitly read and parsed when the MAC configurationrwatson2003-11-151-20/+6
| | | | | | | | | | | is accessed for the first time as a result of an application looking up label configuration information. Previously, the check and read were kicked off by mac_prepare_(typename)() functions; since mac_prepare_type() may now be directly employed by a user process, push the check and initialization into that function. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Update cross references after utf2/euc move.tjr2003-11-151-2/+2
|
* Update cross references after utf2/euc move.tjr2003-11-1510-18/+18
|
* New release notes: statfs(2), KAME updates.bmah2003-11-152-2/+68
| | | | Updated release note: DRM kernel modules import.
* Remove section 4 versions of these manual pages, they have beentjr2003-11-152-232/+0
| | | | moved into section 5.
* Install the section 5 versions of EUC and UTF2 manual pages instead oftjr2003-11-151-2/+1
| | | | the section 4 versions.
* Add "socket" type to the list of default object types, and byrwatson2003-11-151-0/+1
| | | | | | | | default attempt to list Biba, LOMAC, and MLS label information for the socket if they are present. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Use %zu to printf a size_t instead of an int cast.alfred2003-11-151-3/+3
| | | | Requested by: jmallett, wollman
* Update the EUC and UTF2 manual pages for their new home in section 5.tjr2003-11-152-2/+2
| | | | These have been repo-copied from euc.4 and utf2.4.
* Make ipstealth global as we need it in ip_fastforward too.andre2003-11-152-1/+4
|
* Fix compliation on sparc64.alfred2003-11-151-1/+2
| | | | Change arg from uint32_t to size_t to match prototypes.
* Fix compilation warnings on sparc.alfred2003-11-151-2/+2
| | | | Cast sizeof to int for printing with %d.
* nfs4 client module.alfred2003-11-151-0/+36
| | | | Not hooked up to the build yet.
* unbreak LINT.alfred2003-11-152-11/+7
|
OpenPOWER on IntegriCloud