Commit Graph

104341 Commits

Author SHA1 Message Date
eik
649576111e - complete rewrite of the version number parsing code, restoring compatibiliy of 5.x with 4.x and portupgrade
- parse version numbers of ports containing an underscore followed by a number correctly

- handle special strings pl, alpha, beta, pre and rc

PR:		56961
2004-06-29 18:52:13 +00:00
peter
486f03d1c3 Reduce the size of pv entries by 15%. This saves 1MB of KVA for mapping
pv entries per 1GB of user virtual memory.  (eg: if we had 1GB file was
mmaped into 30 processes, that would theoretically reduce the KVA demand by
30MB for pv entries.  In reality though, we limit pv entries so we don't
have that many at once.)

We used to store the vm_page_t for the page table page.  But we recently
had the pa of the ptp, or can calculate it fairly quickly.  If we wanted
to avoid the shift/mask operation in pmap_pde(), we could recover the
pa but that means we have to store it for a while.

This does not measurably change performance.

Suggested by:  alc
Tested by:  alc
2004-06-29 15:57:05 +00:00
marks
dd192c5d24 Remove 3rd clause from the licence.
Approved by:	njl
2004-06-29 15:46:12 +00:00
njl
7bd198c390 Use a default of the FADT for matching CreatorId quirks. Use XSDT to mean
"match either RSDT or XSDT."
2004-06-29 14:32:06 +00:00
phk
474032642a Fix regression in last commit. 2004-06-29 08:33:58 +00:00
brian
d9cb5d5260 Mention that ``set mtu max'' is necessary for PPPoE.
PR:		32040
MFC after:	2 weeks
2004-06-29 07:48:43 +00:00
brian
664f6c9a4c Reduce MAXMSS limit by 12 bytes to allow for rfc 1323.
PR:		32717
Submitted by:	MORI Kouji <moriko@hh.iij4u.or.jp>
MFC after:	2 weeks
2004-06-29 07:40:38 +00:00
den
c597a45940 MFen 1.732
Content fix *

Submitted by:	Sergey Matveychuk <sem@ciam.ru> [*]
Obtained from:	The FreeBSD Russian Documentation Project
2004-06-29 07:21:59 +00:00
jhb
9c6cf2340f Oops, this didn't make it into my submit before I committed: Defer
creation of the sysctl tree for the turnstile profiling stats until a
SI_SUB_LOCK sysinit.  Doing it in init_turnstiles() is too early as it is
called before mi_startup().
2004-06-29 03:48:49 +00:00
darrenr
d82c378cea Mess from update & merge - don't release the ifnet lock twice, just once
and after we're finished with it.
2004-06-29 03:39:06 +00:00
peter
87fa6f8535 Wrap long line. 2004-06-29 03:13:54 +00:00
jhb
6502f84a50 Add two new kernel options to allow rudimentary profiling of the internal
hash tables used in the sleep queue and turnstile code.  Each option adds
a sysctl tree under debug containing the maximum depth of any bucket in
the hash table as well as a separate node for each bucket (or chain)
containing the current depth and maximum depth for that bucket.
2004-06-29 02:30:12 +00:00
njl
348466ddef Include isa/pnpvar.h and remove a duplicate copy of PNP_EISAID. 2004-06-29 01:33:35 +00:00
njl
bd2a2aff39 While booting, use DELAY() for waiting for the EC to respond instead of
msleep().  Until we're finally up, msleep is a no-op.

Explained by:	peter
2004-06-28 20:41:30 +00:00
tegge
16dc5859f2 Initialize result->backing_object_offset before linking result onto the list of
vm objects shadowing source in vm_object_shadow().  This closes a race where
vm_object_collapse() could be called with a partially uninitialized object
argument causing symptoms that looked like hardware problems, e.g.  signal 6,
10, 11 or a /bin/sh busy-waiting for a nonexistant child process.
2004-06-28 20:26:35 +00:00
imp
61364cc869 Remove the setting of the pci config variables on power state changes.
The bus does this now.
2004-06-28 20:26:21 +00:00
imp
dc0d070947 Remove code to slam the config space on transition to d0. 2004-06-28 20:09:02 +00:00
imp
d622075765 Remove burn bridges code that saved/restored the pci config registers
that are now handled in the pci bus layer.  They are no longer
necessary.
2004-06-28 20:07:03 +00:00
gallatin
f1f19c639c Use MIN() macro rather than ulmin() inline, and fix stray tab
that snuck in with my last commit.

Submitted by: green
2004-06-28 19:58:39 +00:00
gallatin
81e9341035 Fix alpha - the use of min() on longs was loosing the high bits and
returning wrong answers, leading to strange values vm2->vm_{s,t,d}size.
2004-06-28 19:15:40 +00:00
imp
59c665eab0 Build usbdevs.h 2004-06-28 19:06:30 +00:00
jhb
4dab07ef95 Remove the signal_caught argument from sleepq_timedwait() as it was
effectively always zero.
2004-06-28 18:57:06 +00:00
imp
6ad82cc93e another format nit 2004-06-28 16:38:53 +00:00
imp
349ab2cd0a casting for printf happiness 2004-06-28 16:30:49 +00:00
jhb
9234a42a69 - Execute all of the tasks on the taskqueue during taskqueue_free() after
the queue has been removed from the global taskqueue_queues list.  This
  removes the need for the draining queue hack.
- Allow taskqueue_run() to be called with the taskqueue mutex held.  It
  can still be called without the lock for API compatiblity.  In that case
  it will acquire the lock internally.
- Don't lock the individual queue mutex in taskqueue_find() until after the
  strcmp as the global queues mutex is sufficient for the strcmp.
- Simplify taskqueue_thread_loop() now that it can hold the lock across
  taskqueue_run().

Submitted by:	bde (mostly)
2004-06-28 16:28:23 +00:00
imp
e93a181ae0 We need to build miidevs.h when we have miibus, not mii. 2004-06-28 16:22:20 +00:00
jhb
49e92eb66d Adjust the priorities of software interrupts. Bump SWI_CLOCK up to 5
and bump all of the taskqueue swi's to 6.  This gives callouts higher
priority than taskqueue tasks and gives all taskqueue tasks the same
priority.

Discussed with:	bde
2004-06-28 16:21:51 +00:00
jhb
515258abfe Adjust the priority of the idle threads to be the lowest possible
priority.  This is just a comestic nit as the idle thread priorities aren't
used by the schedulers.

Reported by:	bde
2004-06-28 16:19:50 +00:00
jhb
050c6affec - Shorten the names for the TTY related swi interrupt handlers as the
'tty:' prefix is largely redundant.
- Fix the priority of the low-priority TTY SWIs that are hung off of the
  softclock thread.

Submitted by:	bde (2)
2004-06-28 16:17:11 +00:00
rik
fb5ac405c9 Do not m_free packet since IF_HANDOFF (called from netisr_queue) will
do it for us, just count it.
2004-06-28 15:32:24 +00:00
kientzle
6c019c0451 Some implicit dirs were not having the umask correctly
applied to their permissions.  Just calculate the
default dir mode once and use it consistently, rather than
trying to remember to calculate it everywhere it's needed.
2004-06-28 14:12:09 +00:00
kientzle
b7e4060b9b Add yet another synonym for -n. 2004-06-28 14:02:22 +00:00
den
faeaf22c64 Whitespace fix
Obtained from:	The FreeBSD Russian Documentation Project
2004-06-28 13:36:00 +00:00
nyan
b3df34e2f3 Merged from sys/dev/sio/sio.c revision 1.444. 2004-06-28 13:28:20 +00:00
den
a3311886cc Add translation for early-adopter 2004-06-28 13:28:15 +00:00
davidxu
dc5204048a Remove libpthread_dbg, soon it will be replaced by libthread_db which
is a defacto standard on other UNIX systems.
2004-06-28 12:13:36 +00:00
mux
7765dabe90 Regenerate this file so that it gets correct comments for the PCI
databases locations.
2004-06-28 11:54:30 +00:00
mux
b4b2a2a696 Update the location of the Hart's database as well. 2004-06-28 11:46:48 +00:00
mux
6303c5bf45 Update to the latest versions of the Boemler and Hart PCI databases. 2004-06-28 11:36:32 +00:00
cognet
02f50a9e92 Remove unused includes.
Spotted out by:	pjd
2004-06-28 11:35:05 +00:00
mux
252a2c97e5 The location of the Boemler's PCI database has moved. Update comments
to reflect reality.
2004-06-28 11:32:58 +00:00
dd
7ce9a2b811 Fix spelling error in my own paragraph. 2004-06-28 11:18:47 +00:00
tjr
2c569caec5 Document incorrect handling of multibyte characters in input files
and character string arguments.
2004-06-28 07:19:11 +00:00
tjr
53bc92ab26 Describe the algorithm used by the -n option. 2004-06-28 06:20:28 +00:00
tjr
3318163536 Move some variable declarations to the top of the file. 2004-06-28 06:05:36 +00:00
imp
dde16666cb bde points out that this can't do anything useful. The full patch has
other parts that I can't locat at the moment, so back it out until I can.
2004-06-28 05:37:22 +00:00
scottl
f4231a77eb Retire BUS_DMAMAP_NSEGS for sparc64 2004-06-28 04:04:43 +00:00
scottl
517327a82c Switch sparc64 busdma to use a dynamically allocated segment list rather
than a a stack-limited list.  This removes the artifical limit on s/g list
size.
cvs: ----------------------------------------------------------------------
2004-06-28 03:49:13 +00:00
imp
d334c4b305 Turns out that jhb didn't really like this. And nate pointed out that
it wasn't a good idea to have the test for NULL on only a limited
subset.  Go back because I'm not sure adding NULL to all the others is
a good idea.
2004-06-28 03:40:23 +00:00
imp
c0e6c73704 rman_reserve_resource doesn't set the bushandle, so we have to do it here.
Badness noted by: njl
Perforce reply not read by: imp
2004-06-28 03:36:37 +00:00