summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Enable vmiodirenable by default. Remove incorrect comment from sysctl.conf.dillon2001-09-261-1/+1
| | | | MFC after: 1 week
* Tidy up and fix a runtime warning.dfr2001-09-261-8/+14
|
* Make uio_yield() a global. Call uio_yield() between chunksdillon2001-09-265-8/+10
| | | | | | | | | | | | | | in vn_rdwr_inchunks(), allowing other processes to gain an exclusive lock on the vnode. Specifically: directory scanning, to avoid a race to the root directory, and multiple child processes coring simultaniously so they can figure out that some other core'ing child has an exclusive adv lock and just exit instead. This completely fixes performance problems when large programs core. You can have hundreds of copies (forked children) of the same binary core all at once and not notice. MFC after: 3 days
* The arg parameter is passed by value in Linux, but not in FreeBSD.marcel2001-09-261-5/+6
| | | | | | | | | We still have to account for a copyin. Make sure the copyin will succeed by passing the FreeBSD syscall a pointer to userspace, albeit one that's automagically mapped into kernel space. Reported by: mr, Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org> Tested by: Mitsuru IWASAKI <iwasaki@jp.FreeBSD.org>
* Lock the vnode while truncating the corefile. This fixes a panicps2001-09-261-0/+2
| | | | | | | with softupdates dangling deps. Submitted by: peter MFC: ASAP :)
* Add a standard hack in the spirit of PCI_ENABLE_IO_MODES to allow systemsbrooks2001-09-261-0/+4
| | | | | | | | with weird PCI-PCI bridge configurations to work. Defining PCI_ALLOW_UNSUPPORTED_IO_RANGE causes the sanity checks to pass even with out of range values. Reviewed by: msmith
* Fix (typo? pasteo?): panic("ffs_mountroot..." -> panic("ntfs_mountroot...")fenner2001-09-261-1/+1
|
* Make this 'make obj' safepeter2001-09-262-2/+10
|
* Remove superflous parens after de-macroizing.jhb2001-09-262-4/+4
|
* Include sys/ktr.h before sys/_lock.h to ensure LOCK_DEBUG is set to itsjhb2001-09-251-1/+5
| | | | proper value.
* Move the definition of LOCK_DEBUG from sys/lock.h to sys/_lock.h.jhb2001-09-252-13/+16
|
* o So, when <dd> e-mailed me and said that the comment was invertedrwatson2001-09-251-6/+6
| | | | | | | for securelevel_ge() and securelevel_gt(), I was a little surprised, but fixed it. Turns out that it was the code that was inverted, during a whitespace cleanup in my commit tree. This commit inverts the checks, and restores the comment.
* Calculate the valid flag for ITRs and DTRs correctly. Also fix a coupledfr2001-09-252-16/+6
| | | | of minor problems and remove some debugging code.
* The faith(4) device is no longer a count device so don't specify a count.brooks2001-09-259-9/+9
|
* Make faith loadable, unloadable, and clonable.brooks2001-09-2517-157/+174
|
* Add a fix for the VIA82C686B data corruption bug.sos2001-09-251-18/+50
| | | | | | | | | | | | This fixed the problem on the 3 platforms I've been able to test on. I'm still of the oppinion that the BIOS should take care of this, however some board makers only apply this when they spot a SBLive! soundcard, but the problem exists even without a SBLive!. This fix should probably go somewhere else, but for now I'll keep it here since we havn't got a central place to put such things.
* Yet another turn of workaround for psm/ACPI/PnP BIOSyokota2001-09-255-79/+169
| | | | | | | problems currently experienced in -CURRENT. This should fix the problem that the PS/2 mouse is detected twice if the acpi module is not loaded on some systems.
* Add some definitions for the DSP programming registers in the BCM5400wpaul2001-09-251-0/+38
| | | | and BCM5401 PHYs.
* Clean up my source tree to avoid getting hit too badly by the next KSE ordes2001-09-252-6/+67
| | | | | whatever mega-commit. This goes some way towards adding support for writeable files (needed by procfs).
* Clean up my source tree to avoid getting hit too badly by the next KSE ordes2001-09-251-20/+37
| | | | | whatever mega-commit. No real functional changes, just some experiments / work in progress.
* o Further clarify comment: ad Udo's request, re-insert the 'if'rwatson2001-09-251-3/+4
| | | | | | | | refering to securelevels; also, update the unprivileged process text to better indicate the scope of actions permittable when any system flags are already set (limited). Submitted by: Udo Schweigert <udo.schweigert@siemens.com>
* A process name may contain whitespace and unprintable characters,mike2001-09-251-5/+11
| | | | | | | | so convert those characters to octal notation. Also convert backslashes to octal notation to avoid confusion. Reviewed by: des MFC after: 1 week
* o Parallelize the comment on the relationship between privileged un-jailedrwatson2001-09-251-2/+2
| | | | | processes and the actual securelevel check: make the comment use '> 0' instead of inverted '<= 0'.
* s/securelvel/securelevel/rwatson2001-09-251-1/+1
|
* Add a missing dereference level. This caused nfsm_postop_attr_xx()iedowse2001-09-251-1/+1
| | | | | | | to try and extract node attributes from an RPC reply even if none were present. Reviewed by: peter
* Use b6 instead of b1 - b1 is supposed to be preserved and b6 is scratch.dfr2001-09-242-8/+8
|
* Make the Alternate {I,D} TLB vector code actually work for virtualdfr2001-09-242-4/+4
| | | | addresses greater than 256M (the page size for region 6 and 7).
* Don't try to access external files from SKI unless we are actually runningdfr2001-09-241-0/+3
| | | | in SKI.
* Increase the number of bootstrap PVs.dfr2001-09-241-1/+1
|
* Include <machine/pte.h> instead of <machine/pmap.h>dfr2001-09-242-2/+2
|
* We need different call stubs for static and stacked calling conventions.dfr2001-09-243-12/+99
|
* Add commands to dump the itrs and dtrs.dfr2001-09-242-0/+296
|
* Return the mapkey which EFI gave us when we read the memory map - we needdfr2001-09-243-3/+8
| | | | it to call ExitBootServices.
* Tidy up a little - don't try to print anything or enable interrupts afterdfr2001-09-242-102/+48
| | | | | we start changing translation registers. Also, call ExitBootServices before we jump into the kernel.
* Pick up pal.s from the kernel sources.dfr2001-09-241-1/+3
|
* Factor out PTE and related definitions from pmap.h - they are useful indfr2001-09-242-89/+151
| | | | the loader.
* The addition of i_dirhash to struct inode pushed RELENG_4'siedowse2001-09-245-7/+7
| | | | | | | | | | | | | sizeof(struct inode) into a new malloc bucket on the i386. This didn't happen in -current due to the removal of i_lock, but it does no harm to apply the workaround to -current first. Reduce the size of the i_spare[] array in struct inode from 4 to 3 entries, and change ext2fs to use i_din.di_spare[1] so that it does not need i_spare[3]. Reviewed by: bde MFC after: 3 days
* Fix a few comment typos from the last commit.dfr2001-09-242-6/+6
|
* Add some code which can be used to change to/from physical mode whendfr2001-09-242-0/+134
| | | | calling various firmware functions.
* - Added #include <sys/systm.h>nyan2001-09-242-2/+4
| | | | - Cosmetic change
* Fix a null pointer dereference introduced in the last commit, plusluigi2001-09-241-6/+4
| | | | | | remove a useless assignment and move a comment. Submitted by: Thomas Moestl
* + Fix misplacement of `txp'obrien2001-09-247-31/+31
| | | | + Document our -CURRENT debugging bits
* Catch up to recent removal of curpcb from globals.h.mp2001-09-244-24/+32
|
* Send a .4 second BREAK rather than a .25 second break so thatbrian2001-09-231-2/+2
| | | | | | | | | we're at least consistent with what tcsendbreak(3) is documented to do. MFC after: 2 weeks Note, the MFC will be to sys/dev/dgb/dgm.c on the RELENG_4 branch
* Add commands to dump the configuration tables and the SAL System Table.dfr2001-09-232-8/+232
|
* Add definitions of SAL System Table.dfr2001-09-231-0/+98
|
* Reinitialize the keyboard after the ACPI resume event.yokota2001-09-233-3/+30
| | | | | | | | | I am not sure if this is absolutely necessary on all systems. Yet, there certainly are motherboards and notebook systems which require this, although there are other systems which just don't. I hope we shall know when to do this on which systems, as the development of our ACPI subsystem progresses... (I know we didn't need this for the APM resume.)
* Overzealous search/replace: PROC_LOCK_ASSERT(p, not PROC_LOCK_ASSERT(td,peter2001-09-231-1/+1
| | | | Pointy-hat to: peter
* Implement TCP/IP checksum off-loading on receive. Announcealc2001-09-231-3/+21
| | | | | | rxcsum capabilities. Reviewed by: wpaul
* Since we no longer inline any debugging code in the mutex operations, movejhb2001-09-223-52/+52
| | | | | | | | all the debugging code into the function versions of the mutex operations in kern_mutex.c. This reduced the __mtx_* macros to simply wrappers of the _{get,rel}_lock_* macros, so the __mtx_* macros were also abolished in favor of just calling the _{get,rel}_lock_* macros. The tangled hairy mass of macros calling macros is at least a bit more sane now.
OpenPOWER on IntegriCloud