| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
- remove unncessary descriptor updates.
|
|
|
|
|
| |
- Improve debug message for mbuf handling.
- Wait 1 sec for DMA stop in fwohci_i{t,r}x_disable() before freeing buffers.
|
|
|
|
| |
bootstrap code for disklabel using architectures.
|
|
|
|
|
| |
There is little if any reason to treat the two components separately
and it will simplify disklabel(8) and libdisk if we didn't.
|
|
|
|
| |
Spotted by: tjr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
data structure called kse_upcall to manage UPCALL. All KSE binding
and loaning code are gone.
A thread owns an upcall can collect all completed syscall contexts in
its ksegrp, turn itself into UPCALL mode, and takes those contexts back
to userland. Any thread without upcall structure has to export their
contexts and exit at user boundary.
Any thread running in user mode owns an upcall structure, when it enters
kernel, if the kse mailbox's current thread pointer is not NULL, then
when the thread is blocked in kernel, a new UPCALL thread is created and
the upcall structure is transfered to the new UPCALL thread. if the kse
mailbox's current thread pointer is NULL, then when a thread is blocked
in kernel, no UPCALL thread will be created.
Each upcall always has an owner thread. Userland can remove an upcall by
calling kse_exit, when all upcalls in ksegrp are removed, the group is
atomatically shutdown. An upcall owner thread also exits when process is
in exiting state. when an owner thread exits, the upcall it owns is also
removed.
KSE is a pure scheduler entity. it represents a virtual cpu. when a thread
is running, it always has a KSE associated with it. scheduler is free to
assign a KSE to thread according thread priority, if thread priority is changed,
KSE can be moved from one thread to another.
When a ksegrp is created, there is always N KSEs created in the group. the
N is the number of physical cpu in the current system. This makes it is
possible that even an userland UTS is single CPU safe, threads in kernel still
can execute on different cpu in parallel. Userland calls kse_create to add more
upcall structures into ksegrp to increase concurrent in userland itself, kernel
is not restricted by number of upcalls userland provides.
The code hasn't been tested under SMP by author due to lack of hardware.
Reviewed by: julian
|
| |
|
|
|
|
|
| |
Pointy hat to: jeff
Spotted by: dillon
|
| |
|
|
|
|
|
| |
of the scheduler.
- Add SCHED_4BSD as the scheduler for all kernel config files in cvs.
|
|
|
|
|
| |
scheduler with many SMP benefits. It is still very experimental and should
be used only in test environments.
|
| |
|
| |
|
|
|
|
| |
the user tlb fault handlers.
|
|
|
|
| |
in the prom but no keyboard is plugged in.
|
|
|
|
|
|
|
|
|
|
|
| |
functions implemented approximately the same limits on fragment memory
usage, but in different fashions.)
End user visible changes:
- Fragment reassembly queues are freed in a FIFO manner when maxfragpackets
has been reached, rather than all reassembly stopping.
MFC after: 5 days
|
|
|
|
| |
Submitted by: joerg
|
| |
|
| |
|
|
|
|
|
| |
PR: 47469
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
|
| |
|
|
|
|
|
| |
PR: 47471
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
|
| |
|
| |
|
|
|
|
|
|
| |
- include information about itself.
- define struct fw_devinfo and use it in struct fw_devlstreq.
- unify EUI64 representation using struct fw_eui64.
|
|
|
|
|
|
|
|
|
|
| |
potential discontinuities in our UTC timescale.
Applications can monitor this variable if they want to be informed
about steps in the timescale. Slews (ntp and adjtime(2)) and
frequency adjustments (ntp) will not increment this counter, only
operations which set the clock. No attempt is made to classify
size or direction of the step.
|
| |
|
|
|
|
| |
Reviewed by: jhb
|
| |
|
| |
|
|
|
|
|
|
| |
'cat /proc/pid/map'
Submitted by: Arun Sharma <arun.sharma@intel.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
IP fast forwarding, SIOCGIFADDR, setting hardware address (not currently
enabled in cm driver), multicasts (experimental)
- add ARC_MAX_DATA, use IF_HANDOFF, remove arc_sprintf() and some unused
variables
- if_simloop logic is made more similar to ethernet
- drop not ours packets early (if we are not in promiscous mode)
Submitted by: mark tinguely (partially)
|
|
|
|
| |
- Add missing splnet()/splx()
|
| |
|
| |
|
|
|
|
| |
error do their own, more useful printf.
|
|
|
|
|
| |
- Check invalid SID length.
- Add some debug messages.
|
| |
|
|
|
|
|
| |
(which we never used). There is no need to tweak the TPR anymore and
only causes problems.
|
|
|
|
|
|
|
|
| |
commands from below the first 8K of physical memory. A better fix
is to modify the busdma api to allow either inclusion ranges or
multiple exclusion ranges, but that debate is for another day.
MFC After: 2 days
|
|
|
|
| |
it at context switch.
|
|
|
|
| |
problems and we only ever clear it.
|
|
|
|
|
|
|
|
| |
parent device, if there is a parent configured. Modify the result
returned by the parent to indicate that the only supported media
is the currently configured one.
Reviewed by: brooks
|
|
|
|
| |
Submitted by: Chuck McCrobie <mccrobie2000@yahoo.com>
|
|
|
|
| |
ahc and ahd modules have correct dependencies on the assembler.
|
|
|
|
|
|
|
|
|
| |
pretty printing is enabled
Add a dependency on the source files for aicasm so that it will be rebuilt
if out of date.
Simplify.
|
|
|
|
|
|
|
|
| |
to mount_nfs. The sysctl defaults to 1 (paranoid mode). Setting it to 0
will allow an NFS client to receive replies on a different IP then they
were sent to by default.
Submitted by: Sean Eric Fagan <sef@kithrup.com>
|
|
|
|
|
|
|
|
| |
- Sort definition of cpu_* variables appropriately.
- Move cpu_fxsr out of the magic non-BSS set of variables and stick it in
the BSS along with hw_instruction_sse (make the latter static as well).
Submitted by: bde (partially)
|