summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Even more Highpoint RAID support.sos2002-03-085-111/+117
| | | | Fix the 80pin cable detection system.
* make pcvt compile again without "options XSERVER".hm2002-03-081-2/+5
| | | | PR: 35577
* Note that several of the recently documented clock-related kernel optionsrwatson2002-03-082-0/+6
| | | | | | are for debugging purposes only. Suggested by: bde
* - Use a MI critical section in witness_sleep() and witness_list() as theyjhb2002-03-081-6/+9
| | | | | | | | simply need to prevent switching from another CPU and do not need interrupts disabled. - Add a comment to witness_list() about why displaying spin locks for threads on other CPU's really is just a bad idea and probably shouldn't be done.
* Read KTR_CPU into a temporary variable so that we use a consistent valuejhb2002-03-081-7/+4
| | | | | for both the cpumask check and the cpu entry field w/o needing to use a critical section.
* Apply a bit more of the patch from conf/35674: document the variousrwatson2002-03-082-2/+12
| | | | | | | clock options in more detail. PR: conf/35674 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Apply part of the patch from conf/35674 to move the PFIL_HOOKS optionrwatson2002-03-082-4/+10
| | | | | | | to somewhere more useful, and improve documentation of it. PR: conf/35674 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Remove the #if __FreeBSD_version glue now that the puc driver is part ofjhay2002-03-082-11/+0
| | | | -stable.
* Synchronize NOTES with -STABLE LINT with respects to the placementrwatson2002-03-082-6/+18
| | | | | | | | and commenting of NETSMB, NETWMBCRYPTO, and SMBFS. In NOTES, they had all floated to the bottom of the file with the list of seemingly random and unclassified kernel options. This change moves them back up to the network protocol and file system areas, and also documents the dependencies.
* #include <machine/smp.h> in the SMP case.phk2002-03-082-2/+2
| | | | | | | don't include <sys/smp.h> at all. Fallout from: probably something jake did. Hint by: jhb
* vhold() our vnode while checking the remote side.phk2002-03-081-0/+3
| | | | | | | | | This is belived to be the only place where a soft reference to a vnode is held with no sort of hard reference, consequently this change should allow us to free(9) vnodes from the freelist after properly cleaning them up. Reviewed by: dillon
* Add pc98 support.nyan2002-03-081-0/+3
|
* - The pc98_ttspeedtab() function returns an error status instead of a divisor,nyan2002-03-082-32/+32
| | | | | | and sets a divisor to the third argument. - The second argument of the pc98_set_baud_rate() function is changed from int to u_int.
* MFi386: revision 1.125nyan2002-03-081-0/+20
|
* Support newer Highpoint BIOS's extended config.sos2002-03-082-23/+25
|
* cosmeticssos2002-03-081-1/+1
|
* Move the mount of the root filesystem to happen in the init process beforephk2002-03-084-10/+7
| | | | | | | the exec if /sbin/init. This allows the scheduler to get started and kthreads a chance to run before we start filesystem operations.
* Oops I mixed up the patch for -current & -stable, sorry ....sos2002-03-071-4/+4
|
* DBA update: used the wrong of several NAI DBAs.rwatson2002-03-071-1/+1
|
* Update DBA for NAI. We have several. We used the wrong one. :-)rwatson2002-03-071-1/+1
|
* Disable RIO (reduced interrupt operation) for 2200 boards- it seemed likemjacob2002-03-071-4/+25
| | | | | | | | | | | | | it worked- but I ran into a case with a 2204 where commands were being lost right and left. Best be safe. For target mode, or things called if we call isp_handle_other response- note that we might have dropped locks by changing the output pointer so we bail from the loop. It's the responsibility of the entity dropping the lock to make sure that we let the f/w know we've read thus far into the response queue (else we begin processing the same entries again- blech!). MFC after: 1 day
* Minor cosmetic changes to minimise diffs for MFC.sos2002-03-075-15/+4
|
* Fix a couble of bugs in the rebuild code, return errors properly.sos2002-03-072-42/+49
|
* Add new errno ``ENOATTR''.green2002-03-073-30/+19
|
* Install the DSI and ISI trap handlers and their appropriate locations.benno2002-03-072-0/+4
|
* Copy the "implementation" of pmap_prefault from sparc64.benno2002-03-073-6/+12
|
* Move tunable initialisation so it can get access to physmem.benno2002-03-072-12/+12
|
* Calculate physmem.benno2002-03-073-3/+12
|
* Update for the 6.9 firmware family (6xxx controllers), as well as formsmith2002-03-075-20/+132
| | | | | | | | | the upcoming 7.4 family (7xxx controllers). - improved error reporting and handling - more diagnostic output - add extra command packet definitions - merge sources again with -stable
* Don't use __FBSDID yet. Looks like most (all?) of the rest of the kernelimp2002-03-072-4/+0
| | | | doesn't do that.
* Implement hw.cardbus.debug and hw.cardbus.cis_debug to help debug someimp2002-03-072-24/+25
| | | | of the cardbus problems that people may start seeing.
* Make hw.pccard.debug and hw.pccard.cis_debug tunable/sysctl. Setting to 1imp2002-03-072-4/+19
| | | | will enable more verbose debugging output from the pccard system.
* Implement delivery of tlb shootdown ipis. This is currently more fine grainedjake2002-03-0714-324/+335
| | | | | | | | | | | | | | than the other implementations; we have complete control over the tlb, so we only demap specific pages. We take advantage of the ranged tlb flush api to send one ipi for a range of pages, and due to the pm_active optimization we rarely send ipis for demaps from user pmaps. Remove now unused routines to load the tlb; this is only done once outside of the tlb fault handlers. Minor cleanups to the smp startup code. This boots multi user with both cpus active on a dual ultra 60 and on a dual ultra 2.
* Modify the tlb demap API to take a pmap instead of a tlb context number.jake2002-03-075-36/+40
| | | | | | | | Due to allocating tlb contexts on the fly, we only ever need to demap the primary context, non-primary contexts have already been implicitly flushed by context switching. All we really need to tell is if its a kernel demap or not, and its easier just to compare against the kernel_pmap which is a constant.
* Implement kthread context stealing. This is a bit of a misnomer becausejake2002-03-073-54/+53
| | | | | | | | | | | | the context is not actually stolen, as it would be for i386. Instead of deactivating a user vmspace immediately when switching out, and recycling its tlb context, wait until the next context switch to a different user vmspace. In this way we can switch from a user process to any number of kernel threads and back to the same user process again, without losing any of its mappings in the tlb that would not already be knocked by the automatic replacement algorithm. This is not expected to have a measurable performance improvement on the machines we currently run on, but it sounds cool and makes the sparc64 port SMPng buzz word compliant.
* Unconditionally limit maxproc so that it is not possiblesilby2002-03-071-0/+6
| | | | | | | | to exhaust all kmaps. The only reward for setting maxproc to a value which will cause kmap exhaustion is a panic during a forkbomb attack. MFC after: 3 days
* Include machine/smp.h.jake2002-03-071-0/+1
|
* Add needed includes of machine/smp.h, remove nested include in sys/smp.hjake2002-03-0711-1/+11
| | | | so that inlines in machine/smp.h can use variables declared in sys/smp.h.
* Fix a bug in the vm_map_clean() procedure. msync()ing an area of memorydillon2002-03-071-1/+4
| | | | | | | that has just been mapped MAP_ANON|MAP_NOSYNC and has not yet been accessed will panic the machine. MFC after: 1 day
* Two style(9) fixes:imp2002-03-071-53/+50
| | | | | - return(foo); (note parens) - use __FBSDID()
* Check for NULL on resource allocation. For the moment, punt, but we shouldimp2002-03-071-0/+18
| | | | be smarter about a) cleanup and b) fallback.
* Sync with GENERIC. WITNESS_SKIPSPIN, and the ciss and iir devices.cjc2002-03-061-0/+3
|
* Add the "Avlab Technology, PCI IO 2S" card.jhay2002-03-061-0/+9
| | | | Submitted by: Terry Glanfield <Terry.Glanfield@program-products.co.uk>
* Rename runq_find() to runq_findproc(), and hide it behind #ifdef DIAGNOSTIC,des2002-03-061-3/+5
| | | | | as it can have a severe impact on performance under high load, and the bug it was meant to catch was fixed ages ago.
* Fix a typo, unbreak the world.maxim2002-03-061-1/+1
| | | | | Thanks to: mux Approved by: ru
* Don't (blindly) truncate the unit number to 4 digits when formatting thebde2002-03-061-1/+3
| | | | string returned by device_get_nameunit().
* Maximum semid is seminfo.semmni not seminfo.semmsl.maxim2002-03-061-3/+3
| | | | | | | | PR: kern/34979 Submitted by: James Gritton <jamie@gritton.org> Reviewed by: alfred, ru Approved by: ru MFC after: 1 week
* Fixed compilation warnings.ru2002-03-061-0/+2
|
* Fixed a printf format error again. Rev.127 was clobbered in rev.1.128bde2002-03-061-1/+1
| | | | | | | | | | | | | by removing parentheses. The main bug is in gcc: on machines with 64-bit longs and 64-bit long longs, (unsigned long long)rdp->total_sectors / ((1024L * 1024L) / DEV_BSIZE)) has type plain unsigned long instead of the correctly promoted type unsigned long long, so it can not be printfed using %llu format. Even 1ULL / 1L is mispromoted. Anyway, casting the correct operand automatically avoids the problem. We do not want to to pessimize the division; we just want to convert to a common maximal type for printing.
* Add a sequential iteration optimization to vm_object_page_clean(). Thisdillon2002-03-061-75/+194
| | | | | | | | | | | | | | | | | moderately improves msync's and VM object flushing for objects containing randomly dirtied pages (fsync(), msync(), filesystem update daemon), and improves cpu use for small-ranged sequential msync()s in the face of very large mmap()ings from O(N) to O(1) as might be performed by a database. A sysctl, vm.msync_flush_flag, has been added and defaults to 3 (the two committed optimizations are turned on by default). 0 will turn off both optimizations. This code has already been tested under stable and is one in a series of memq / vp->v_dirtyblkhd / fsync optimizations to remove O(N^2) restart conditions that will be coming down the pipe. MFC after: 3 days
OpenPOWER on IntegriCloud