Commit Graph

159047 Commits

Author SHA1 Message Date
heas
2626a40999 Resolve import conflicts 2007-05-19 17:49:37 +00:00
mhitch
bc467535b8 Fix multiprocessor operation: move a couple of fields in struct cpu_info
to the beginning so they can still be accessed in assymbly code using 8 bit
offsets.  The addition of a big structure in cpu_data moved these outside
the range of the addq instruction.  Gas should have complained that the
immediate value was too large, but just silently truncated it.  I can now
run multiprocessor again.
2007-05-19 17:09:35 +00:00
pooka
68568e7a22 forgot to commit this with puffs_vnops.c 1.72:
Actually, we do need separate "no references in file server" and
"noref + inactive" flags if we wish to correctly support unix open
file semantics and optimize away pre-reclaim cache flushes.  So,
add PNODE_DYING which stands for norefs + inactive.
2007-05-19 16:50:49 +00:00
pooka
121b6fb7b3 Actually, we do need separate "no references in file server" and
"noref + inactive" flags if we wish to correctly support unix open
file semantics and optimize away pre-reclaim cache flushes.  So,
add PNODE_DYING which stands for norefs + inactive.
2007-05-19 16:35:01 +00:00
heas
a924864766 postfix 2.4.1 2007-05-19 16:27:18 +00:00
christos
a118ee6dde use MKMAN=no 2007-05-19 15:39:01 +00:00
christos
1f70ed77a6 use MKMAN=no, ad CVSID, from Kurt Schreiner 2007-05-19 15:38:06 +00:00
christos
be632c9205 make this compile again. Thanks Kurt Schreiner. 2007-05-19 15:35:04 +00:00
tsutsui
4521a25b2f Regen from pcidevs rev 1.880:
> Add IBM GXT250P video.
2007-05-19 14:57:44 +00:00
tsutsui
f21468d172 Add IBM GXT250P video. 2007-05-19 14:56:24 +00:00
wiz
39a58c1651 Bump date for previous. 2007-05-19 14:43:20 +00:00
wiz
0946d2d22d Improve wording for -T. 2007-05-19 14:41:13 +00:00
wiz
760ca22d96 Bump date for previous. 2007-05-19 14:30:55 +00:00
wiz
e2598a32e0 Fix bug introduced by imperfect wizd emulation. 2007-05-19 14:28:42 +00:00
tsutsui
2340b51076 Set DTR and RTS in NS16550_init().
Some terminal requires it even if hardware flow control is disabled.

XXX: should we sync bebox/stand with prep?
2007-05-19 14:26:08 +00:00
isaki
38bf980ecb Use do { } while (0) to macro. 2007-05-19 14:25:26 +00:00
wiz
c54913c02b Remove scheduler activations references. Bump date. 2007-05-19 14:24:42 +00:00
wiz
36f6e8095a Sort options. Bump date. 2007-05-19 14:23:25 +00:00
wiz
febfcb5f7e Fill in AUTHORS section. Bump date. 2007-05-19 14:21:36 +00:00
isaki
2440803ee4 Adapt to the merge of yamt-idlelwp branch.
tested on my X68030.
2007-05-19 14:19:39 +00:00
wiz
b95973aaa7 Sort sections. Use Po/Pc to avoid weird Xr arguments. 2007-05-19 14:18:33 +00:00
wiz
8628fd488d Fix typo. 2007-05-19 14:16:30 +00:00
wiz
019e3a752f regen (including sparc64/fdc) 2007-05-19 14:16:09 +00:00
wiz
cb42c50522 Short options belong together. 2007-05-19 14:15:58 +00:00
pooka
1a07ce5385 quick TODO-list. very incomplete 2007-05-19 12:03:30 +00:00
pooka
cc2ad436bf Allocate buf in 4k chunks instead of 64k chunks. If we are seriously
reclaiming and the network/server is slow, we might have thousands
of buffers allocated at the same time causing the process to run
out of vm space.  Rate limiting the number of outstanding ops would
be a nicer choice, but that requires more complex changes.
2007-05-19 11:01:21 +00:00
pooka
b283afddec support reclaim. set noref setback when removing a node to prompt
immediate reclaim.
2007-05-19 10:38:23 +00:00
agc
c048d63924 Add a function to return the virtual offset in the virtdir_t tree. 2007-05-19 06:15:38 +00:00
he
57451082bc Adapt to the merge of the yamt-idlelwp branch.
curcpu()->ci_want_resched is now required, so get rid of the
want_resched global.  Also, cpu_need_resched() now takes two arguments.
The l_next and l_back fields in struct lwp no longer exists, so delete
references to it from genassym.cf.
Also, m68k/m68k/proc_subr.s is no longer used, says mhitch, so remove its use.

This brings the atari BOOT kernel back to a buildable state.
2007-05-18 22:58:51 +00:00
riz
72c8d580f7 Add 'options TCP_SIGNATURE' to hopefully keep this code from
invisibly breaking periodically, as it's done a couple times.
2007-05-18 22:38:51 +00:00
pavel
224217a90e from FreeBSD's src/sys/dev/bge/if_bgereg.h rev 1.22:
Fix a typo. BGE_HCC_TX_MAX_COAL_BDS_INT is at offset 0x3C24, not 0x3C34
Noticed by Patrick Welche on tech-kern@, ok cube.
2007-05-18 22:30:24 +00:00
riz
711b142f07 Fix compilation in the TCP_SIGNATURE case:
- don't use void * for pointer arithmetic
	- don't try to modify const parameters

A kernel with 'options TCP_SIGNATURE' works as well as it ever did, now.
(ie, clunky, but passable)
2007-05-18 21:48:43 +00:00
christos
3b320420fe fix a comment. 2007-05-18 21:46:39 +00:00
christos
5dda3f8930 mention ld.elf_so change. 2007-05-18 21:45:10 +00:00
christos
04ee85ad50 Support Solaris-like $ORIGIN etc. expansions in paths. 2007-05-18 21:44:08 +00:00
christos
d4ba6c5809 tests for $ORIGIN 2007-05-18 21:41:38 +00:00
riz
89c9ca415d Revert a small part of revision 1.254 - remove const qualifier from
the struct tcphdr * argument of tcp_dooptions().  RFC2385 support
(options TCP_SIGNATURE) needs to modify the header during options
processing, and this revision broke it.

OK yamt@.
2007-05-18 21:31:16 +00:00
christos
497d3aa994 Regression test for RTLD expansion code. 2007-05-18 20:28:11 +00:00
mhitch
da59486c27 Fix alpha build after idlelwp merge. I don't know why machine/cpu.h was
added here, but it does not seem to be needed now, and was resulting in a
circular dependency when sys/sched.h was changed in the yamt-idlelpw branch.
2007-05-18 19:58:06 +00:00
pooka
e001b11fcd default refcount to 1 in inactive 2007-05-18 18:01:55 +00:00
pooka
423fa255c6 remove obvious incorrect assert() from doreclaim() and remove the
whole PSN_NUKED bit - it's not very useful because of the noref setback.
2007-05-18 18:00:07 +00:00
pooka
f98f18ebad * use NOREF setback to prompt immediate (well, once the kernel
reference count goes to 0) reclaim of deleted nodes as opposed to
  waiting for the system to start reclaiming the freelist
* combine some nodeflags from different variable to one status variable
2007-05-18 16:13:47 +00:00
pooka
1d9d9332f5 Use SETBACK_NOREF instead of SETBACK_INACT to control node removal.
Avoids one round of inactive (wheee!).
2007-05-18 15:53:07 +00:00
pooka
e99cb62bcc Introduce noref setbacks, which the file server can use to signal
the kernel it has 0 references to the node in question.  In other
words, this can be used to avoid inactive(), or, if the file server
does not implement inactive, prompt reclaim for removed nodes.
2007-05-18 15:46:09 +00:00
pooka
0218526006 document puffs_node_poll 2007-05-18 14:38:15 +00:00
pooka
93dd832918 selrecord() before calling userspace to avoid (very theoretical) race
where selinfo contains uninitialized garbage
2007-05-18 14:25:30 +00:00
joerg
1044d56390 If the interrupt status register reads as 0xffff in rtk_intr, assume
that the card is gone and abort the loop. This fixes hot-plugging of
cardbus cards.

From FreeBSD's rl(4).
2007-05-18 14:10:37 +00:00
joerg
a6f33abf23 Make rtk_list_tx_init return void. The return value was constant and
never used.
2007-05-18 14:08:57 +00:00
pooka
48d5a49e1f "support" vop_poll enough for testing purposes. In short, yield every
poll request for a few seconds before returning.
2007-05-18 13:55:21 +00:00
pooka
75bb6c40b0 dispatch PUFFS_VN_POLL 2007-05-18 13:53:54 +00:00