| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* Consistantly put spaces after "," in macro param lists
* Consistantly align continuation characters.
* Don't need to supply all variations of __FOO__ in CPP_PREDEFINES,
gcc will do that for us.
|
|
|
|
| |
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
|
|
|
|
| |
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
|
| |
|
|
|
|
|
|
| |
Verify that free pages are not dirty.
Submitted by: dillon
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- increase the default timeout from 10 seconds to 60 seconds
- add a new kernel option, SCSI_PT_DEFAULT_TIMEOUT, that lets users specify
the default timeout for the pt driver to use
- add two new ioctls, one to get the timeout for a given pt device, the
other to set the timeout for a given pt device. The idea is that
userland applications using the device can set the timeout to suit their
purposes. The ioctls are defined in a new header file, sys/ptio.h
PR: 10266
Reviewed by: gibbs, joerg
|
|
|
|
|
|
|
|
|
|
| |
seconds to 1 second. This fixes a problem where gdb would appear to
hang on flaky serial connections. There's a theoretical problem that
the relatively short timeout could cause problems on slow links, but
you can override the default value with the 'set remotetimeout'
command.
Approved-by: dfr
|
|
|
|
|
|
|
|
|
|
| |
(num > MAX) ? MAX : num
rather than
(MAX > num) ? MAX : num
Also, make things a little easier to read while I'm here.
|
|
|
|
|
|
|
|
| |
would expect. (Allow user data to be associated with an EditLine context).
As this changes no existing interfaces and doesn't alter any structs
visable to the user I've been told that its not necessary to bump
the version of the library.
|
|
|
|
|
|
| |
order to be able to refer to it uniquely from the kernel debugger.
Approved-by: peter
|
|
|
|
|
| |
-to-
time_to_sleep->tv_nsec >= 1000000000
|
|
|
|
|
|
|
|
| |
calls do to avoid corrupting the thread library's concept of wakeup
time.
PR: kern/12141
Reviewed by: deischen, eivind
|
| |
|
| |
|
|
|
|
|
|
| |
behaviour in all other cases.
Submitted by: Andrew Gordon <arg@arg1.demon.co.uk>
|
|
|
|
|
|
|
|
|
| |
that ppp stays in the foreground.
o Add the -quiet switch to quieten ppps startup
o Add the -nat flag and discourage the use of the -alias flag. Both do
the same thing.
o Correct some nat usage strings.
o Change the internal ``alias'' command to ``nat''.
|
|
|
|
|
|
|
|
| |
there may be an overflow that need to be adjusted more than once.
Pointed out by: Fabian Thylmann <fthylmann@stats.net>
Reviewed by: eivind, jb
|
|
|
|
|
|
| |
- One RTP_PRIO_REALTIME was meant to be RTP_PRIO_IDLE.
- RTP_PRIO_FIFO was not handled.
- Move the usual case first for setrunqueue() etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to achieve a delay is pretty mean.
Andrew reports:
"The tulip_delay_300ns() is, well, bloody stupid on machines with a
heavily loaded PCI bus. It tries to do a delay by assuming PCI reads
will take a certain amount of time & issues a large amount of
(expensive, 5% CPU when your PCI bus is heavily loaded) pci reads.
Locally, we've replaced the calls to tulip_delay_300ns(sc) in the EMIT
macros with a simple DELAY(1) and not seen any problems. Plus we've
gained about 50Mb/sec throughput on our gigabit network cards because
of the added PCI bus bandwidth available."
Also, I do not understand why, but this change appears to stop the
Transmit Fifo underrun on one of my systems (but not the Alpha PC164SX).
This shouldn't make that much of a difference since the mii bus isn't
touched all that often, but perhaps when it does get accessed and hence
hammers the register, it was causing the chip to get upset.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
|
|
|
|
|
|
|
|
| |
into two parts - one to do the bsfl and the other to convert the result
(base 0) to ffs()-like (base 1) in inline C. This enables the optimizer
to be a lot smarter in certain cases, like where it knows that the argument
is non-zero and we want ffs(known non zero arg) - 1. This appears to
produce identical code to the old inline when the argument is unknown.
|
|
|
|
|
|
| |
works correctly in if/else etc. egcs had probably picked up most of the
problems here before with "ambiguous braces" etc, but this should
increase the robustness a bit. Based on an idea from Eivind Eklund.
|
|
|
|
|
|
| |
macro. So now it's (1 +) for the sign and (+ 1) for rounding.
Reported by: bde
|
|
|
|
|
|
|
|
|
|
| |
Use an upward approximation of the number of characters required
for decimal representations of uid_t, gid_t and u_quad_t, intead
of arbitrary values that may not be safe in the future.
Fix disordering.
Requested by: bde
|
|
|
|
| |
Also simply CPP_PREDEFINES a little.
|
|
|
|
|
| |
PR: 13228
Submitted by: "Alexey M. Zelkin" <phantom@cris.net>
|
|
|
|
|
|
| |
PR: misc/7759
Submitted by: Carl Mascott <cmascott@world.std.com>
Reviewed by: jkh
|
|
|
|
|
|
| |
style(9) fixes
Submitted by: Jonathon Lemon
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex
from commands.l.
Submitted by: lpc/cdcontrol patches originally by msmith.
Reviewed by: msmith (in theory)
|
|
|
|
|
| |
generates slightly better code and avoids the incl then subl when
using ffs(foo) - 1.
|
| |
|
|
|
|
| |
to get the mplock and enter the kernel to run a process in the SMP case.
|
|
|
|
|
|
| |
out of the asm code, and as a bonus implements rtprio and idprio for the
Alpha. Previously if you ran an idprio process, you were assured of a
deadlock.
|
| |
|
| |
|
| |
|
|
|
|
| |
Use a spare pad field for saving the run queue index.
|
|
|
|
|
|
|
|
| |
Extract the next runnable process selection out of cpu_switch() into a
fairly machine independent C routine. gcc actually does a pretty good
job of this.
Reviewed by: msmith (in principle)
|
|
|
|
| |
Submitted by: Alexey Zelkin <phantom@cris.net>
|
|
|
|
|
|
|
| |
fairly machine independent C routine. gcc actually does a pretty good
job of this.
Reviewed by: msmith (in principle)
|
|
|
|
|
|
|
| |
and used 'command' instead of 'cmd' in a few cases. Also clear up some
unused variables.
Pointed out by: phk
|
| |
|
|
|
|
|
| |
PR: docs/13233
Submitted by: Alexey Zelkin <phantom@cris.net>
|
|
|
|
| |
Reviewed by: jdp
|
| |
|
|
|
|
|
|
|
|
|
| |
drop any segment arriving at a closed port.
tcp.blackhole=1 - only drop SYN without RST
tcp.blackhole=2 - drop everything without RST
tcp.blackhole=0 - always send RST - default behaviour
This confuses nmap -sF or -sX or -sN quite badly.
|
| |
|
|
|
|
|
|
| |
we need if_name, if_unit. (maybe we should pick up if_xname[] ?)
Pointed out by: jkb@yahoo-inc.com
|