Jeff Roberson
40ece05382
- Revert rev 1.240 we no longer need a kthread for loadav().
2004-02-01 05:37:36 +00:00
Dag-Erling Smørgrav
154671e516
Use uname -n
as default for the HOSTNAME configuration variable.
2004-02-01 04:51:25 +00:00
Jeff Roberson
e7f004fe23
- Use sched_load() rather than grabbing the sx lock and traversing the proc
...
table to discover the load.
2004-02-01 02:51:33 +00:00
Jeff Roberson
33916c360e
- Add a new member to struct kseq called ksq_sysload. This is intended to
...
track the load for the sched_load() function. In the SMP case this member
is not defined because it would be redundant with the ksg_load member
which already tracks the non ithd load.
- For sched_load() in the UP case simply return ksq_sysload. In the SMP
case traverse the list of kseq groups and sum up their ksg_load fields.
2004-02-01 02:48:36 +00:00
Jeff Roberson
ca59f15272
- Keep a variable 'sched_tdcnt' that is used for the local implementation
...
of sched_load(). This variable tracks the number of running and runnable
non ithd threads. This removes the need to traverse the proc table and
discover how many threads are runnable.
2004-02-01 02:46:47 +00:00
Jeff Roberson
b654d10049
- Add a sched API entry point that returns the system load. This load should
...
not include any ithreads.
- Document the difference between sched_load() and sched_runnable() as they
are very similar.
2004-02-01 02:44:35 +00:00
Robert Watson
fca542bcaa
Move KASSERT regarding td_critnest to after the value of td is set to
...
curthread, to avoid warning and incorrect behavior.
Hoped not to mind: jeff
2004-02-01 02:31:36 +00:00
Jeff Roberson
6767c6547b
- Assert that td_critnest > 0 in critical_exit() to catch cases of
...
unbalanced uses of the critical_* api.
2004-02-01 01:24:54 +00:00
Andrey A. Chernov
a5c2a55d93
Clarify more about LC_*/LANG priorities.
2004-01-31 23:29:20 +00:00
David Schultz
01623eaad2
Merge vfscanf.c,v 1.35.
2004-01-31 23:18:53 +00:00
David Schultz
ff81345642
Fix the handling of negative hexadecimal numbers in integer formats.
...
Note that this bug is unrelated to recent work in this area; it seems
to have been present since revision 1.1.
Obtained from: NetBSD
2004-01-31 23:16:09 +00:00
Robert Watson
26518e8d8c
Fix an error in a KASSERT string: it's pipe_free_kmem(), not
...
pipespace(), that contains this KASSERT.
2004-01-31 23:03:22 +00:00
Brooks Davis
bbe513dbf8
Use memcpy plus a manual NUL termination when copying the interface name
...
from the sdl because strlcpy requires that the source string be
NUL-terminated unlike strncpy.
Submitted by: Peter Jeremy <PeterJeremy at optushome dot com dot au>
2004-01-31 22:59:03 +00:00
Daniel Eischen
4543f32e21
Move the checks for whether or not to build pppctl to
...
the architecture-dependent sections of the Makefile.
Submitted by: ru
2004-01-31 22:18:09 +00:00
Tom Rhodes
0d21302ea1
deischen had a good idea on how to make my previous commit a little better,
...
update accordingly.
Suggested by: deischen
2004-01-31 22:02:03 +00:00
Takeshi Shibagaki
386a89ed83
Compiled longrun.c when defined options CPU_ENABLE_LONGRUN,
...
and fixed wrong comparation in cpu vendor. Longrun function
was re-enabled.
2004-01-31 20:14:44 +00:00
Andrey A. Chernov
41ddc53bca
LC_ALL not always take priority over other LC_*
...
Obtained from: NetBSD
PR: 62047
2004-01-31 19:15:32 +00:00
Warner Losh
20d6d1bd21
Add the Canon N1240U to the mix. It appears to be similar to the
...
1220U and supported by sane
# someone should update the man page to include all the devices that
# uscanner supports.
2004-01-31 18:12:18 +00:00
Tom Rhodes
448ed982f2
Update this manual page for the libkse -> libpthread changes.
...
Discussed with: deischen
2004-01-31 17:56:45 +00:00
Ian Dowse
9323dbdb0a
Use strtol to parse the <%d> tags in printline() and printsys().
...
Sort local variables declarations in these functions.
Submitted by: bde
2004-01-31 17:44:27 +00:00
Marcel Moolenaar
387c10289f
Apply s/LIBC_R/LIBPTHREAD/ to the DPADD variable. The LDADD variable
...
already had s/libc_r/libpthread/ applied to it.
2004-01-31 17:28:09 +00:00
Marcel Moolenaar
2e381660c9
Add LIBPTHREAD.
2004-01-31 17:25:18 +00:00
Daniel Eischen
82e9039964
Add some logic so that pppctl isn't built if the correct threading library
...
is not present.
Noticed by: ru
2004-01-31 17:12:05 +00:00
Daniel Eischen
baadb27d98
Correct the link for the profiling library.
2004-01-31 17:00:04 +00:00
Poul-Henning Kamp
be8a62e821
Introduce the SO_BINTIME option which takes a high-resolution timestamp
...
at packet arrival.
For benchmarking purposes SO_BINTIME is preferable to SO_TIMEVAL
since it has higher resolution and lower overhead. Simultaneous
use of the two options is possible and they will return consistent
timestamps.
This introduces an extra test and a function call for SO_TIMEVAL, but I have
not been able to measure that.
2004-01-31 10:40:25 +00:00
David E. O'Brien
f191a0bcf6
Bump the NFCv3/TCP defaults for rsize and wsize from 8K to 32K to match
...
Solaris and HP-UX. This increases read performance for large files across NFS.
PR: 62024 & 26324
Submitted by: Bjoern Groenvall <bg@sics.se>
2004-01-31 10:40:15 +00:00
Ruslan Ermilov
d2dcbef638
Catch up with the 20040130 src/UPDATING entry, and spell libpthread
...
as -lpthread. (Alpha and SPARC64 still spell it -lkse, but we hope
this to change by 5.3-RELEASE.)
Reviewed by: deischen
2004-01-31 09:41:05 +00:00
Ruslan Ermilov
11bf3600e8
Overhaul of kerberos5/ makefiles. Most significant changes are:
...
- Dropped support for standalone builds, this was only partially
supported anyway, and required so much magic in makefiles that
made life dangerous (e.g., by using the custom yacc rules).
- Got rid of .OBJDIR in makefiles -- makes building of individual
files possible again.
- Made the .x.c transformations -j safe.
- Reprogrammed LDADD to fix static build of some utilities that
was broken.
- Fixed LDFLAGS and DPADD in the WITH_OPENLDAP case -- positively
affects the contents of .depend files.
- Removed redundant .h's from SRCS, only kept those that are
generated.
- libkrb5/ INCS were bogusly installed again with libgssapi/.
- Made build-tools real tools with their own makefiles in
separate directories. This allows us to properly track
their dependencies, etc.
- Faster build, 21% less of makefile code!
Approved by: nectar
Reviewed by: markm
Silence on: arch
2004-01-31 08:15:57 +00:00
David E. O'Brien
8e587162d3
Install a 'disklable' alias.
...
Technical Reviewed by: ru
2004-01-31 07:39:45 +00:00
Alan Cox
bfb7317ebf
Remove unnecessary vm object reference and deallocate calls from ffs_read()
...
and ffs_write(). These calls trace their origins to the dead vfs_ioopt
code, first appearing in revision 1.39 of ufs_readwrite.c.
Observed by: bde
Discussed with: tegge
2004-01-31 05:42:58 +00:00
Marcel Moolenaar
a99e07ba17
Now that libpthread is the default threading library, remove the
...
compatibility link from libc_r to libpthread (previously a link
from libc_r to libkse).
2004-01-31 05:05:45 +00:00
Bruce Evans
c24c2f8c47
1. Garbage-collected LIBDES (now in a different library), LIBPERL (banished
...
to ports) and LIBRESOLV (now in a different library.
2. Added comments about nonexistent libraries LIBPC and LIBPLOT.
Submitted by: ru (1)
2004-01-31 03:15:50 +00:00
Bruce Evans
47d4aab142
Fixed insertion sort errors for LIBBLUETOOTH and LIBSDP.
2004-01-31 03:09:10 +00:00
Bruce Evans
5e9867291a
Removed XXX comments about some libraries only being in the secure
...
distribution. This is not the place to document this, especially
now that the secure distribution is the normal one.
Reviewed by: ru
2004-01-31 02:51:41 +00:00
Bruce Evans
c7fde57406
Fixed some style bugs (long lines).
2004-01-31 02:17:11 +00:00
Marcel Moolenaar
b60c2339a9
In Write_Disk(), fix the non-error case where we returned to the
...
caller without closing the disk device and freeing allocated
memory. Not closing the disk device prevents GEOM from retasting
after spoiling.
Pointy hat: marcel
2004-01-30 20:52:54 +00:00
John Baldwin
05d9236acf
Drop -mcpu=pentiumpro from the default CPU flags for i386 as it doesn't
...
perform better than the default setting for most i386 CPUs.
Requested by: bde
2004-01-30 19:51:26 +00:00
Søren Schmidt
367d380b54
Be more robust in the probe. We dont want to get into a loop with
...
reinitting when we try to identify devices. If they dont interrupt
on identify we retry once. If this fails we simply ignore that device.
2004-01-30 19:16:08 +00:00
Bruce A. Mah
4d3410b485
Move recent devfs path rules note from userland section to kernel
...
section; update manpage entity reference appropriately.
Requested by: cperciva
2004-01-30 18:29:14 +00:00
Bruce A. Mah
5f05fcc8a2
New errata: SA-04:01.
2004-01-30 17:53:48 +00:00
Bruce A. Mah
175b5a83de
Argh. Fix SA-04:01 note so that it actually makes sense.
2004-01-30 17:50:35 +00:00
Bruce A. Mah
8e1a094907
New release notes: SA-04:01, devfs(8) rules work on directories,
...
libdisk fix for pc98, libpthread default, boot floppy overhaul.
Modified release notes: Rewrite Project Evil note.
2004-01-30 17:46:05 +00:00
Dag-Erling Smørgrav
e726bc0e6c
Mechanical whitespace cleanup.
2004-01-30 16:26:29 +00:00
Jacques Vidrine
b00ddae648
I'll continue to babysit the Kerberos-related stuff.
2004-01-30 15:40:33 +00:00
Hartmut Brandt
a1adb510b2
Use the official ng_timeout function to trigger sending. This means,
...
that we can get rid of of all the spl*() calls, because ng_timeout
handles the locking issues.
2004-01-30 15:34:57 +00:00
Hidetoshi Shimokawa
dbc80c7bf2
Add NEC uPD72873.
...
Submitted by: Christian Laursen <xi@borderworlds.dk>
2004-01-30 14:30:19 +00:00
Hidetoshi Shimokawa
b180671ce4
Use device_identify and bus_add_child methods to add a firewire
...
bus on fwohci. This should fix attach failure caused by a race
between firewire and fwochi initialization for the kernel module.
2004-01-30 14:28:11 +00:00
Yoshihiro Takahashi
11e5ad6def
Update the MINIMALDOCPORTS variable.
...
- Add ports/Tools to get some scripts.
- Add missing dependency (print/ghostscript-gnu-nox11). [1]
- Remove unused ports (devel/bison and textproc/mkcatalog). [1]
Submitted by: jhay [1]
2004-01-30 14:10:24 +00:00
Daniel Eischen
d9fece91e0
Bump __FreeBSD_version to note the change of default thread library
...
from libc_r to libpthread.
2004-01-30 13:43:51 +00:00
Yoshihiro Takahashi
63c69957ca
MFi386: revision 1.397 (cosmetic changes)
2004-01-30 13:15:42 +00:00