| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
were always in a tss; that tss just changed from the one in the
pcb to common_tss (who knows where it was when there was no curpcb?).
Not using the pcb also fixed the problem that there is no pcb in
idle(), so we now always get useful register values.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
same directory pair.
If we do:
mount -t union a b
mount -t union a b
then, (1) namei tries to lock fs which has been already locked by
first union mount and (2) union_root() tries to lock locked fs. To
avoid first deadlock condition, unlock vnode if lowerrootvp is union
node, and to avoid second case, union_mount returns EDEADLK when multi
union mount is detected.
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
|
|
|
| |
Add some more diagnostic information to timeouts.
|
|
|
|
| |
spurious selection timeouts that have been reported.
|
|
|
|
|
|
| |
is to decrease the inconvienience of other developers until I can
really fix the code.
Reviewed by: Donald J. Maddox <dmaddox@scsn.net>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
for the ix driver.
Add a shutdown hook that resets the etherexpress so that Windoze can find
the card after a warm boot.
Submitted by: Aaron Smith <aaron@tau.veritas.com>
Obtained From: NetBSD
|
|
|
|
|
|
|
|
| |
Add an ie entry that corresponds to the location the old ix entry used
to probe and kill the ix entry.
files.i386:
Remove entries for the ix driver.
|
|
|
|
|
|
|
|
| |
switching to a child for the first time was being counted twice. I think
this only affected unimportant statistics.
Simplified arg handling in fork_trampoline(). splz() doesn't actually
smash the registers of interest.
|
|
|
|
|
|
|
|
| |
cause noise.
Duplicated the lseek() redeclaration hack for all functions involving
off_t's (ftruncate(), mmap() and truncate()) to help broken programs
work.
|
|
|
|
|
|
|
|
|
|
|
|
| |
<machine/types.h> gets redefined in the non-GNU and non-ANSI cases.
Since this hasn't caused problems, there must be no one actually
benefitting from the obfuscations supported by <sys/cdefs.h>.
`make CC="cc -traditional"' in /usr/src/bin shows the same. Almost
everything is broken in essentially the same way - `const' is used
in strings before <sys/cdefs.h> is included, so `const' is not
#defined away until after it is used.
Fixed some style bugs.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
dolock is not set (that is, targetvp == overlaying vnode object).
Current code use FIXUP macro to do this, and never unlocks overlaying
vnode object in union_fsync. So, the vnode object will be locked
twice and never unlocked.
PR: 3271
Submitted by: kato
|
|
|
|
|
|
|
|
|
|
| |
relookup() in union_relookup() is succeeded. However, if relookup()
returns non-zero value, that is relookup fails, VOP_MKDIR is never
called (c.f. union_mkshadow). Thus, pathname buffer is never FREEed.
Reviewed by: phk
Submitted by: kato
PR: 3262
|
|
|
|
|
|
|
|
|
| |
union_vn_create(), following bcopy copies cn.cn_namlen + 1 bytes to
cn.cn_pnbuf
PR: 3255
Reviewed by: phk
Submitted by: kato
|
|
|
|
|
| |
we don't have to use the libc related files in sys/misc/unionfs
directory.
|
| |
|
|
|
|
|
|
| |
allow large systems to boot successfully with bounce buffers compiled
in. We are now limiting bounce space to 512K. The 8MB allocated for
a 512MB system is very bogus -- and that is now fixed.
|
|
|
|
|
|
|
| |
the pv entries. This problem has become obvious due to the increase
in the size of the pv entries. We need to create a more intelligent
policy for pv entry management eventually.
Submitted by: David Greenman <dg@freebsd.org>
|
|
|
|
|
|
|
| |
cache queue more often. The pageout daemon had to be waken up
more often than necessary since pages were not put on the
cache queue, when they should have been.
Submitted by: David Greenman <dg@freebsd.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fork. (On my machine, fork is about 240usecs, vfork is 78usecs.)
Implement rfork(!RFPROC !RFMEM), which allows a thread to divorce its memory
from the other threads of a group.
Implement rfork(!RFPROC RFCFDG), which closes all file descriptors, eliminating
possible existing shares with other threads/processes.
Implement rfork(!RFPROC RFFDG), which divorces the file descriptors for a
thread from the rest of the group.
Fix the case where a thread does an exec. It is almost nonsense for a thread
to modify the other threads address space by an exec, so we
now automatically divorce the address space before modifying it.
|
|
|
|
|
| |
basic cursor movements. Assumes ANSI/DEC tty, but you can still resort
to plain emacs ^p/^n etc anyway.
|
|
|
|
| |
change was a false-start, and needs more work.
|
|
|
|
| |
away the VM space of all of the other, associated threads.
|
|
|
|
|
| |
routines as function for DDB. The inb and outb are provided as
functions in machdep.c when DDB is defined.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
which mistakenly got committed.
Fix two bugs in the ahc_reset_device code:
Limit search for SCBs to process to those that are active and
are not queued for done processing.
It's okay for an SCB to not have a waiting next SCB.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Be consistant about testing for parity errors after waiting for a
REQ on the bus.
Don't ack the last byte in a transaction until after we've cleared
all target state.
aic7xxx_asm.c:
Test the return value of getopt against -1 not EOF. (Yet another
shameless victum of the style guide being wrong).
|
|
|
|
|
|
| |
<sys/dir.h>, and use the new macro GENERIC_DIRSIZ() instead of DIRSIZ().
Removed unused #includes.
|
|
|
|
|
|
|
|
|
| |
<sys/dir.h>.
Removed unused #include.
Fixed type and order of struct members in pseudo-declaration of `struct
vop_readdir_args'.
|
|
|
|
| |
deprecated header <sys/dir.h>.
|
|
|
|
|
|
|
|
|
|
| |
<dirent.h> should be used instead to a warning. If this causes too
many warnings in ports then it should be changed back after checking
some ports for related configuration errors.
Moved the definition of DIRSIZ() from <sys/dir.h> to <sys/dirent.h>
so that it can be used in the kernel without including <sys/dir.h>.
Renamed it in some cases to avoid new namespace pollution.
|
|
|
|
|
| |
by fs->fs_bsize. The macro is usually faster and makes it clearer
that the multiplication can't overflow.
|
|
|
|
|
|
|
|
|
|
|
|
| |
resetting the keyboard.
Well, sorry, this bug is totally my fault. I DID intend to preserve
them, but somehow I failed.
The bug puts some old keyboard controllers in a strange state,
resulting in keyboard freeze or random key input.
The fix closes PR kern/3067.
|
|
|
|
|
| |
supported nameless pipes being indistinguishable from fifos. We're not
going back.
|
|
|
|
|
|
|
| |
that nameless pipes are not implemented as sockets.
Don't include <sys/time.h> if KERNEL is defined. It should already have
been included by including <sys/param.h>. Fixed a nearby typo.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
longer has anything to do with vnodes and never had anything to do
with buffers, but it needs the definitions of B_READ and B_WRITE
for use with the bogus useracc() interface and was getting them
bogusly due to excessive cleanups in rev.1.49.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Cascade mode of DMA is disabled when PC98 is defined because PC-98
doesn't support it.
|