| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
makes any sense.
Discussed with: dougb, brooks
MFC after: 3 days
|
|
|
|
| |
of kse_thr_interrupt.
|
|
|
|
|
|
| |
restore signal mask correctly, this is required by POSIX.
Reviewed by: deischen
|
|
|
|
|
|
|
|
| |
find more information. Also move the "SUPPORTED DEVICES" section from altq.9
to altq.4, where is belongs.
Requested by: green
MFC after: 2 days
|
|
|
|
| |
the model etc fields from identify.
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
|
|
| |
- explain locking differencies between rtalloc(), rtalloc_ign(), rtalloc1()
and rtfree(), RTFREE().
Reviewed by: andre (1.5 months ago)
OK'd by: ru
|
|
|
|
|
|
|
|
|
|
|
| |
device
device.bde
/dev/device
/dev/device.bde
- Fix stop routine:
+ There don't have to be file system mounted on gbde device,
so ignore errors from umount(8).
+ Only detach existing gbde devices.
|
|
|
|
|
|
| |
PR: i386/72340
Submitted by: Rong-En Fan <rafan@infor.org>
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
| |
I used ugly "/dev/${parent}" instead of "${parentdev}", because "/dev/"
prefix for devices listed in gbde_devices variable is optional.
Reported by: Sean McNeil <sean@mcneil.com>
|
| |
|
|
|
|
| |
Pointy hat to: mtm
|
|
|
|
|
|
|
| |
p1 == curthread, so _PHOLD(p1) will not have to block
to swap in p1.
Noticed by: jhb
|
|
|
|
| |
onto a queue. This made the ENOMEM handling an instant panic.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-O2 on kernel compiles after all. While working on adding a KASSERT
to sparc64/sparc64/rwindow.c I found that it was "position sensitive",
putting it above a call to flushw() instead of below caused corruption
of processes on the system. jake and jhb have both confirmed there is
no obvious explanation for that. The exact same kernel code does not
have the process corruption problem if compiled with -O instead of -O2.
There have been signs of similar issues floated on the sparc64@ mailing
list, lets see if this helps make them go away.
Note this isn't an optimal fix as far as the file format goes, if this
disgusts too many people I'll fix it the right way. Since compiling
with something other than -O is a known problem this format would prevent
a change to the default causing grief. And this may also help motivate
finding out what the compiler is doing wrong so we can shift back to
using -O2. :-)
My turn for the pointy hat... One of the florescent ones...
MFC after: 2 days
|
|
|
|
|
| |
The interchannel locking for PC98 needed to be updated to match the
rest of the locking in ATA.
|
| |
|
|
|
|
| |
especially third party junk^Wpages, like emulators/mtools(1) and friends.
|
|
|
|
|
|
|
| |
- Add a comment noting that the ru_[us]times values being read aren't
actually valid and need to be computed from the raw values.
Submitted by: many (1)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
After some discussion the best option seems to be to signal the thread's
death from within the kernel. This requires that thr_exit() take an
argument.
Discussed with: davidxu, deischen, marcel
MFC after: 3 days
|
|
|
|
| |
Reported by: tegge
|
|
|
|
|
| |
allocated space, orignal code left red zone unallocated, but those space
can be allocated by user code, and result was providing no protection.
|
|
|
|
|
|
|
| |
allocate unallocated memory resources from the top 32MB of the address
space rather than the top 2GB. While the latter works on some
chipsets, it fails badly on others. 32MB is more conservative and
matches what cheap harware from this era is hardwired to pass.
|
|
|
|
|
|
|
|
|
|
|
| |
RAM. Many older, legacy bridges only allow allocation from this
range. This only appies to devices who don't have their memory
assigned by the BIOS (since we allocate the ranges so assigned
exactly), so should have minimal impact.
Hoewver, for CardBus bridges (cbb), they rarely get the resources
allocated by the BIOS, and this patch helps them greatly. Typically
the 'bad Vcc' messages are caused by this problem.
|
|
|
|
| |
Pointy hat to: brooks
|
|
|
|
|
|
|
|
|
| |
(and panic). To try to finish making BPF safe, at the very least,
the BPF descriptor lock really needs to change into a reader/writer
lock that controls access to "settings," and a mutex that controls
access to the selinfo/knote/callout. Also, use of callout_drain()
instead of callout_stop() (which is really a much more widespread
issue).
|
|
|
|
|
|
| |
to ticks, whereas hzto() converts an absolute time to ticks)
Obtained from: KAME
|
|
|
|
|
| |
is model 2 in the Itanium 2 family and has up to 9MB of L3 cache and clocks
higher than 1.5Ghz. There's no LV variant AFAICT.
|
|
|
|
| |
be changed when thr_create is running, and we tested it for several times.
|
|
|
|
|
|
| |
to clean the vnode. If v_data is set, we still need to
clean it. This code change should catch all incidents of
the previous commit (INVARIANTS only).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Discussion: this panic (or waning) only occurs when the kernel is
compiled with INVARIANTS. Otherwise the problem (which means that
the vp->v_data field isn't NULL, and represents a coding error and
possibly a memory leak) is silently ignored by setting it to NULL
later on.
Panicking here isn't very helpful: by this time, we can only find
the symptoms. The panic occurs long after the reason for "not
cleaning" has been forgotten; in the case in point, it was the
result of severe file system corruption which left the v_type field
set to VBAD. That issue will be addressed by a separate commit.
|
|
|
|
| |
he'd like to keep these code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
all other threads to suicide, problem is execve() could be failed, and
a failed execve() would change threaded process to unthreaded, this side
effect is unexpected.
The new code introduces a new single threading mode SINGLE_BOUNDARY, in
the mode, all threads should suspend themself at user boundary except
the singler. we can not use SINGLE_NO_EXIT because we want to start from
a clean state if execve() is successful, suspending other threads at unknown
point and later resuming them from there and forcing them to exit at user
boundary may cause the process to start from a dirty state. If execve() is
successful, current thread upgrades to SINGLE_EXIT mode and forces other
threads to suicide at user boundary, otherwise, other threads will be resumed
and their interrupted syscall will be restarted.
Reviewed by: julian
|
|
|
|
| |
Submitted by: stefanf
|
|
|
|
| |
error, it would exit() (and it needs to return a value).
|
|
|
|
|
| |
path. Doing so makes no sense. I'm not sure allowing relative paths
makes sense either, but I'm not going to break that now.
|
|
|
|
| |
MFC after: 4 days
|
| |
|
|
|
|
| |
MFC after: 4 days
|
|
|
|
|
|
| |
(Only really implemented in 4bsd)
MFC after: 4 days
|
|
|
|
| |
MFC after: 4 days
|
| |
|
|
|
|
|
|
| |
easier debugging.
MFC after: 4 days
|
|
|
|
|
|
| |
more correct
MFC after: 4 days
|
| |
|
|
|
|
| |
MFC after: 3 days
|