| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
to allow dumping per-thread machine specific notes. On ia64 we use this
function to flush the dirty registers onto the backingstore before we
write out the PRSTATUS notes.
Tested on: alpha, amd64, i386, ia64 & sparc64
Not tested on: arm, powerpc
|
|
|
|
|
|
|
|
|
|
| |
a standard configuration similar to [NO_]ADAPTIVE_MUTEXES. This
feature causes Giant to be included in the set of mutexes adaptively
spun on. It appears to have a positive effect on performance on SMP
across several workloads, including measurements of a 16% improvement
on buildworld, and 30%+ improvement for MySQL using the supersmack
benchmark with Giant over the network stack; a 6% improvement without
Giant on the network stack (as a result of less giant contention).
|
|
|
|
|
|
|
|
|
| |
we may sleep when doing so; check that we didn't race with another thread
allocating storage for the vnode after allocation is made to a local
pointer, and only update the vnode pointer if it's still NULL. Otherwise,
accept that another thread got there first, and release the local storage.
Discussed with: jmg
|
|
|
|
| |
Update md5 hash
|
| |
|
|
|
|
|
| |
by Giant; the contents are protected by the pollinfo mutex. We rely
on Giant to prevent races in assigning the value of v_pollinfo.
|
|
|
|
| |
simpler to link directly into the Hardware Notes.
|
| |
|
| |
|
|
|
|
|
| |
bus_generic_suspend method does this for us. Disable interrupts before
entering S1. This may help some systems suspend to S1 successfully.
|
|
|
|
|
|
|
| |
the spl calls.
Reviewed by: phk@
Discussed with: scottl@
|
|
|
|
| |
check still needs implementation on arm.
|
|
|
|
| |
lists a bit while I'm here anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement the protection check required by the pmap_extract_and_hold()
specification.
Remove the acquisition and release of Giant from pmap_extract_and_hold() and
pmap_protect().
Many thanks to Ken Smith for resolving a sparc64-specific initialization
problem in my original patch.
Tested by: kensmith@
|
|
|
|
|
| |
the worklist mutex at the same time, so move the mtx_destroy() call
to gv_kill_thread().
|
| |
|
|
|
|
| |
- Improve code readabilty a bit.
|
|
|
|
|
| |
which allow to store provider's name in the metadata and avoid
problems when few providers share the same last sector.
|
|
|
|
| |
packet related problems. No problems have been reported.
|
|
|
|
|
|
|
| |
bio_driver1 (as all the rest).
This introduced a small memory leak, but it wasn't really critical,
because maximum memory for g_stripe_zone is always set, so after few
requests gstripe was working in "economic" mode.
|
| |
|
|
|
|
|
|
| |
run on non-ECC, plain vanilla PC133 PC SDRAM DIMMs.
Thanks to: obrien@ for the donation of a 164sx mlb.
|
|
|
|
|
|
|
|
| |
contents of /usr/src/rescue. Until now, the files were shipped with
releases but sysinstall would ignore them (resulting in a non-buildable
source tree).
Sanity checked by: jhb
|
|
|
|
|
|
| |
condition variables with that of msleep().
Reviewed by: davidxu
|
| |
|
| |
|
|
|
|
|
| |
a case where ENOMEM could be returned by munlock(2), and add possible
system deadlock to the BUGS section.
|
|
|
|
|
| |
argument and that allocation occurs from the end of the address space
backward (still first-fit).
|
| |
|
|
|
|
| |
Prodded by: grehan
|
|
|
|
|
|
| |
that will not emit the bad MAKE=make line that caused the breakage.
Submitted by: ru
|
| |
|
|
|
|
|
|
| |
are resevered, they can be written with anything, but they always read
as zero, we should simulate it in set_regs() as we are reading/writting
real hardware %rflags register.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| | |
stdint.h.
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
contributed to the transferable load count. This prevents any potential
problems with sched_pin() being used around calls to setrunqueue().
- Change the sched_add() load balancing algorithm to try to migrate on
wakeup. This attempts to place threads that communicate with each other
on the same CPU.
- Don't clear the idle counts in kseq_transfer(), let the cpus do that when
they call sched_add() from kseq_assign().
- Correct a few out of date comments.
- Make sure the ke_cpu field is correct when we preempt.
- Call kseq_assign() from sched_clock() to catch any assignments that were
done without IPI. Presently all assignments are done with an IPI, but I'm
trying a patch that limits that.
- Don't migrate a thread if it is still runnable in sched_add(). Previously,
this could only happen for KSE threads, but due to changes to
sched_switch() all threads went through this path.
- Remove some code that was added with preemption but is not necessary.
|
| |
| |
| |
| |
| |
| |
| | |
hasn't been any package build for ia64 for a long time and in this
case it means that the cdrtools package on the FTP sites is one that
doesn't have mkisofs. This breaks the release build. By trying to
build the port first, we protect ourselves a bit more against this.
|
| |
| |
| |
| |
| |
| |
| | |
Specifically, change the second level menu title from 'Country' to
'Country or Region', since e.g. Hong Kong is not a country.
Submitted by: Xin LI <delphij@frontfree.net>
|
| |
| |
| |
| | |
this portion of the build.
|
| |
| |
| |
| |
| |
| | |
able to run MPsafe (and appears to be MPsafe).
Discussed with (some time ago): sam
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
umich copyright is asserting.
Clarify that the copyright I'm asserting is the standard Berkeley
license.
Remove Giant assertions from AARP and DDP input routines.
|
| |
| |
| |
| |
| |
| |
| | |
There are still a few nits to work out (graphical config non-functional).
Patches by: anholt@, adapted slightly
Reviewed by: 'make release'
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
another process already has /dev/snp0 open, the snp(4) will return
EBUSY, in which case watch will try to open /dev/snp1..9. Currently
watch does not check errno to see if the failure was a result of EBUSY.
This results in watch making futile attempts to open snp0..snp9 even
though devices may not exist or the caller does not have permissions
to access the device.
In addition to this, it attempts to setup the screen for snooping even
though it may not ever get an snp device.
So this patch does two things
1) Checks errno for EBUSY, if open(2) fails for another reason
print that reason and exit.
2) setup the terminal for snooping after the snp descriptor has
been obtained.
Approved by: bmilekic (mentor)
|
| |
| |
| |
| |
| |
| | |
variable used to flag the initial printf.
Submitted by: truckman (earlier version)
|
| | |
|
| |
| |
| |
| |
| |
| | |
is here so that we can gather stats on the nature of the recent rash of
hard lockups, and in this particular case panic the machine instead of
letting it deadlock forever.
|
| |
| |
| |
| |
| |
| |
| |
| | |
becauses some syscalls using set_mcontext can sneakily change
parameters and later when those syscalls references parameters,
they will wrongly use register values in mcontext_t.
Approved by: peter
|
| |
| |
| |
| |
| | |
reserve some bits in flag words for upcoming work.
Note the unused bits so they can be found easier.
|