njl
a0513d1c1b
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.
2003-10-19 05:56:59 +00:00
peter
f6b3495b98
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
2003-10-19 02:43:57 +00:00
peter
f12c582358
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
1d78b2e32f
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
53b93c8dfd
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
779fe890c6
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
6e7bb6fccf
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
3fe86b00f1
Don't confuse tags and handles.
2003-10-19 00:03:10 +00:00
alc
7f534aa0da
- 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
53d02745ca
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
58428ab840
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
5205e8fc0e
- 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
acc2e67bab
- 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
04a0306caa
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
a5ef8cac07
Initialize b_iooffset before calling VOP_[SPEC]STRATEGY
2003-10-18 19:49:46 +00:00
phk
32b3105ecb
Initialize b_iooffset before calling strategy
2003-10-18 19:48:21 +00:00
phk
7fb46a796f
Only automatically create an 'a' partition when there is nothing
...
but a 'c' partition.
2003-10-18 19:32:35 +00:00
alc
7e20f6079b
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
1adc81f291
New release note:
...
Fix ipfw(4) limit rule processing.
2003-10-18 18:18:17 +00:00
phk
2e7246671c
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
d23958e54d
Don't report b_pblkno, it is going away.
2003-10-18 17:59:02 +00:00
phk
00da3cb55b
Do not initialize bp->b_pblkno, it is going away.
2003-10-18 17:57:48 +00:00
phk
5446e7de92
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
dc78804986
Eliminate use bio_blkno.
2003-10-18 17:51:26 +00:00
ume
c853a0cffa
rtfree() must be called in lock context.
...
Reported by: jhay
2003-10-18 17:46:23 +00:00
phk
802a2d9757
Discontinue bio_blkno usage.
2003-10-18 17:45:45 +00:00
phk
ee6181c0e0
Discontinue bio_blkno, use bio_offset instead.
2003-10-18 17:44:01 +00:00
phk
ae7757187b
Eliminate reporting of bio_blkno.
2003-10-18 17:28:36 +00:00
phk
74d17a7b1f
Report bio_pblkbo instead of bio_blkno.
2003-10-18 17:27:10 +00:00
phk
6aa7d04123
Use bio_offset instead of bio_blkno
2003-10-18 17:26:13 +00:00
phk
bf8971ee70
No need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset.
2003-10-18 17:24:51 +00:00
phk
51509b4b1b
Make bioq_disksort() sort on the bio_offset field instead of bio_pblkno.
2003-10-18 15:50:56 +00:00
imp
b10ed41431
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
5c5a72acf5
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
caf930bc53
I think rwatson got the sign wrong here...
2003-10-18 12:16:17 +00:00
phk
8f6e23f1e6
Don't initialize unused bio_blkno field.
2003-10-18 11:25:42 +00:00
phk
09cd2aefe8
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()
2003-10-18 11:16:33 +00:00
phk
73ade120c5
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
dd85e674f7
Initialize bp->b_offset before calling VOP_STRATEGY()
2003-10-18 11:13:31 +00:00
phk
06d8cf2ceb
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY().
...
Remove stale comment about B_PHYS.
2003-10-18 11:11:05 +00:00
phk
d5494d4c37
Initialize b_offset before calling VOP_SPECSTRATEGY()
2003-10-18 11:08:33 +00:00
phk
0502229a3e
Initialize bp->b_offset before calling VOP_[SPEC]STRATEGY()
2003-10-18 11:08:04 +00:00
phk
a4e276b47f
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
9e3c4399dc
Initialize bp->b_offset and remove comment about B_PHYS.
2003-10-18 11:02:24 +00:00
phk
553a9cb353
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
a49e54ca91
ANSIfy, WARNSify, CONSTify. Bit of style(9)-ify.
2003-10-18 10:04:16 +00:00
markm
5a46529dd9
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
1a4c43f41b
We do not get B_PHYS buffers here anymore. /dev/drum is long gone.
2003-10-18 09:33:13 +00:00
phk
04a6ac9ee0
Convert some if(bla) panic("foo") to KASSERTS to improve grep-ability.
2003-10-18 09:32:39 +00:00
markm
15af1fc239
Mark as __unused some arguments that are, erm, unused.
2003-10-18 09:16:01 +00:00