| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
so that this code compiles on alpha.
Notes:
svn path=/head/; revision=106912
|
| |
|
|
|
|
|
| |
Spotted by: FlexeLint.
Notes:
svn path=/head/; revision=105215
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103870
|
| |
|
|
| |
Notes:
svn path=/head/; revision=102291
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
environment needed at boot time to a dynamic subsystem when VM is
up. The dynamic kernel environment is protected by an sx lock.
This adds some new functions to manipulate the kernel environment :
freeenv(), setenv(), unsetenv() and testenv(). freeenv() has to be
called after every getenv() when you have finished using the string.
testenv() only tests if an environment variable is present, and
doesn't require a freeenv() call. setenv() and unsetenv() are self
explanatory.
The kenv(2) syscall exports these new functionalities to userland,
mainly for kenv(1).
Reviewed by: peter
Notes:
svn path=/head/; revision=94936
|
| |
|
|
|
|
|
| |
kernel)
Notes:
svn path=/head/; revision=91448
|
| |
|
|
|
|
|
| |
also don't use ANSI string concatenation.
Notes:
svn path=/head/; revision=87599
|
| |
|
|
|
|
|
|
|
|
|
| |
while it is on a queue with the queue lock and remove the per-task locks.
- Remove TASK_DESTROY now that it is no longer needed.
- Go back to inlining TASK_INIT now that it is short again.
Inspired by: dfr
Notes:
svn path=/head/; revision=85560
|
| |
|
|
|
|
|
|
|
|
|
| |
queue, and a mutex to protect the global list of taskqueues. The only
visible change is that a TASK_DESTROY() macro has been added to mirror
the TASK_INIT() macro to destroy a task before it is free'd.
Submitted by: Andrew Reiter <awr@watson.org>
Notes:
svn path=/head/; revision=85521
|
| |
|
|
|
|
|
| |
Submitted by: HIROSHI OOTA <oota@LSi.nec.co.jp>
Notes:
svn path=/head/; revision=85324
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
Notes:
svn path=/head/; revision=83366
|
| |
|
|
|
|
|
| |
Submitted by: Andrew Doran <ad@netbsd.org>
Notes:
svn path=/head/; revision=80365
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- All sources are built in a single object, reducing namespace pollution.
- Kill the ready queue, and handle a busy response to mly_start in callers
rather than deferring the command.
- Improve our interaction with CAM:
- Don't advertise physical channels as SCSI busses by default.
- use the SIM queue freeze capability rather than queueing CDBs internally.
- force bus reprobe at module load time.
- Clean up more resources in mly_free.
- Tidy up debugging levels.
- Tidy up handling of events (mostly just code cleanliness).
- Use explanatory macros for operations on bus/target/channel numbers.
Notes:
svn path=/head/; revision=79695
|
| |
|
|
|
|
|
|
| |
This was passing a (d_kqfilter_t *)-1 as the kqfilter function pointer.
Fortunately there was no D_KQFILTER in d_flags, so this was harmless.
Notes:
svn path=/head/; revision=78235
|
| |
|
|
|
|
|
| |
transfer speed with.
Notes:
svn path=/head/; revision=75760
|
| |
|
|
|
|
|
|
|
|
| |
I could find. I have no doubt missed a couple.
Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_interrupt sysctl.
Notes:
svn path=/head/; revision=73280
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Convert to a more efficient queueing implementation.
- Don't allocate command buffers on the fly; simply work from a
static pool.
- Add a control device interface, for later use.
- Handle controller overload better as a consequence of the
improved queue implementation.
- Add support for the XPT_GET_TRAN_SETTINGS ccb, and correctly
set the virtual SCSI channels up for multiple outstanding I/Os.
- Update copyrights for 2001.
- Some whitespace fixes to improve readability.
Due to a misunderstanding on my part, previous versions of the
driver were limited to a single outstanding I/O per virtual drive.
Needless to say, this update improves performance substantially.
Notes:
svn path=/head/; revision=73050
|
| |
|
|
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Approved by: msmith
Notes:
svn path=/head/; revision=68877
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
because it only takes a struct tag which makes it impossible to
use unions, typedefs etc.
Define __offsetof() in <machine/ansi.h>
Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h>
Remove myriad of local offsetof() definitions.
Remove includes of <stddef.h> in kernel code.
NB: Kernelcode should *never* include from /usr/include !
Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API.
Deprecate <struct.h> with a warning. The warning turns into an error on
01-12-2000 and the file gets removed entirely on 01-01-2001.
Paritials reviews by: various.
Significant brucifications by: bde
Notes:
svn path=/head/; revision=67708
|
| |
|
|
|
|
|
|
| |
Bogusly include <struct.h> until we have a better place to get
fldoff() from.
Notes:
svn path=/head/; revision=67446
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67164
|
|
|
PCI:SCSI RAID controllers from Mylex.
Notes:
svn path=/head/; revision=64987
|