]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoFix LINT build by correcting a missed change.
bms [Sun, 19 Oct 2003 09:31:07 +0000 (09:31 +0000)]
Fix LINT build by correcting a missed change.

20 years agoDisable irqs before entering the power-off state. This is not known
njl [Sun, 19 Oct 2003 05:56:59 +0000 (05:56 +0000)]
Disable irqs before entering the power-off state.  This is not known
to fix any problems but is similar to how Linux implements this
function.

20 years agoTidy up loose ends in the idle process. Call the MI cpu_idle() function
peter [Sun, 19 Oct 2003 02:43:57 +0000 (02:43 +0000)]
Tidy up loose ends in the idle process.  Call the MI cpu_idle() function
for all platforms now.

XXX alpha/sparc64/powerpc should fill in the function.

Submitted by:  bde

20 years agoAdd a stub cpu_idle() function for sparc64, alpha, powerpc. This is a
peter [Sun, 19 Oct 2003 02:36:07 +0000 (02:36 +0000)]
Add a stub cpu_idle() function for sparc64, alpha, powerpc.  This is a
MI declared function so it should be everywhere.

20 years agoFix broken su -m behaviour :
cognet [Sun, 19 Oct 2003 02:09:36 +0000 (02:09 +0000)]
Fix broken su -m behaviour :
chshell must return 0 if the shell is not a standard shell, or else it is
possible to use an account without a valid shell.

Reviewed by: des

20 years agoUse npxdrop in cpu_thread_exit to save some cycles.
davidxu [Sun, 19 Oct 2003 00:57:10 +0000 (00:57 +0000)]
Use npxdrop in cpu_thread_exit to save some cycles.
Clear FPU pcb flags for new upcall thread, these flags needn't
be inherited, the new thread should start from clean FPU status.

20 years agoBefore trying to restart/stop the MTA or MSP queue runner, make sure
gshapiro [Sun, 19 Oct 2003 00:31:50 +0000 (00:31 +0000)]
Before trying to restart/stop the MTA or MSP queue runner, make sure
we are configured to use an MTA or MSP queue runner.  Otherwise the
script used to complain about the missing PID file.

PR: conf/57075
Submitted by: Jonathan Chen <jonc@chen.org.nz>
MFC after: 2 weeks

20 years agoAdding WorkAroundBrokenAAAA seems a necessity even in the submit.mc given
gshapiro [Sun, 19 Oct 2003 00:03:13 +0000 (00:03 +0000)]
Adding WorkAroundBrokenAAAA seems a necessity even in the submit.mc given
the number of broken DNS servers out there in the world.  Since we are
diverging from the sendmail.org submit.mc, it's time to make our own
freebsd.submit.mc.

PR: conf/57733
Reviewed by: nork
MFC after: 2 weeks

20 years agoDon't confuse tags and handles.
imp [Sun, 19 Oct 2003 00:03:10 +0000 (00:03 +0000)]
Don't confuse tags and handles.

20 years ago - Synchronize access to a vm page's valid field using the containing
alc [Sun, 19 Oct 2003 00:01:56 +0000 (00:01 +0000)]
 - Synchronize access to a vm page's valid field using the containing
   vm object's lock.
 - Reduce the scope of the vm page queues lock in two places.

20 years agoNote that PAE has been MFC'd into RELENG_4 and will appear in FreeBSD
simon [Sat, 18 Oct 2003 22:54:45 +0000 (22:54 +0000)]
Note that PAE has been MFC'd into RELENG_4 and will appear in FreeBSD
4.9.

20 years agoAdd the cpu_idle_hook() function pointer so that other idlers can be
njl [Sat, 18 Oct 2003 22:25:07 +0000 (22:25 +0000)]
Add the cpu_idle_hook() function pointer so that other idlers can be
hooked at runtime.  Make C1 sleep (e.g., HLT) be the default.  This
prepares the way for further ACPI sleep states.

20 years ago - Synchronize access to the page's valid field in
alc [Sat, 18 Oct 2003 21:30:29 +0000 (21:30 +0000)]
 - Synchronize access to the page's valid field in
   vnode_pager_generic_getpages() using the containing object's lock.

20 years ago - Increase the object lock's scope in vm_contig_launder() so that access
alc [Sat, 18 Oct 2003 21:09:21 +0000 (21:09 +0000)]
 - Increase the object lock's scope in vm_contig_launder() so that access
   to the object's type field and the call to vm_pageout_flush() are
   synchronized.
 - The above change allows for the eliminaton of the last parameter
   to vm_pageout_flush().
 - Synchronize access to the page's valid field in vm_pageout_flush()
   using the containing object's lock.

20 years agoFix a typo. The module has the EISA front-end commented out, therefore the
bms [Sat, 18 Oct 2003 20:44:23 +0000 (20:44 +0000)]
Fix a typo. The module has the EISA front-end commented out, therefore the
error may not have been picked up right away.

Reviewed by: mdodd
Submitted by: Stuart Walsh

20 years agoInitialize b_iooffset before calling VOP_[SPEC]STRATEGY
phk [Sat, 18 Oct 2003 19:49:46 +0000 (19:49 +0000)]
Initialize b_iooffset before calling VOP_[SPEC]STRATEGY

20 years agoInitialize b_iooffset before calling strategy
phk [Sat, 18 Oct 2003 19:48:21 +0000 (19:48 +0000)]
Initialize b_iooffset before calling strategy

20 years agoOnly automatically create an 'a' partition when there is nothing
phk [Sat, 18 Oct 2003 19:32:35 +0000 (19:32 +0000)]
Only automatically create an 'a' partition when there is nothing
but a 'c' partition.

20 years agoCorrections to revision 1.305
alc [Sat, 18 Oct 2003 18:48:17 +0000 (18:48 +0000)]
Corrections to revision 1.305
 - Specifying VM_MAP_WIRE_HOLESOK should not assume that the start
   address is the beginning of the map.  Instead, move to the first
   entry after the start address.
 - The implementation of VM_MAP_WIRE_HOLESOK was incomplete.  This
   caused the failure of mlockall(2) in some circumstances.

20 years agoNew release note:
hrs [Sat, 18 Oct 2003 18:18:17 +0000 (18:18 +0000)]
New release note:
Fix ipfw(4) limit rule processing.

20 years agoRetire b_pblkno which was an alias for a bio field which is for
phk [Sat, 18 Oct 2003 18:17:55 +0000 (18:17 +0000)]
Retire b_pblkno which was an alias for a bio field which is for
device drivers only.

20 years agoDon't report b_pblkno, it is going away.
phk [Sat, 18 Oct 2003 17:59:02 +0000 (17:59 +0000)]
Don't report b_pblkno, it is going away.

20 years agoDo not initialize bp->b_pblkno, it is going away.
phk [Sat, 18 Oct 2003 17:57:48 +0000 (17:57 +0000)]
Do not initialize bp->b_pblkno, it is going away.

20 years agoRetire bio_blkno entirely.
phk [Sat, 18 Oct 2003 17:53:34 +0000 (17:53 +0000)]
Retire bio_blkno entirely.

bio_offset is the field drivers should use.
bio_pblkno remains as a convenient place to store the number of
the device drivers.

20 years agoEliminate use bio_blkno.
phk [Sat, 18 Oct 2003 17:51:26 +0000 (17:51 +0000)]
Eliminate use bio_blkno.

20 years agortfree() must be called in lock context.
ume [Sat, 18 Oct 2003 17:46:23 +0000 (17:46 +0000)]
rtfree() must be called in lock context.

Reported by: jhay

20 years agoDiscontinue bio_blkno usage.
phk [Sat, 18 Oct 2003 17:45:45 +0000 (17:45 +0000)]
Discontinue bio_blkno usage.

20 years agoDiscontinue bio_blkno, use bio_offset instead.
phk [Sat, 18 Oct 2003 17:44:01 +0000 (17:44 +0000)]
Discontinue bio_blkno, use bio_offset instead.

20 years agoEliminate reporting of bio_blkno.
phk [Sat, 18 Oct 2003 17:28:36 +0000 (17:28 +0000)]
Eliminate reporting of bio_blkno.

20 years agoReport bio_pblkbo instead of bio_blkno.
phk [Sat, 18 Oct 2003 17:27:10 +0000 (17:27 +0000)]
Report bio_pblkbo instead of bio_blkno.

20 years agoUse bio_offset instead of bio_blkno
phk [Sat, 18 Oct 2003 17:26:13 +0000 (17:26 +0000)]
Use bio_offset instead of bio_blkno

20 years agoNo need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset.
phk [Sat, 18 Oct 2003 17:24:51 +0000 (17:24 +0000)]
No need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset.

20 years agoMake bioq_disksort() sort on the bio_offset field instead of bio_pblkno.
phk [Sat, 18 Oct 2003 15:50:56 +0000 (15:50 +0000)]
Make bioq_disksort() sort on the bio_offset field instead of bio_pblkno.

20 years agoTransition to using bus_space macros rather than the inb/outb/etc.
imp [Sat, 18 Oct 2003 15:22:43 +0000 (15:22 +0000)]
Transition to using bus_space macros rather than the inb/outb/etc.
Use EP_{READ,WRITE}{,_MULTI}_{1,2,4} instead.  I've had several people
submit patches like this over the years of varying qualities, markm
being the last.  The names were chosen in consulation with mdodd on
irc.

I've tested this with only PCMCIA cards: 3CCE589EC and 3CCSH572BT.
I've not tried with my more extensive ISA, EISA and cbus collection.

Reviewed by: mdodd

20 years agoDuH!
phk [Sat, 18 Oct 2003 14:10:28 +0000 (14:10 +0000)]
DuH!

bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in
the file)

20 years agoI think rwatson got the sign wrong here...
phk [Sat, 18 Oct 2003 12:16:17 +0000 (12:16 +0000)]
I think rwatson got the sign wrong here...

20 years agoDon't initialize unused bio_blkno field.
phk [Sat, 18 Oct 2003 11:25:42 +0000 (11:25 +0000)]
Don't initialize unused bio_blkno field.

20 years agoInitialize bp->b_offset before calling VOP_[SPEC]STRATEGY()
phk [Sat, 18 Oct 2003 11:16:33 +0000 (11:16 +0000)]
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()

20 years agoInitialize bp->b_offset before calling VOP_STRATEGY().
phk [Sat, 18 Oct 2003 11:14:29 +0000 (11:14 +0000)]
Initialize bp->b_offset before calling VOP_STRATEGY().

Remove KASSERTS and panics with B_PHYS checks which no longer apply.

20 years agoInitialize bp->b_offset before calling VOP_STRATEGY()
phk [Sat, 18 Oct 2003 11:13:31 +0000 (11:13 +0000)]
Initialize bp->b_offset before calling VOP_STRATEGY()

20 years agoInitialize bp->b_offset before calling VOP_[SPEC]STRATEGY().
phk [Sat, 18 Oct 2003 11:11:05 +0000 (11:11 +0000)]
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY().
Remove stale comment about B_PHYS.

20 years agoInitialize b_offset before calling VOP_SPECSTRATEGY()
phk [Sat, 18 Oct 2003 11:08:33 +0000 (11:08 +0000)]
Initialize b_offset before calling VOP_SPECSTRATEGY()

20 years agoInitialize bp->b_offset before calling VOP_[SPEC]STRATEGY()
phk [Sat, 18 Oct 2003 11:08:04 +0000 (11:08 +0000)]
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()

20 years agoInitialize b_offset before calling VOP_STRATEGY/VOP_SPECSTRATEGY.
phk [Sat, 18 Oct 2003 11:06:15 +0000 (11:06 +0000)]
Initialize b_offset before calling VOP_STRATEGY/VOP_SPECSTRATEGY.

Remove various comments of KASSERTS and comments about B_PHYS which
does not apply anymore.

20 years agoInitialize bp->b_offset and remove comment about B_PHYS.
phk [Sat, 18 Oct 2003 11:02:24 +0000 (11:02 +0000)]
Initialize bp->b_offset and remove comment about B_PHYS.

20 years agoThere is no need to muck about with the B_PHYS flag here. We never even
phk [Sat, 18 Oct 2003 11:01:11 +0000 (11:01 +0000)]
There is no need to muck about with the B_PHYS flag here.  We never even
get close to DEV_STRATEGY() which is the only place it is relevant.

20 years agoANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.
markm [Sat, 18 Oct 2003 10:04:16 +0000 (10:04 +0000)]
ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.

20 years agoRemove a GCC specifig CFLAG. We should be using WARNS=? for this.
markm [Sat, 18 Oct 2003 09:58:39 +0000 (09:58 +0000)]
Remove a GCC specifig CFLAG. We should be using WARNS=? for this.
WARNS=? is not added here at this point, because I've not tested
it on enough platforms, and I don't want to break builds.

20 years agoWe do not get B_PHYS buffers here anymore. /dev/drum is long gone.
phk [Sat, 18 Oct 2003 09:33:13 +0000 (09:33 +0000)]
We do not get B_PHYS buffers here anymore.  /dev/drum is long gone.

20 years agoConvert some if(bla) panic("foo") to KASSERTS to improve grep-ability.
phk [Sat, 18 Oct 2003 09:32:39 +0000 (09:32 +0000)]
Convert some if(bla) panic("foo") to KASSERTS to improve grep-ability.

20 years agoMark as __unused some arguments that are, erm, unused.
markm [Sat, 18 Oct 2003 09:16:01 +0000 (09:16 +0000)]
Mark as __unused some arguments that are, erm, unused.

20 years agoThe size and contents of the DEV_STRATEGY() macro has progressed to
phk [Sat, 18 Oct 2003 09:03:15 +0000 (09:03 +0000)]
The size and contents of the DEV_STRATEGY() macro has progressed to
the point where it being a macro is no longer sensible, and it will
only be more so in days to come.

BIO_STRATEGY() is now only used from DEV_STRATEGY() and should not
be used directly anymore.

Put the contents of both in the new function dev_strategy() and
make DEV_STRATEGY() call that function.

In addition, this allows us to make the rather magic bufdonebio()
helper function static.

This alse saves hunderedandsome bytes of code in a typical kernel.

20 years agoRearrange the deck-chairs while we wait for scottl to GEOMify RF.
phk [Sat, 18 Oct 2003 08:58:35 +0000 (08:58 +0000)]
Rearrange the deck-chairs while we wait for scottl to GEOMify RF.

20 years agoAdd SBP-II target mode driver.
simokawa [Sat, 18 Oct 2003 05:41:31 +0000 (05:41 +0000)]
Add SBP-II target mode driver.

Though this is still incomplete and has some missing features such as
exclusive login and event notification, it may be enough for someone
who wants to play with it.

This driver is supposed to work with firewire(4), targ(4) of CAM(4)
and scsi_target(8) which can be found in /usr/share/example/scsi_target.
This driver doesn't require sbp(4) which implements initiator mode.

Sample configuration:

Kernel: (you can use modules as well)
device firewire
device scbus
device targ
device sbp_targ

After reboot:
# mdconfig -a -t malloc -s 10m
md0
# scsi_target 0:0:0 /dev/md0
(Assuming sbp_targ0 on scbus0)

You should find the 10MB HDD on FreeBSD/MacOS X/WinXP or whatever connected
to the target using FireWire.

Manpage is not finished yet.

20 years ago- Call sbp_reset_start() for mgm timeout.
simokawa [Sat, 18 Oct 2003 04:59:47 +0000 (04:59 +0000)]
- Call sbp_reset_start() for mgm timeout.
- Change type of target->luns to allocate an array of LUNs dynamically.
This allows targets to change their number of LUNs after each bus reset.
- Serialize ORB POINTER command for each LUN.
- Improve debug messages.

20 years ago- Enable 16byte commands.
simokawa [Sat, 18 Oct 2003 04:54:08 +0000 (04:54 +0000)]
- Enable 16byte commands.
- Fix printf warnings on 64bit architectures.
- Accept 'k', 'm' and etc. for -s option.

Reviewed by: njl

20 years agoWrap db_active check in #ifdef DDB, as db_active is not defined ifndef
rwatson [Sat, 18 Oct 2003 02:23:57 +0000 (02:23 +0000)]
Wrap db_active check in #ifdef DDB, as db_active is not defined ifndef
DDB.

20 years agoAdd a new cn_flags fields to struct consdev, the low-level console
rwatson [Sat, 18 Oct 2003 02:13:39 +0000 (02:13 +0000)]
Add a new cn_flags fields to struct consdev, the low-level console
definition structure.  Define one flag, CN_FLAG_NODEBUG, which
indicates the console driver cannot be used in the context of the
debugger.  This may be used, for example, if the console device
interacts with kernel services that cannot be used from the
debugger context, such as the network stack.  These drivers are
skipped over for calls to cn_checkc() and cn_putc(), and the
calling function simply moves on to the next available console.

20 years agofix station mode breakage (repeat after me: "test every change, no
sam [Fri, 17 Oct 2003 23:59:11 +0000 (23:59 +0000)]
fix station mode breakage (repeat after me: "test every change, no
matter how small...")

20 years agoadd statistics for all failures and/or abnormal events; still need
sam [Fri, 17 Oct 2003 23:15:30 +0000 (23:15 +0000)]
add statistics for all failures and/or abnormal events; still need
to add per-node statistics

20 years agofixup debug msgs
sam [Fri, 17 Oct 2003 22:15:26 +0000 (22:15 +0000)]
fixup debug msgs

20 years agoinclude FH/DS parameters element in probe response frames
sam [Fri, 17 Oct 2003 22:09:20 +0000 (22:09 +0000)]
include FH/DS parameters element in probe response frames

20 years agoo consolidate rx filter calculations in one place
sam [Fri, 17 Oct 2003 21:58:39 +0000 (21:58 +0000)]
o consolidate rx filter calculations in one place
o enable beacon reception when operating in adhoc mode
  so the 802.11 layer can use them to create nodes for peers

20 years agocorrect comment
sam [Fri, 17 Oct 2003 21:56:42 +0000 (21:56 +0000)]
correct comment

20 years agoindicate device receives all management frames
sam [Fri, 17 Oct 2003 21:55:53 +0000 (21:55 +0000)]
indicate device receives all management frames

20 years agoo add capability to indicate if device receives all management frames
sam [Fri, 17 Oct 2003 21:54:59 +0000 (21:54 +0000)]
o add capability to indicate if device receives all management frames
o use recv mgmt capability to decide if outbound frames should be
  discarded if no node table entry is present

20 years agoFix a couple of bugs with AIF handling:
scottl [Fri, 17 Oct 2003 21:44:06 +0000 (21:44 +0000)]
Fix a couple of bugs with AIF handling:
 - Correct the logic for the AIF array index pointers so that correct slot is
   always looked at.
 - Copy the full FIB payload size when copying AIF's, not just the first 64
   bytes.

Thanks to Mirapoint, Inc, for pointing these problems out and offering a
solution.

20 years agoparameterize locking to improve portability and possible
sam [Fri, 17 Oct 2003 21:41:52 +0000 (21:41 +0000)]
parameterize locking to improve portability and possible
change to different locking strategies

20 years ago - Remove the correct thread from the run queue in setrunqueue(). This
jeff [Fri, 17 Oct 2003 20:53:04 +0000 (20:53 +0000)]
 - Remove the correct thread from the run queue in setrunqueue().  This
   fixes ULE + KSE.

20 years agouse ND_IFINFO().
ume [Fri, 17 Oct 2003 20:20:14 +0000 (20:20 +0000)]
use ND_IFINFO().

20 years agoMake the regression test run also with obj directories.
phk [Fri, 17 Oct 2003 19:52:07 +0000 (19:52 +0000)]
Make the regression test run also with obj directories.

20 years agonuke duplicate function and unused function.
ume [Fri, 17 Oct 2003 17:50:09 +0000 (17:50 +0000)]
nuke duplicate function and unused function.

Obtained from: KAME

20 years agorevert wrongly dropped null check by previous commit.
ume [Fri, 17 Oct 2003 17:34:31 +0000 (17:34 +0000)]
revert wrongly dropped null check by previous commit.

20 years ago - fix to UID test description, non-zero -> zero
kensmith [Fri, 17 Oct 2003 17:03:38 +0000 (17:03 +0000)]
- fix to UID test description, non-zero -> zero

PR: docs/57799
Reviewed by: des
Approved by: blackend (mentor)

20 years agoModified release note:
hrs [Fri, 17 Oct 2003 16:47:42 +0000 (16:47 +0000)]
Modified release note:
- Use multicast(4) and pim(4) hyperlink.
- Fix a wrong description in rfcomm_sppd(1) and
  rfcomm_pppd(8) item.

20 years agoForced commit for attribution. Last commit was
peter [Fri, 17 Oct 2003 16:31:00 +0000 (16:31 +0000)]
Forced commit for attribution.  Last commit was

Submitted by: deischen

20 years agoUpdate context code for my last ABI breakage of mcontext. I'm worried
peter [Fri, 17 Oct 2003 16:30:09 +0000 (16:30 +0000)]
Update context code for my last ABI breakage of mcontext.  I'm worried
about the fpu code here.  It should be using fxsave/fxrstor instead of
saving/restoring the control word.  The SSE registers are used a lot in
gcc generated code on amd64.  I'm not sure how this all fits together
though.

20 years agodon't print ndp -i result if the interface is not
ume [Fri, 17 Oct 2003 16:17:47 +0000 (16:17 +0000)]
don't print ndp -i result if the interface is not
initialized

Obtained from: KAME

20 years ago- add dom_if{attach,detach} framework.
ume [Fri, 17 Oct 2003 15:46:31 +0000 (15:46 +0000)]
- add dom_if{attach,detach} framework.
- transition to use ifp->if_afdata.

Obtained from: KAME

20 years agoExplicitly specify an alignment for abitag. Without it, gcc specifies a
peter [Fri, 17 Oct 2003 15:43:13 +0000 (15:43 +0000)]
Explicitly specify an alignment for abitag.  Without it, gcc specifies a
section alignnment of 16 bytes for amd64 and this breaks file(1).
Before:
./cp: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \
  FreeBSD 127.7.9, statically linked, stripped
after:    ^^^^^^^
./ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \
  FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped

The reason for this is that the NOTE sections are not contiguous
internally.  If the note section has an alignment of 16, then anything
that looks for the data is supposed to round up the payload start to
the next multiple of the alignment.  But FreeBSD/amd64 broke because the
structure is declared as a single structure, not a (header,payload) group,
where the payload had an explicit alignment roundup.

The alternative is to change things like file(1) to ignore the ELF payload
alignment rules for the PT_NOTE section only for FreeBSD.

20 years agoAdd multicast(4) and pim(4) manual pages and hook up to the build.
bmah [Fri, 17 Oct 2003 15:12:01 +0000 (15:12 +0000)]
Add multicast(4) and pim(4) manual pages and hook up to the build.

Submitted by: Pavlin Radoslavov <pavlin@icir.org>
Reviewed by: hsu, bmah
MFC after: 2 weeks

20 years agoWhen expunging unlinked files from a snapshot, skip over holes in the
mckusick [Fri, 17 Oct 2003 13:57:58 +0000 (13:57 +0000)]
When expunging unlinked files from a snapshot, skip over holes in the
file rather than panicing with "indiracct: botched params".

Submitted by: Mark Santcroos <marks@ripe.net>

20 years agoSimplify count_dev()
phk [Fri, 17 Oct 2003 11:56:48 +0000 (11:56 +0000)]
Simplify count_dev()

20 years ago- NI_WITHSCOPEID was deprecated
ume [Fri, 17 Oct 2003 11:46:40 +0000 (11:46 +0000)]
- NI_WITHSCOPEID was deprecated
- use strlcpy() and snprintf()
- use err()
- style

Obtained from: KAME

20 years ago- style
ume [Fri, 17 Oct 2003 11:43:44 +0000 (11:43 +0000)]
- style
- rename variable
- use strlcpy
- const'fy

Obtained from: KAME

20 years agoUses wait4() instead of wait3() when waiting for a child process to exit.
seanc [Fri, 17 Oct 2003 07:53:30 +0000 (07:53 +0000)]
Uses wait4() instead of wait3() when waiting for a child process to exit.

Reviewed by: yar

20 years ago1. Catch up with the move of the declaration of panic() from <sys/param.h>
bde [Fri, 17 Oct 2003 06:25:37 +0000 (06:25 +0000)]
1. Catch up with the move of the declaration of panic() from <sys/param.h>
   back to <sys/systm.h>.
2. Remove hard sentence breaks.

Reminded by: Stefan Farfeleder <stefan@fafoe.narf.at> (1)

20 years ago - Synchronize access to a vm page's valid field using the containing
alc [Fri, 17 Oct 2003 05:07:17 +0000 (05:07 +0000)]
 - Synchronize access to a vm page's valid field using the containing
   vm object's lock.
 - Release the vm object and vm page queues locks around vput().

20 years agoHalt the cpu on amd64 as well. For some strange reason, this makes
peter [Fri, 17 Oct 2003 03:49:03 +0000 (03:49 +0000)]
Halt the cpu on amd64 as well.  For some strange reason, this makes
a fair bit of difference to the power consumption and lets my cpu cool
down enough for the temperature sensitive fan controller to completely
stop the cpu fan at times.

20 years agoImplement cpu_idle() on ia64. We put the processor in a lightweight
marcel [Fri, 17 Oct 2003 02:24:59 +0000 (02:24 +0000)]
Implement cpu_idle() on ia64. We put the processor in a lightweight
halt state that minimizes power consumption while still preserving
cache and TLB coherency. Halting the processor is not conditional at
this time. Tested with UP and SMP kernels.

20 years ago - The kse may be null in sched_pctcpu().
jeff [Thu, 16 Oct 2003 21:13:14 +0000 (21:13 +0000)]
 - The kse may be null in sched_pctcpu().

Reported by: kris

20 years ago - Only kse_reassign() in the !running case.
jeff [Thu, 16 Oct 2003 20:32:57 +0000 (20:32 +0000)]
 - Only kse_reassign() in the !running case.

Reported by: kris

20 years ago - Call sched_add() with the correct argument on SMP.
jeff [Thu, 16 Oct 2003 20:06:19 +0000 (20:06 +0000)]
 - Call sched_add() with the correct argument on SMP.

Reported by: Valentin Chopov <valentin@valcho.net>

20 years agofix horribly botched MFp4 merge
sam [Thu, 16 Oct 2003 19:55:28 +0000 (19:55 +0000)]
fix horribly botched MFp4 merge

20 years agopfil hooks can modify packet contents so check if the destination
sam [Thu, 16 Oct 2003 18:57:45 +0000 (18:57 +0000)]
pfil hooks can modify packet contents so check if the destination
address has been changed when PFIL_HOOKS is enabled and, if it has,
arrange for the proper action by ip*_forward.

Submitted by: Pyun YongHyeon
Supported by: FreeBSD Foundation

20 years agoNew release note:
hrs [Thu, 16 Oct 2003 17:16:24 +0000 (17:16 +0000)]
New release note:
Bluetooth protocol stack update.

Based on report by: emax

Modified release note:
s|challenge/|challenge/response| in SA-03:15 item.

20 years agopfil hooks can modify packet contents so check if the destination
sam [Thu, 16 Oct 2003 16:25:25 +0000 (16:25 +0000)]
pfil hooks can modify packet contents so check if the destination
address has been changed when PFIL_HOOKS is enabled and, if it has,
arrange for the proper action by ip*_forward.

Supported by: FreeBSD Foundation
Submitted by: Pyun YongHyeon

20 years agoDrop dummynet lock when calling back into the network stack to deliver
sam [Thu, 16 Oct 2003 16:21:25 +0000 (16:21 +0000)]
Drop dummynet lock when calling back into the network stack to deliver
packets.  This eliminates a LOR with Giant that caused outbound pipes
to fail.

Supported by: FreeBSD Foundation

20 years agoCorrect handling of cloning loop avoidance: rtalloc1 may return a null
sam [Thu, 16 Oct 2003 16:17:17 +0000 (16:17 +0000)]
Correct handling of cloning loop avoidance: rtalloc1 may return a null
pointer in which case we should not do the unlock.

Supported by: FreeBSD Foundatin

20 years agoo correct handling of a frame that has too many segments to fit in the
sam [Thu, 16 Oct 2003 16:13:11 +0000 (16:13 +0000)]
o correct handling of a frame that has too many segments to fit in the
  tx descriptor array
o while here fix a whitespace nit

Obtained from: NetBSD