summaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Change cpu_critical_enter/exit to intr_disable/restore.Doug Rabson2002-03-211-2/+2
| | | | Notes: svn path=/head/; revision=92869
* Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217Ruslan Ermilov2002-03-211-1/+4
| | | | | | | | | with the NO_IPFILTER make.conf(5) knob. (So that we can "make the-rest-of-the-world" again.) Notes: svn path=/head/; revision=92868
* In UP mode, the primary cpu's per-cpu current_pmap was not initialized -Peter Wemm2002-03-211-0/+1
| | | | | | | | this was only done as a side effect of calling cpu_mp_start(). I haven't actually tested that this fixes UP kernels, but it feels about right. Notes: svn path=/head/; revision=92865
* intr_disable returns register_tWarner Losh2002-03-211-1/+1
| | | | Notes: svn path=/head/; revision=92861
* Fix abuses of cpu_critical_{enter,exit} by converting toWarner Losh2002-03-2112-65/+95
| | | | | | | | | | intr_{disable,restore} as well as providing an implemenation of intr_{disable,restore}. Reviewed by: jake, rwatson, jhb Notes: svn path=/head/; revision=92860
* Fix abuses of cpu_critical_{enter,exit} by converting toWarner Losh2002-03-219-48/+61
| | | | | | | | intr_{disable,restore} as well as providing an implemenation of intr_{disable,restore}. Notes: svn path=/head/; revision=92859
* Remove last two abuses of cpu_critical_{enter,exit} in the MI code.Warner Losh2002-03-212-8/+8
| | | | | | | Reviewed by: jake, jhb, rwatson Notes: svn path=/head/; revision=92858
* Add a change mirroring that made to kern/subr_trap.c and others.Benno Rice2002-03-211-9/+3
| | | | | | | | | | This makes kernel builds with DIAGNOSTIC work again. Apparently forgotten by: jhb Might want to be checked by: jhb Notes: svn path=/head/; revision=92852
* Remove references to vm_zone.h and switch over to the new uma API.Jeff Roberson2002-03-212-30/+11
| | | | | | | Approved by: peter Notes: svn path=/head/; revision=92851
* Remove references to vm_zone.h and switch over to the new uma API.Jeff Roberson2002-03-216-26/+8
| | | | | | | Reviewed by: jake Notes: svn path=/head/; revision=92850
* Fix error introduced in the 20020217 update, where GetPossibleResourcesMike Smith2002-03-212-2/+2
| | | | | | | | | was spammed with GetCurrentResources. Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp> Notes: svn path=/head/; revision=92849
* Remove references to vm_zone.h and switch over to the new uma API.Jeff Roberson2002-03-213-36/+36
| | | | Notes: svn path=/head/; revision=92847
* Remove references to vm_zone.h and switch over to the new uma API.Jeff Roberson2002-03-212-30/+12
| | | | Notes: svn path=/head/; revision=92846
* Remove __P.Alfred Perlstein2002-03-215-38/+38
| | | | | | | | | profile.h and bus.h were excluded because there is currently WIP. Reviewed by: tmm Notes: svn path=/head/; revision=92844
* Remove __P.Alfred Perlstein2002-03-2012-76/+76
| | | | | | | Reviewd by: peter Notes: svn path=/head/; revision=92843
* Remove __P.Alfred Perlstein2002-03-2019-136/+132
| | | | | | | Reveiwed by: benno Notes: svn path=/head/; revision=92842
* UMA permited us to utilize the 'waitok' flag to soalloc.Jeff Roberson2002-03-201-2/+7
| | | | Notes: svn path=/head/; revision=92827
* Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined.John Baldwin2002-03-201-30/+3
| | | | | | | | | | | | | | | | | Instead of caching the ucred reference, just go ahead and eat the decerement and increment of the refcount. Now that Giant is pushed down into crfree(), we no longer have to get Giant in the common case. In the case when we are actually free'ing the ucred, we would normally free it on the next kernel entry, so the cost there is not new, just in a different place. This also removse td_cache_ucred from struct thread. This is still only done #ifdef DIAGNOSTIC. [ missed this file in the previous commit ] Tested on: i386, alpha Notes: svn path=/head/; revision=92825
* Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined.John Baldwin2002-03-208-156/+36
| | | | | | | | | | | | | | | Instead of caching the ucred reference, just go ahead and eat the decerement and increment of the refcount. Now that Giant is pushed down into crfree(), we no longer have to get Giant in the common case. In the case when we are actually free'ing the ucred, we would normally free it on the next kernel entry, so the cost there is not new, just in a different place. This also removse td_cache_ucred from struct thread. This is still only done #ifdef DIAGNOSTIC. Tested on: i386, alpha Notes: svn path=/head/; revision=92824
* - Push down Giant into crfree() in the case that we actually free a ucred.John Baldwin2002-03-202-1/+18
| | | | | | | | | - Add a cred_free_thread() function (conditional on DIAGNOSTICS) that drops a per-thread ucred reference to be used in debugging code when leaving the kernel. Notes: svn path=/head/; revision=92823
* Add PCI ID for the SeaLevel Ultra 530.PCI single port card.John Baldwin2002-03-201-0/+1
| | | | | | | Sponsored by: The Weather Channel Notes: svn path=/head/; revision=92822
* Minor cleanups to post.mk from bde. Mostly orderingWarner Losh2002-03-201-26/+32
| | | | Notes: svn path=/head/; revision=92821
* No need to conditionalize on pci being in the kernel for thisWarner Losh2002-03-202-6/+0
| | | | Notes: svn path=/head/; revision=92820
* Fix minor style(9) violation in de__PingWarner Losh2002-03-202-80/+80
| | | | Notes: svn path=/head/; revision=92819
* Better power code and better power diagnosticsWarner Losh2002-03-202-36/+82
| | | | Notes: svn path=/head/; revision=92818
* Define masks for the VCC an VPP voltagesWarner Losh2002-03-201-0/+5
| | | | Notes: svn path=/head/; revision=92817
* Remove __P(). This was tested on the GENERIC kernel.David E. O'Brien2002-03-2063-666/+664
| | | | Notes: svn path=/head/; revision=92816
* Remove __P.Alfred Perlstein2002-03-201-1/+1
| | | | Notes: svn path=/head/; revision=92812
* Fix warnings on 64-bit hosts.David E. O'Brien2002-03-201-10/+12
| | | | Notes: svn path=/head/; revision=92809
* Document that MD pcpu fields are defined in PCPU_MD_FIELDS inJohn Baldwin2002-03-201-1/+2
| | | | | | | | | machine/pcpu.h. Requested by: dillon Notes: svn path=/head/; revision=92808
* Two minor changes to dirhash, which result in some marginal benchmarkDavid Malone2002-03-201-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improvements. 1) If deleting an entry results in a chain of deleted slots ending in an empty slot, then we can be a bit more aggressive about marking slots as empty. 2) The last stage of the FNV hash is to xor the last byte of data into the hash. This means that filenames which differ only in the last byte will be placed close to one another in the hash table, which forms longer chains. To work around this common case, we also hash in the address of the dirhash structure. news/cancel = news/articles/control/cancel for a tradspool inn server squid2 = squid level 2 directory (dirs called 00->FF) squid3 = squid level 3 directory (files called 00001F00->00001FFF) mean #probes for home dir mh inbox news/cancel tmp squid2 squid3 old successful 1.02 3.19 4.07 1.10 7.85 2.06 new successful 1.04 1.32 1.27 1.04 1.93 1.17 old unsuccessful 1.08 4.50 5.37 1.17 10.76 2.69 new unsuccessful 1.08 1.73 1.64 1.17 2.89 1.37 Reviewed by: iedowse MFC after: 2 weeks Notes: svn path=/head/; revision=92807
* Change intr_enable to intr_restore for consistency with sparc64.Doug Rabson2002-03-204-6/+6
| | | | Notes: svn path=/head/; revision=92805
* - Change a check of securelevel to securelevel_gt() call in order to helpAndrew R. Reiter2002-03-203-6/+20
| | | | | | | | | | | | against users within a jail attempting to load kernel modules. - Add a check of securelevel_gt() to vfs_mount() in order to chop some low hanging fruit for the repair of securelevel checking of linking and unlinking files from within jails. There is more to be done here. Reviewed by: rwatson Notes: svn path=/head/; revision=92803
* Send periodic ARP requests when ARP entries for hosts we are sendingOrion Hodson2002-03-201-0/+15
| | | | | | | | | | | | | to are about to expire. This prevents high packet rate flows from experiencing packet drops at the sender following ARP cache entry timeout. PR: kern/25517 Reviewed by: luigi MFC after: 7 days Notes: svn path=/head/; revision=92802
* - Remove a semi-colon from after SYSINIT that was introduced in rev. 1.163.Andrew R. Reiter2002-03-201-1/+1
| | | | Notes: svn path=/head/; revision=92799
* MFi386: revision 1.65.KATO Takenori2002-03-201-5/+2
| | | | Notes: svn path=/head/; revision=92794
* Remove __P.KATO Takenori2002-03-2017-215/+215
| | | | Notes: svn path=/head/; revision=92793
* Remove __P.KATO Takenori2002-03-201-7/+7
| | | | Notes: svn path=/head/; revision=92792
* MFi386: revision 1.505 (remove __P.)KATO Takenori2002-03-202-12/+12
| | | | Notes: svn path=/head/; revision=92791
* MFi386: revision 1.504.KATO Takenori2002-03-202-20/+8
| | | | Notes: svn path=/head/; revision=92790
* MFi386: revision 1.503.KATO Takenori2002-03-202-120/+46
| | | | Notes: svn path=/head/; revision=92789
* Remove references to vm_zone.h and switch over to the new uma API.Jeff Roberson2002-03-205-20/+8
| | | | Notes: svn path=/head/; revision=92787
* Remove references to vm_zone.h and switch over to the new uma API.Jeff Roberson2002-03-202-8/+8
| | | | Notes: svn path=/head/; revision=92785
* Remove unused include.Jeff Roberson2002-03-201-1/+0
| | | | Notes: svn path=/head/; revision=92784
* Remove references to vm_zone.h and switch over to the new uma API.Jeff Roberson2002-03-205-28/+28
| | | | Notes: svn path=/head/; revision=92783
* Replace calls to cpu_critical_enter/exit with appropriate calls toDoug Rabson2002-03-203-13/+14
| | | | | | | | either explicitly disable interrupts or use a real critical section, as appropriate. Notes: svn path=/head/; revision=92782
* Recreate intr_disable/intr_enable and implement cpu_critical_enter/exitDoug Rabson2002-03-201-2/+14
| | | | | | | in terms of that (for now). Notes: svn path=/head/; revision=92781
* Remove unused include.Jeff Roberson2002-03-202-2/+0
| | | | Notes: svn path=/head/; revision=92780
* Remove unused header.Jeff Roberson2002-03-201-1/+0
| | | | Notes: svn path=/head/; revision=92779
* Remove __P.Alfred Perlstein2002-03-2030-347/+346
| | | | Notes: svn path=/head/; revision=92770