summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typo that prevented the initial/lock state devices from workingpeter1996-06-302-4/+4
| | | | correctly (accessing the lock device was not possible).
* Make sure we have an object in the map entry before trying to trim pagesdg1996-06-291-2/+3
| | | | from it.
* Reject rules which try to mix ports with incompatible protocols.alex1996-06-291-1/+11
|
* Bump various timeouts in scprobe(). This finally fixes the brokenjoerg1996-06-273-18/+18
| | | | keyboard reset one of my earlier commits has been causing.
* Correct comment relating to pty's. There can be 256 (probablygpalmer1996-06-263-6/+6
| | | | higher actually, but that's all our MAKEDEV supports at this time)
* Fixed bug in pasting 8bit char (ache).sos1996-06-266-243/+171
| | | | | Added linefeeds in cuts that extend beyond one line. Prepared for the mousefunctions to be used in nontext modes.
* Fix a problem that caused system crashes after physio. This problemdyson1996-06-261-6/+11
| | | | | | | | | was due to non-aligned 64K transfers taking 17 pages. We currently do not support >16 page transfers. The transfer is unfortunately truncated, but since buffers are usually malloced, this is a problem only once in a while. Savecore is a culprit, but tar/cpio usually aren't. This is NOT the final fix (which is likely a bouncing scheme), but will at least keep the system from crashing.
* This commit does a couple of things:dyson1996-06-264-136/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-enables the RSS limiting, and the routine is now tail-recursive, making it much more safe (eliminates the possiblity of kernel stack overflow.) Also, the RSS limiting is a little more intelligent about finding the likely objects that are pushing the process over the limit. Added some sysctls that help with VM system tuning. New sysctl features: 1) Enable/disable lru pageout algorithm. vm.pageout_algorithm = 0, default algorithm that works well, especially using X windows and heavy memory loading. Can have adverse effects, sometimes slowing down program loading. vm.pageout_algorithm = 1, close to true LRU. Works much better than clock, etc. Does not work as well as the default algorithm in general. Certain memory "malloc" type benchmarks work a little better with this setting. Please give me feedback on the performance results associated with these. 2) Enable/disable swapping. vm.swapping_enabled = 1, default. vm.swapping_enabled = 0, useful for cases where swapping degrades performance. The config option "NO_SWAPPING" is still operative, and takes precedence over the sysctl. If "NO_SWAPPING" is specified, the sysctl still exists, but "vm.swapping_enabled" is hard-wired to "0". Each of these can be changed "on the fly."
* When page table pages were removed from process address space, thedyson1996-06-262-2/+6
| | | | | resident page stats were not being decremented. This mode corrects that problem.
* Added #include of <machine/md_var.h>. This will be needed whenbde1996-06-2525-21/+48
| | | | | some declarations are moved from <machine/cpufunc.h> to better places.
* Fixed the `machine' link. It pointed to the wrong place, and was createdbde1996-06-251-6/+9
| | | | | | | | | too late to be used in all cases. It should probably be created (early) in bsd.kmod.mk for all LKMs. Use cc instead of cpp | as for the same reasons as in the kernel makefile. CFLAGS isn't split up as well as in the kernel makefile, but cc doesn't pass compiler warning flags to cpp, so there is no need to split it.
* trap.c:bde1996-06-259-192/+37
| | | | | | | | | | | | | | | | | | | | | | | Fixed profiling of system times. It was pre-4.4Lite and didn't support statclocks. System times were too small by a factor of 8. Handle deferred profiling ticks the 4.4Lite way: use addupc_task() instead of addupc(). Call addupc_task() directly instead of using the ADDUPC() macro. Removed vestigial support for PROFTIMER. switch.s: Removed addupc(). resourcevar.h: Removed ADDUPC() and declarations of addupc(). cpu.h: Updated a comment. i386's never were tahoe's, and the deferred profiling tick became (possibly) multiple ticks in 4.4Lite. Obtained from: mostly from NetBSD
* Save John Polstra's initial fix for profiling for reference. Thebde1996-06-253-12/+15
| | | | | | | | multiplication in addupc() overflowed for addresses >= 256K, assuming the usual profil(2) scale parameter of 0x8000. addupc() will go away soon. Submitted by: John Polstra <jdp@polstra.com>
* Change the way moused talk to syscons, now its only delivering mouseeventssos1996-06-258-362/+692
| | | | | | | | via an ioctl (MOUSE_ACTION). Fixed a couple of bugs (destructive cursor, uncut, jitter). Now applications can use the mouse via the MOUSE_MODE ioctl, its possible to have a signal sent on mouseevents, makeing an event loop in the application take over mouseevents.
* Fixed end condition for clustered reads.dg1996-06-251-2/+2
| | | | Submitted by: Kirk McKusick via Lite-2 and email
* Limit the scan for preloading pte's to the end of an object.dyson1996-06-252-2/+8
|
* Fix some serious problems with limits checking in the sbrk(2)/brk(2)dyson1996-06-251-13/+25
| | | | | code. Reviewed by: bde
* Allow fragment checking to work with specific protocols.alex1996-06-251-16/+26
| | | | | | | | | | Reviewed by: phk Reject the addition of rules that will never match (for example, 1.2.3.4:255.255.255.0). User level utilities specify the policy by either masking the IP address for the user (as ipfw(8) does) or rejecting the entry with an error. In either case, the kernel should not modify chain entries to make them work.
* Remove another extraneous setting of if_lastchangegpalmer1996-06-241-2/+1
|
* Ensure that media protection is released before attempting to eject thegibbs1996-06-242-13/+25
| | | | | | | | | | | media in all cases. Remove SCSI_2_MAX_DENSITY_CODE definition and rely on the device to tell us if we attempt an invalid setting. Closes PR 1245. Submitted by: fredriks@mcs.com a few changes by me.
* Remove RSS limiting until I rewrite the code to be non-recursive. Thedyson1996-06-241-9/+5
| | | | code can overrun the kernel stack under very stressful conditions.
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-241-24/+8
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Fix problem with scb flag handing that crept in with the SCB paging support.gibbs1996-06-231-58/+59
| | | | | | | This only affected userland initiated device resets (using the reset command from cdplay for instance). Convert some spaces to tabs.
* Oops, forget the fact that LINT compiles (fixing previos PAS commi)ache1996-06-233-12/+15
|
* Describe the way how to add OPL for PAS without conflictache1996-06-233-6/+12
|
* Unstaticize psratio and staticize profprocs. psratio needs to be exportedbde1996-06-234-16/+20
| | | | to trap.c to fix user profiling.
* Don't truncate minor or major numbers in the nfsv3 client.bde1996-06-234-12/+12
|
* Moved declarations of static functions to the correct file. This fixesbde1996-06-236-111/+111
| | | | hundreds of warnings from -Wunused in lkm/syscons/*.
* Removed unused #include. Linux doesn't support SCO consoles.bde1996-06-232-4/+2
|
* Forward-declare a struct tag so that this doesn't depend on a side effectbde1996-06-231-1/+2
| | | | of indirectly including <i386/isa/isa_device.h>.
* Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative)bde1996-06-232-4/+4
| | | | path.
* Don't claim to be a VFS_LKM - generate vnode_if.h by putting it in SRCS.bde1996-06-231-5/+4
| | | | | Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative) path.
* Don't (re)define ACTUALLY_LKM_NOT_KERNEL. It wasn't even used by thebde1996-06-231-1/+1
| | | | | | | joy driver proper. Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative) path.
* Finished converting ipfw to use opt_ipfw.h.bde1996-06-231-1/+2
|
* Don't (re)define or use ACTUALLY_LKM_NOT_KERNEL - use the existingbde1996-06-231-1/+1
| | | | | | | | definition of QCAM_MODULE for everything involving LKM'ness. Makefile: Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative) path.
* Use IPFIREWALL_MODULE instead of ACTUALLY_LKM_NOT_KERNEL to indicatebde1996-06-232-6/+7
| | | | | | | | | | LKM'ness. ACTUALLY_LKM_NOT_KERNEL is supposed to be so ugly that it only gets used until <machine/conf.h> goes away. bsd.kmod.mk should define a better-named general macro for this. Some places use PSEUDO_LKM. This is another bad name. Makefile: Added IPFIREWALL_VERBOSE_LIMIT option (commented out).
* Disabled unusable union lkm.bde1996-06-231-3/+3
|
* Describe MAXMEM better. Enable it by default. (It's a positive option.bde1996-06-233-15/+18
| | | | Only negative options in LINT should be enabled.)
* Remove an un-necessary call to microtime() to set if_lastchangegpalmer1996-06-231-1/+0
| | | | as it is set in the call to if_down in the line above
* Dump the timeout for st_erase().joerg1996-06-221-2/+2
| | | | | | Fixes PR # kern/1341: Bug fix for SCSI tape Submitted by: tundra@tundrware.com
* Set the rmx.rmx_expire to 0 when creating fake ethernet addresses for thepeter1996-06-211-1/+3
| | | | | | | broadcast and multicast routes, otherwise they will be expired by arptimeout after a few minutes, reverting to " (incomplete)". This makes the work done by rev 1.27 stay around until the route itself is deleted. This is mainly cosmetic for 'arp' and 'netstat -r'.
* When writing the settings for stop bits and output hardware flow control,peter1996-06-212-36/+48
| | | | | | | | | things tend to work better if you write the settings to the correct register.. (*blush*). This subtle bug has been haunting me for ages, and will solve a few problems that have been reported to me. Also, take a shot at fixing the serial BREAK processing, what was there before never really worked. (There is a PR on this I think)
* Oops, fix a bug that caused updates to the screen to happen, withoutsos1996-06-213-6/+18
| | | | anything actually changed, in this case the mousepointer logic.
* Some news for syscons (long overdue):sos1996-06-218-317/+568
| | | | | | | | Real support for a Textmode mousecursor, works by reprogramming the charset. Together with this support for cut&paste in text mode. To use it a userland daemon is needed (moused), which provides the interface to the various mice protokols. Bug fixes here and there, all known PR's closed by this update.
* Improve algorithm for page hash queue. It was previously aboutdyson1996-06-211-2/+2
| | | | | as bad as it could be. This algorithm appears to improve fork performance (barely) measurably.
* Use the route that's guaranteed to exist when picking a source addressfenner1996-06-201-2/+2
| | | | | | | | | | for ARP requests. The NetBSD version of this patch (see NetBSD PR kern/2381) has this change already. This should close our PR kern/1140 . Although it's not quite what he submitted, I got the idea from him so Submitted by: Jin Guojun <jin@george.lbl.gov>
* Remove one last rip_output from inetsw (gpalmer missed it in rev 1.30)fenner1996-06-201-2/+2
|
* Put the 'debug' messages of the type:nate1996-06-201-1/+3
| | | | | | | /kernel: in_rtqtimo: adjusted rtq_reallyold to 1066 /kernel: in_rtqtimo: adjusted rtq_reallyold to 710 inside of #ifdef DIAGNOSTIC to avoid the support questions from folks asking what this means.
* Properly account for non-page aligned buffers.dg1996-06-202-6/+8
|
* Minor KNF formatting change to vmapbuf() and vunmapbuf().dg1996-06-202-26/+18
|
OpenPOWER on IntegriCloud