peter
05de20ae7a
Add a stub cpu_idle() function for sparc64, alpha, powerpc. This is a
...
MI declared function so it should be everywhere.
2003-10-19 02:36:07 +00:00
cognet
eb4121cb0d
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
2003-10-19 02:09:36 +00:00
davidxu
f2c5a17d79
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.
2003-10-19 00:57:10 +00:00
gshapiro
b767de36df
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
2003-10-19 00:31:50 +00:00
gshapiro
7d4f685f3e
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
2003-10-19 00:03:13 +00:00
imp
61abce2611
Don't confuse tags and handles.
2003-10-19 00:03:10 +00:00
alc
cc2c1485cf
- 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.
2003-10-19 00:01:56 +00:00
simon
509f7279a8
Note that PAE has been MFC'd into RELENG_4 and will appear in FreeBSD
...
4.9.
2003-10-18 22:54:45 +00:00
njl
8689796a4b
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.
2003-10-18 22:25:07 +00:00
alc
fb13ea0aa9
- Synchronize access to the page's valid field in
...
vnode_pager_generic_getpages() using the containing object's lock.
2003-10-18 21:30:29 +00:00
alc
bccf1d15ab
- 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.
2003-10-18 21:09:21 +00:00
bms
39bde695bf
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
2003-10-18 20:44:23 +00:00
phk
50ecf36141
Initialize b_iooffset before calling VOP_[SPEC]STRATEGY
2003-10-18 19:49:46 +00:00
phk
4b7ade98cd
Initialize b_iooffset before calling strategy
2003-10-18 19:48:21 +00:00
phk
2d32752eb9
Only automatically create an 'a' partition when there is nothing
...
but a 'c' partition.
2003-10-18 19:32:35 +00:00
alc
d9e9583e64
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.
2003-10-18 18:48:17 +00:00
hrs
8354a73c7f
New release note:
...
Fix ipfw(4) limit rule processing.
2003-10-18 18:18:17 +00:00
phk
ba114823c5
Retire b_pblkno which was an alias for a bio field which is for
...
device drivers only.
2003-10-18 18:17:55 +00:00
phk
80b79c02da
Don't report b_pblkno, it is going away.
2003-10-18 17:59:02 +00:00
phk
36a05b5ad5
Do not initialize bp->b_pblkno, it is going away.
2003-10-18 17:57:48 +00:00
phk
b3eb57c5d4
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.
2003-10-18 17:53:34 +00:00
phk
5a1c5c9c13
Eliminate use bio_blkno.
2003-10-18 17:51:26 +00:00
ume
42120d22ea
rtfree() must be called in lock context.
...
Reported by: jhay
2003-10-18 17:46:23 +00:00
phk
313310b9a6
Discontinue bio_blkno usage.
2003-10-18 17:45:45 +00:00
phk
583ddf14d7
Discontinue bio_blkno, use bio_offset instead.
2003-10-18 17:44:01 +00:00
phk
8714e3267f
Eliminate reporting of bio_blkno.
2003-10-18 17:28:36 +00:00
phk
adc5cdd07a
Report bio_pblkbo instead of bio_blkno.
2003-10-18 17:27:10 +00:00
phk
94a1f5bcd6
Use bio_offset instead of bio_blkno
2003-10-18 17:26:13 +00:00
phk
466d3b80d8
No need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset.
2003-10-18 17:24:51 +00:00
phk
b60969a35e
Make bioq_disksort() sort on the bio_offset field instead of bio_pblkno.
2003-10-18 15:50:56 +00:00
imp
cec43b43e0
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
2003-10-18 15:22:43 +00:00
phk
4c2cb3f397
DuH!
...
bp->b_iooffset (the spot on the disk), not bp->b_offset (the offset in
the file)
2003-10-18 14:10:28 +00:00
phk
d004fc1e31
I think rwatson got the sign wrong here...
2003-10-18 12:16:17 +00:00
phk
d985a757f9
Don't initialize unused bio_blkno field.
2003-10-18 11:25:42 +00:00
phk
3905ba5d0a
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()
2003-10-18 11:16:33 +00:00
phk
1e371cc970
Initialize bp->b_offset before calling VOP_STRATEGY().
...
Remove KASSERTS and panics with B_PHYS checks which no longer apply.
2003-10-18 11:14:29 +00:00
phk
bd00da531d
Initialize bp->b_offset before calling VOP_STRATEGY()
2003-10-18 11:13:31 +00:00
phk
902030340d
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY().
...
Remove stale comment about B_PHYS.
2003-10-18 11:11:05 +00:00
phk
4f15f97a05
Initialize b_offset before calling VOP_SPECSTRATEGY()
2003-10-18 11:08:33 +00:00
phk
bd34a4ab18
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()
2003-10-18 11:08:04 +00:00
phk
7279dea9d5
Initialize b_offset before calling VOP_STRATEGY/VOP_SPECSTRATEGY.
...
Remove various comments of KASSERTS and comments about B_PHYS which
does not apply anymore.
2003-10-18 11:06:15 +00:00
phk
011e3f22c7
Initialize bp->b_offset and remove comment about B_PHYS.
2003-10-18 11:02:24 +00:00
phk
8b8970c045
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.
2003-10-18 11:01:11 +00:00
markm
3f45792057
ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.
2003-10-18 10:04:16 +00:00
markm
4d1565cf18
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.
2003-10-18 09:58:39 +00:00
phk
a347a9d216
We do not get B_PHYS buffers here anymore. /dev/drum is long gone.
2003-10-18 09:33:13 +00:00
phk
6b528c7911
Convert some if(bla) panic("foo") to KASSERTS to improve grep-ability.
2003-10-18 09:32:39 +00:00
markm
715845d8e6
Mark as __unused some arguments that are, erm, unused.
2003-10-18 09:16:01 +00:00
phk
3dfc831549
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.
2003-10-18 09:03:15 +00:00
phk
eec76e0d92
Rearrange the deck-chairs while we wait for scottl to GEOMify RF.
2003-10-18 08:58:35 +00:00