| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
keyboard reset one of my earlier commits has been causing.
|
|
|
|
| |
higher actually, but that's all our MAKEDEV supports at this time)
|
|
|
|
|
| |
Added linefeeds in cuts that extend beyond one line.
Prepared for the mousefunctions to be used in nontext modes.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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."
|
|
|
|
|
| |
resident page stats were not being decremented. This mode corrects
that problem.
|
|
|
|
|
| |
some declarations are moved from <machine/cpufunc.h> to better
places.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: Kirk McKusick via Lite-2 and email
|
| |
|
|
|
|
|
| |
code.
Reviewed by: bde
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
code can overrun the kernel stack under very stressful conditions.
|
|
|
|
|
| |
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
|
|
|
|
|
|
|
| |
This only affected userland initiated device resets (using the reset command
from cdplay for instance).
Convert some spaces to tabs.
|
| |
|
| |
|
|
|
|
| |
to trap.c to fix user profiling.
|
| |
|
|
|
|
| |
hundreds of warnings from -Wunused in lkm/syscons/*.
|
| |
|
|
|
|
| |
of indirectly including <i386/isa/isa_device.h>.
|
|
|
|
| |
path.
|
|
|
|
|
| |
Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative)
path.
|
|
|
|
|
|
|
| |
joy driver proper.
Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative)
path.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
Only negative options in LINT should be enabled.)
|
|
|
|
| |
as it is set in the call to if_down in the line above
|
|
|
|
|
|
| |
Fixes PR # kern/1341: Bug fix for SCSI tape
Submitted by: tundra@tundrware.com
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
anything actually changed, in this case the mousepointer logic.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
as bad as it could be. This algorithm appears to improve fork
performance (barely) measurably.
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
/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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
definition although it would work as it was written.
options "MAXMEM=(128*1024)"
Suggested by: bde
|
|
|
|
| |
very rough.
|