| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
Notes:
svn path=/head/; revision=104699
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Whenever doing a copy-on-write check, first look in the list of
initially allocated blocks to see if it is there. If so, no further
check is needed. If not, fall through and do the full check. This
change eliminates one of two known deadlocks caused by snapshots.
Handling the second deadlock will be the subject of another check-in.
This change also reduces the cost of the copy-on-write check by
speeding up the verification of frequently checked blocks.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=104698
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
even when the underlying device has a larger sector size. Therefore,
the filesystem code should not (and with this patch does not) try to
use the underlying sector size when doing disk block address calculations.
This patch fixes problems in -current when using the swap-based
memory-disk device (mdconfig -a -t swap ...). This bugfix is not
relevant to -stable as -stable does not have the memory-disk device.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=104697
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
documentation already adequatedly existed in the description in most
cases. Where it did not, it was added. If no documentation existed
beforehand, then none was added. Some unused dummies for use in the
traversal functions were marked as __unused during the conversion.
Occasionally, local style fixes were applied to lines already being
modified or influenced.
Now make(1) should always build with WARNS=3.
Notes:
svn path=/head/; revision=104696
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in specific situations. The owner thread must be blocked, and the
borrower can not proceed back to user space with the borrowed KSE.
The borrower will return the KSE on the next context switch where
teh owner wants it back. This removes a lot of possible
race conditions and deadlocks. It is consceivable that the
borrower should inherit the priority of the owner too.
that's another discussion and would be simple to do.
Also, as part of this, the "preallocatd spare thread" is attached to the
thread doing a syscall rather than the KSE. This removes the need to lock
the scheduler when we want to access it, as it's now "at hand".
DDB now shows a lot mor info for threaded proceses though it may need
some optimisation to squeeze it all back into 80 chars again.
(possible JKH project)
Upcalls are now "bound" threads, but "KSE Lending" now means that
other completing syscalls can be completed using that KSE before the upcall
finally makes it back to the UTS. (getting threads OUT OF THE KERNEL is
one of the highest priorities in the KSE system.) The upcall when it happens
will present all the completed syscalls to the KSE for selection.
Notes:
svn path=/head/; revision=104695
|
|
|
|
|
|
|
|
| |
defined to __RCSID when bootstrapping, by the Makefile, but this change is
for consistency
Notes:
svn path=/head/; revision=104694
|
|
|
|
|
|
|
| |
happily fit into headers.
Notes:
svn path=/head/; revision=104693
|
|
|
|
| |
Notes:
svn path=/head/; revision=104692
|
|
|
|
|
|
|
| |
at mike@'s request.
Notes:
svn path=/head/; revision=104691
|
|
|
|
|
|
|
| |
in a KSE group that may be simultaneously blocked in the kernel.
Notes:
svn path=/head/; revision=104690
|
|
|
|
|
|
|
|
|
| |
operate on the correct data (properly).
Tracked down by: Dan Nelson
Notes:
svn path=/head/; revision=104689
|
|
|
|
|
|
|
|
| |
Pointy hat to: me
Found by: green
Notes:
svn path=/head/; revision=104688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) It never was very funny.
2) It was a N line shell script where N is less than
X, where X is the number of lines of the Berkeley
copyright and license.
3) I rewrote it in C with the intention of making it
more interactive, ala the movie, but never did.
4) Because it really is possible for at least some
parts of a distribution to shrink between releases.
X-No-MFC: This game will remain in RELENG_4 and previous.
X-Bikesheds-To: markm@
Approved by: The #bsdcode cabal.
Obtained from: Professor Falken
Notes:
svn path=/head/; revision=104687
|
|
|
|
| |
Notes:
svn path=/head/; revision=104686
|
|
|
|
| |
Notes:
svn path=/head/; revision=104685
|
|
|
|
|
|
|
|
|
|
|
|
| |
The problem is that the code does a check for the granparent of
the Promise chip, if this is a bridge of the right type, we have
a TX4 on our hands, and need to handle that ones "issues".
Now the grandparent check cause subtle bugs in the newbus system,
mainly that pci_get_devid doesn't return an error value.
This patch works around the issue by using BUS_READ_IVAR() instead.
Notes:
svn path=/head/; revision=104684
|
|
|
|
|
|
|
|
|
|
| |
to run at 0xc000 by changing its virtual start address from 0x1000 to
0x2000.
Tested by: phk
Notes:
svn path=/head/; revision=104683
|
|
|
|
| |
Notes:
svn path=/head/; revision=104682
|
|
|
|
|
|
|
|
|
|
|
|
| |
structure. This has been broken since 1998, but probably hasn't been
noticed because it takes a read/write of 64K blocks (32MB with 512 byte
blocks) to trigger using the 12 byte read/write CDB in scsi_read_write().
Submitted by: "Moore, Eric Dean" <emoore@lsil.com>
MFC after: 3 days
Notes:
svn path=/head/; revision=104681
|
|
|
|
|
|
|
|
|
| |
don't bother with libkern.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=104680
|
|
|
|
|
|
|
| |
Sponsored by: DARPA & NAI labs
Notes:
svn path=/head/; revision=104679
|
|
|
|
|
|
|
|
|
|
|
|
| |
divide/remainder calls. For reasons not resolved, compiling the
relevant routines from libkern into boot2 results in stack corruption.
Do the simple thing: Don't use 64bit divide/remainder operations.
Sponsored by: DARPA & NAI Labs
Notes:
svn path=/head/; revision=104678
|
|
|
|
| |
Notes:
svn path=/head/; revision=104677
|
|
|
|
| |
Notes:
svn path=/head/; revision=104676
|
|
|
|
| |
Notes:
svn path=/head/; revision=104675
|
|
|
|
| |
Notes:
svn path=/head/; revision=104674
|
|
|
|
|
|
|
|
| |
also improves the "random undocumented offsets into various memory
spaces" a little bit.
Notes:
svn path=/head/; revision=104673
|
|
|
|
|
|
|
|
|
|
|
| |
are later stripped with rmescapes() in expandarg(). If the filename has
already been unescaped, doing it again in rmescapes() can walk off the
end of the string, leading to memory corruption and eventually SIGSEGV.
Noticed by: kris
Notes:
svn path=/head/; revision=104672
|
|
|
|
| |
Notes:
svn path=/head/; revision=104671
|
|
|
|
|
|
|
|
|
|
| |
contents is irrelevant and likely to be zero;
This doesn't change the resultant value, but it does save a couple of bytes
because &_end is constant.
Notes:
svn path=/head/; revision=104670
|
|
|
|
|
|
|
|
|
| |
MFC after: 2 months
Sponsored by: Bright Path Solutions
Reviewed by: tjr
Notes:
svn path=/head/; revision=104669
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
work as advertised:
bang# pwd
/bang/src/sys/boot/i386/boot2
bang# make clean >& /dev/null
bang# cvs -q update -r 1.35 Makefile >& /dev/null
bang# make >& /dev/null
bang# cat /usr/obj/`pwd`/boot2.h
#define XREADORG 0x725
bang# cvs -q update -r 1.36 Makefile > & /dev/null
bang# make clean > & /dev/null
bang# make > & /dev/null
bang# cat /usr/obj/`pwd`/boot2.h
#define XREADORG 0x25
bang#
Notes:
svn path=/head/; revision=104668
|
|
|
|
| |
Notes:
svn path=/head/; revision=104667
|
|
|
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=104666
|
|
|
|
|
|
|
|
|
| |
much broken harware around it seems.
Sponsored by: DARPA & NAI Labs.
Notes:
svn path=/head/; revision=104665
|
|
|
|
| |
Notes:
svn path=/head/; revision=104659
|
|
|
|
|
|
|
|
|
|
|
| |
osreldate.
(Actually, due to differences in package compression formats, I'm
not sure that a -CURRENT pkg_add -r will do the right thing in
this case, once it finds them.)
Notes:
svn path=/head/; revision=104658
|
|
|
|
|
|
|
| |
distribution, so this script is no longer needed.
Notes:
svn path=/head/; revision=104656
|
|
|
|
| |
Notes:
svn path=/head/; revision=104653
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
among other things, the DEVFS rule subsystem to match nodes against a
path pattern supplied by the user.
fnmatch.c was repo-copied from src/lib/libc/gen/fnmatch.c, and the
only changes to it are those necessary to make it compile in the
kernel. The relevant parts of fnmatch.h were imported into libkern.h.
Approved by: -arch
Notes:
svn path=/head/; revision=104652
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Implement the thread killing interlock as described by jhb in arch@
while talking to markm.
o Hold Giant around cbb_insert()/cbb_remove(). Deep in the belly of
the vm code we panic if we don't hold this when we activate the memory
for reading the CIS.
o If we had to do the kludge alloc, then do a kludge free.
Notes:
svn path=/head/; revision=104651
|
|
|
|
|
|
|
|
| |
Reviewed by: n_hibma
Approved by: obrien
Notes:
svn path=/head/; revision=104650
|
|
|
|
|
|
|
|
| |
Reviewed by: n_hibma
Approved by: obrien
Notes:
svn path=/head/; revision=104649
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Belkin F5U103
Belkin F5U120-PC Hub
GoHubs GoCOM232
Peracom single port
USB-to-serial adapters.
Reviewed by: n_hibma
Approved by: obrien
Notes:
svn path=/head/; revision=104648
|
|
|
|
|
|
|
| |
FreeBSD uses; f.e. -lpthread -> -pthread, -lxnet -> nothing.
Notes:
svn path=/head/; revision=104647
|
|
|
|
|
|
|
|
|
|
| |
configuration device hierarchy. Device arrival, departure and not
matched are presently reported. This will be the basis for devd, which
I still need to polish a little more before I commit it. If you don't
use /dev/devctl, it will be a noop.
Notes:
svn path=/head/; revision=104644
|
|
|
|
|
|
|
|
|
| |
o Allow the bus_debug variable to be set via the bus.debug tunable.
o Return pnpinfo and location info via the devinfo interface to userland.
devinfo(8) needs to be updated to print it.
Notes:
svn path=/head/; revision=104643
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Better resume code. Move the comments around. Force the socket state to
be querried. Ack the interrupts properly.
o Intercept the interrupt requests and keep a list of interrupts to service
ourselves. When the card attaches, set its OK bit. When we get a card
status change interrupt for that card, clear the OK bit. Don't call the
ISR if the OK bit is cleared. Iwasaki-san and yamamoto-san have both
sent me patches that fix the same problem this fixes, but at the pccard
level.
o Try to get the signalling of the thread to actually die. This might not be
100% right, but it is less wrong than before.
o Add a SIC next to a TI type that looks like it could be wrong, but isn't.
Notes:
svn path=/head/; revision=104642
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the card.
o Add comments about how we're doing the CIS activation.
o Add location and pnp info functions.
o Add better code to hopefully deal with ata cards better (and other drivers
that allocate resources that we didn't preallocate from the CIS). OLDCARD
used to allow it, but NEWCARD was pickier. I'm not 100% sure this works,
but it doesn't break anything.
Notes:
svn path=/head/; revision=104641
|
|
|
|
|
|
|
|
|
| |
give us slightly better error checking than before and interpret what
default bits mean better. See the NetBSD CVS tree for the authors of
these changes (revs 1.10 .. 1.17).
Notes:
svn path=/head/; revision=104640
|