| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
with ULE. This was not strictly required by sched_4bsd.
|
|
|
|
| |
- Call sched_exit_kse() from sched_exit() instead of implementing it here.
|
|
|
|
| |
is reflected in the load now and you can't very well migrate that.
|
|
|
|
|
|
|
|
| |
the second kseq's run queue so that it is referenced by the kse when
it is switched out.
- Spell ksq_rslices properly.
Reported by: Ian Freislich <ianf@za.uu.net>
|
|
|
|
| |
by -legacy, liblegacy.a should come last in the LDADD list.
|
| |
|
|
|
|
|
|
|
|
|
| |
the list of supported sleep state.
This should help people understand what following message means.
acpi0: AcpiGetSleepTypeData failed - AE_NOT_FOUND
MFC after: 3 days
|
| |
|
| |
|
|
|
|
| |
this commit fixes an user LDT smp rendezvous bug.
|
|
|
|
| |
fails. The documentation was incorrectly updated in getbootfile.3 rev. 1.10.
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
|
|
|
|
|
|
| |
- Remove a useless device_is_alive() check.
- Disable interrupts if bus_child_present() so that this
check is more useful.
This fixes the hangs I was seeing when unloading the fxp driver.
Suggestions from: hsu, njl
|
|
|
|
|
|
| |
the mbuf as read only.
Reviewed by: gallatin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Allow user adjustable min and max time slices (suggested by hiten).
- Change the SLP_RUN_MAX to 100ms from 2 seconds so that we learn whether a
process is interactive or not much more quickly.
- Place a process on the current run queue if it is interactive or if it is
running at an interrupt thread priority due to priority prop.
- Use the 'current' timeshare queue for interrupt threads, realtime threads,
and idle threads that are running at higher priority due to priority prop.
This fixes problems where priorities would have been elevated but we would
not check the timeshare run queue until other lower priority tasks were
no longer runnable.
- Keep an array of loads indexed by the priority class as well as a global
load.
- Keep an bucket of nice values with a count of the number of kses currently
runnable with that nice value.
- Keep track of the minimum nice value of any running thread.
- Remove the unused short term sleep accounting. I was attempting to use
this for load balancing but it didn't work out.
- Define a kseq_print() for use with debugging.
- Add KTR debugging at useful places so we can easily debug slice and
priority assignment.
- Decouple the runq assignment from the kseq assignment. kseq_add now keeps
track of statistics. This is done so that the nice and load is still
tracked for the currently running process. Previously if a niced process
was added while a non nice process was running the niced process would
still get a slice since it was not aware of the unnice process.
- Make adjustments for the sched api changes.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
of ksegs since they primarily operation on processes.
- KSEs take ticks so pass the kse through sched_clock().
- Add a sched_class() routine that adjusts a ksegrp pri class.
- Define a sched_fork_{kse,thread,ksegrp} and sched_exit_{kse,thread,ksegrp}
that will be used to tell the scheduler about new instances of these
structures within the same process. These will be used by THR and KSE.
- Change sched_4bsd to reflect this API update.
|
| |
|
|
|
|
| |
Sponsored by: DARPA, Network Associates Laboratories
|
| |
|
|
|
|
|
|
|
| |
killall(1) -j, mount(8)/umount(8) -F, rtld(1) dynamic mapping and
libmap.conf(5), 1:1 threading.
Modified release notes: Use wlan(4) manpage hyperlink.
|
|
|
|
| |
to bus_dmasync_op_t in my last commit.
|
|
|
|
|
|
|
|
| |
- Be sure to teardown the interrupt first so that "kldunload if_fxp"
doesn't panic the box. It's now deadlocking rather than crashing,
which isn't really better, but I'm unsure this is fxp(4)'s fault.
- Change a bus_dmamap_sync() call to also do a BUS_DMASYNC_PREREAD
now that we can pass several operations.
|
|
|
|
|
| |
the TSC timecounter on single-CPU systems even when they are running
an SMP kernel.
|
|
|
|
|
|
| |
enum to an int and redefine the BUS_DMASYNC_* constants as
flags. This allows us to specify several operations in one
call to bus_dmamap_sync() as in NetBSD.
|
|
|
|
|
|
|
|
|
| |
non-alphanumeric characters in these and this will be a hint to the
users that quotes can and should be used in such cases.
PR: docs/42292
Submitted by: Matthias Andree <matthias.andree@web.de>
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
state. Those changed attempted to work around the changed invariant
that inp->in_socket was sometimes now NULL, but the logic wasn't
quite right, meaning that inp->in_socket would be dereferenced by
cr_canseesocket() if security.bsd.see_other_uids, jail, or MAC
were in use. Attempt to clarify and correct the logic.
Note: the work-around originally introduced with the reduced TCP
wait state handling to use cr_cansee() instead of cr_canseesocket()
in this case isn't really right, although it "Does the right thing"
for most of the cases in the base system. We'll need to address
this at some point in the future.
Pointed out by: dcs
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
|
|
|
|
|
| |
interrupts by only disabling the interrupt in hardware if
the handler being removed is the only handler.
|
|
|
|
|
|
| |
in rev 1.61 of pmap.c.
- Now that pmap_page_is_free() is empty and since it is just a hack for
the Alpha pmap, remove it.
|
|
|
|
| |
to malloc flag converter.
|
| |
|
|
|
|
|
| |
The entry in the KSE still exists but it's purpose will change a bit
when we add the ability to lock a KSE to a cpu.
|
|
|
|
| |
printing the model under bootverbose.
|
|
|
|
| |
committed into NEWCARD.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
bump the date of the man page.
PR: docs/24797
Reviewed by: bde, jake, jhb
|
|
|
|
| |
standard.
|
|
|
|
| |
Submitted by: Mathew Kanner <mat@cnd.mcgill.ca>
|
|
|
|
| |
- Regenerate.
|
|
|
|
| |
Submitted by: Mathew Kanner <mat@cnd.mcgill.ca>
|
|
|
|
| |
From NetBSD
|
|
|
|
|
|
|
|
|
|
| |
is required. NetBSD has one because it checks for the mac address
match as well wanting to give its own string in the description.
Since we do neither, we don't need a separate entry.
# I suspect that a few of the COREGA cards might fall into that category
# as well, but since I don't have access to any of them it is hard to know
# for sure.
|
|
|
|
|
|
|
| |
- corrected wording in a log message.
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
|
| |
needed). Remove duplicate kingston kne2 entry.
Info obtained from NetBSD
|
|
|
|
| |
for adding them back. This saves about 2.5k of code space.
|
| |
|
|
|
|
|
|
|
| |
at boot. Funny how often this trivial piece of information crops up
in embedded boxen.
Sponsored by: St. Bernard Software
|