lukem
25d91a60fb
* Re-number NS_FORCEALL from 1<<7 to 1<<8, moving it out of the "public"
...
bitrange for nsdispatch(3) return values.
* Tweak documentation comments in nsswitch.h
* Ensure the result from the back-end method is masked with
NS_STATUSMASK before nsdispatch(3) returns it.
2004-10-04 04:02:27 +00:00
enami
7d020061b6
Unbalanced bracket in comment.
2004-10-04 03:20:50 +00:00
enami
4fa5fd9ed6
- Testing low memory condition to see if we should alloc or not doesn't make
...
sense, since 1) the condition is quite normal condition and 2) there is
pool between us and uvm.
- Make the step of allocation possibility a bit seamless by moving the origin
of curve from 0 to lowater mark.
Simon told that this helps for interactive performance when there is heavy
disk activity in PR#27057.
2004-10-04 01:24:18 +00:00
thorpej
563a66a36f
Add a parsing module for 4.4BSD/NetBSD disklabels. This module supports
...
disklabels nested inside an MBR "NetBSD" or "386BSD" partition (first
one found is considered authoritative for the disk), or in one of several
known locations for various NetBSD platforms. It can read native or other-
endian disklabels (code is there, but not tested).
If you want to play with this, exercise caution; you can't currently
mountroot on a wedge (setroot() needs some work). Enabled by the
DKWEDGE_METHOD_BSDLABEL kernel option.
2004-10-04 01:16:39 +00:00
wiz
140a83e4cc
Break line at appropriate place, and bump date for new WSKBD_USONLY option.
2004-10-04 01:08:28 +00:00
thorpej
40f14b0328
Remove something mistakenly committed in last.
2004-10-04 01:07:57 +00:00
thorpej
3cb291f243
Move wedge code to a subdirectory, as suggested by Christos.
2004-10-04 01:07:25 +00:00
enami
51718e92ee
Factor out code to set watermark and ensure high > low.
2004-10-04 00:46:05 +00:00
enami
d3482ced60
Backout previous; seeing many busy page on the pageq is normal.
2004-10-04 00:28:30 +00:00
hubertf
fa3cdcf564
Add & document WSKBD_USONLY: In order to strip down the space usage of wscons,
...
all keymaps except the US english one can be removed from the kernel
with this option, which results in a space gain of about 10kB.
XXX it would be nice if we could strip down more kernel facilities
2004-10-04 00:20:23 +00:00
yamt
d0094e323b
proclist_foreach_call: tweak an assertion to deal with the case that
...
spinlockmgr is no-op. PR/27125 from Andreas Wrede.
2004-10-03 22:26:35 +00:00
darrenr
346ea4671b
Fix bin/25972 and actually add a token to generate the value IPNY_TCPUDP
...
as expected by the grammar.
2004-10-03 20:37:17 +00:00
darrenr
857c5d7740
kern/27086 (should be bin/27086) - the "keep options" only allow one order,
...
not both as they should for proper backwards compatibility.
2004-10-03 20:18:49 +00:00
bouyer
14068e2ca9
Add missing return, fix handling of Ignore Wide Residue messages.
2004-10-03 14:52:53 +00:00
yamt
fc9b8f9a4f
test getdents(2). currently fail on nfs.
2004-10-03 12:35:15 +00:00
jdolecek
20d2b45d7d
fix bug introduced in rev 1.70 - in the "keep state" & "oow" flag check,
...
ensure a pointer to a state structure is non-NULL before dereferencing
Fixes PR kern/26927 by me and PR kern/26947 by Brett Lymn
2004-10-03 12:21:13 +00:00
jdolecek
a9bc4a2fda
frrequest(): move some variable initializations for clarity
...
no functional change
2004-10-03 12:16:32 +00:00
yamt
94223b8ff0
nfs_enterdircache: initialize dc_flags of a newly allocated dircache entry.
...
provided by Greg Oster.
2004-10-03 10:51:28 +00:00
wiz
342cc31278
Slight grammar fixes.
2004-10-03 10:50:20 +00:00
yamt
31c025d90c
nfs_readdirrpc, nfs_readdirplusrpc:
...
don't expose kernel garbage data to userland.
2004-10-03 10:17:33 +00:00
toshii
a7d72b4250
Make this compile on arches without __BUS_SPACE_HAS_STREAM_METHODS.
2004-10-03 09:36:49 +00:00
enami
682c3c9443
- Don't let pagedaemon sleep while draining buf.
...
- Estimate amount of memory to free at a time.
Address PR#27057 (and similar hangs I saw several months ago).
2004-10-03 08:47:48 +00:00
enami
ba25820566
x > 15 is always false if x is 0 .. 15.
...
# XXX: testing free memory here is quite doubtful. also, I guess lowater
# XXX: is better than 0 as origin.
2004-10-03 08:30:09 +00:00
enami
778d21de43
Cheap test first.
2004-10-03 08:17:54 +00:00
enami
b6d06fab27
So that not to leave pages busy unnecessarily, bound to specified region
...
when building cluster if we aren't pagedaemon and clean entire cluster
if we are pagedaemon.
2004-10-03 08:14:25 +00:00
enami
a55995c148
Count obj pages freed by pagedaemon.
2004-10-03 07:59:02 +00:00
kent
41c5fabceb
add description of selector
...
mention unsupported features in BUGS section
bump date
2004-10-03 06:58:04 +00:00
kent
913cd88b5e
add source selector support. The patch was provided by Kazuhito HONDA.
...
PR#26538
2004-10-03 06:01:09 +00:00
toshii
5b66414bae
Add a socket_settype function to match with recent pcmcia code change.
2004-10-02 23:42:57 +00:00
wiz
1486617536
Fix typo reported by Alexander Yurchenko in private mail.
2004-10-02 21:20:12 +00:00
kent
fe459b3125
- add some debug prints
...
- no parameter names in prototypes
- use const pointers if dereferenced object should not be modified
2004-10-02 19:14:54 +00:00
he
1ccc26b661
Complete the list of victims of the IPF relocation by adding ftp-proxy.
2004-10-02 16:24:32 +00:00
dsl
5f9b910124
Save the length of each variable in the name table so that we can
...
compare the lengths and then use memcmp() in the search code.
Speeds up one of my scripts by a facter of 2.
Increase the size of the variable hash table.
Cuts down time for script to execute from 60 seconds to 10.
Move variable search into a new function to hide the implementation
from most of the code, new version is slightly smaller than old.
2004-10-02 12:16:53 +00:00
sekiya
5a0e6a845d
uint32_t -> unsigned long, per the differences between 32- and 64-bit ARCS.
2004-10-02 09:53:27 +00:00
sekiya
2ea60ebc6b
s,uint32_t,paddr_t,g. Noticed by tsutsui@
2004-10-02 08:53:09 +00:00
jdolecek
46134b3da6
move ip_htable.h from sys/netinet/ to sys/dist/ipf/netinet/, it's ipfilter file
2004-10-02 07:59:14 +00:00
kent
4a79196841
correct the return value type of _lwp_self()
2004-10-02 07:59:11 +00:00
christos
d0905be2d3
moved from sys/netinet.
2004-10-02 07:51:53 +00:00
christos
722688d056
These are ipfilter files, although they don't have the same copyright.
...
Thanks jaromir.
2004-10-02 07:51:11 +00:00
erh
c6f93ec983
Make the extended options work on little endian machines.
...
Allow files smaller than 512 bytes to be received w/o a timeout.
2004-10-02 05:05:35 +00:00
yamt
d79c3679ea
procfs_getattr: correct size of /proc/self.
2004-10-02 04:28:57 +00:00
sekiya
53ad2f0aab
Use the mips3 bus functions on IP30. Recognize the IP30 as a supported* SGI
...
platform.
* For extremely small values of "supported". arch/mips/* needs a lot of work
yet for MIPS64.
2004-10-02 03:19:00 +00:00
sekiya
288adc68db
ARCS on 64-bit platforms uses 64-bit pointers. This now works on my Octane.
2004-10-02 03:11:14 +00:00
hubertf
6ee2fd4071
Add a comment about that "Fast Data MMU Miss" may indicate a needed OBP
...
upgrade. Hinted at in a posting on port-sparc64@ by Philip Jensen,
OK'd by martin@.
2004-10-01 23:36:35 +00:00
he
1aba91b7c0
Move the conditional definition of offsetof() till after all the
...
headers have been included. Fixes compile problem for vax.
2004-10-01 20:46:15 +00:00
christos
99e43e6d35
Fallout from ipf move.
...
Forgot to commit that one [oops]
2004-10-01 20:01:51 +00:00
yamt
269a1761b2
procfs_readdir:
...
- fix a locking problem, using proclist_foreach_call. PR/27098.
- correct snprintf size argument.
2004-10-01 16:32:16 +00:00
yamt
0994e6acb8
introduce a function, proclist_foreach_call, to iterate all procs on
...
a proclist and call the specified function for each of them.
primarily to fix a procfs locking problem, but i think that it's useful for
others as well.
while i'm here, introduce PROCLIST_FOREACH macro, which is similar to
LIST_FOREACH but skips marker entries which are used by proclist_foreach_call.
2004-10-01 16:30:52 +00:00
christos
dc8336fa20
say what breaks now that we've moved ipf out of netinet.
2004-10-01 15:29:23 +00:00
christos
bb0410eb96
Account for ipfilter move.
2004-10-01 15:26:35 +00:00