| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
critical and should not be killed when pageout is looking for more
memory pages in all the wrong places.
Reviewed by: arch@
Sponsored by: St. Bernard Software
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
restores can work. Also correct allocation for signal frame size.
Reviewed by: mini
|
| |
|
|
|
|
|
|
|
|
|
|
| |
from strptime(3). Previously, they would get filled only
for the %s specifier and as a side effect of using the
the %Z specifier with a GMT time zone.
PR: misc/48993
Approved by: markm (mentor)
Silence on: -standards
|
|
|
|
| |
Requested by: bde
|
|
|
|
|
|
|
|
|
| |
new one, and do not fall back to the RO fd. There was a bug here
in that the RO fd was never closed, if the RDRW open succeeded, but
this code is bogus anyway, and it breaks newfs of floppies, at least
for me, due to "Device busy." Anything that wants to fall back is
doing something significantly odd that it should have some more complex
code on its end.
|
|
|
|
| |
Submitted by: Constantin S. Svintsoff <kostik (at) iclub.nsu.ru>
|
|
|
|
|
|
|
| |
Use prefix gctl_ systematically.
Add flag with access perms for each argument.
Add ro/rw versions of argument building functions.
General cleanup.
|
|
|
|
|
|
| |
more complicated things than just setting the lock to 0.
- Implement stubs for this function in libc and the two threading libraries
that are currently in the tree.
|
|
|
|
| |
sparc64/alpha.
|
| |
|
|
|
|
| |
The ... 2 system call
|
| |
|
| |
|
| |
|
|
|
|
| |
The .Fa argument
|
|
|
|
| |
The .Nm library
|
| |
|
| |
|
| |
|
|
|
|
| |
in that case.
|
|
|
|
| |
Approved by: des, markm (mentor)(implicit)
|
|
|
|
|
|
|
| |
by NIS work, like nsswitch.conf(5) promises to be able to.
(These modifications will be fed back to NetBSD, of course)
- In endusershell(), do not set `sl' to NULL if we know it already has
that value.
|
| |
|
| |
|
|
|
|
| |
leaving without deallocating `data' thereby creating a memory leak.
|
|
|
|
| |
Pointy hat to: phk
|
|
|
|
| |
to stay backwards compatible.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a couple of reqests: DSM_BUSY_PCT and DSM_QUEUE_LENGTH.
I have no further plans for mutilating this API at this point in
time, and will update the man-page to reflect current reality as
the next thing.
Reviewed by: ken
|
| |
|
|
|
|
| |
Improve a diagnostic printf.
|
|
|
|
| |
Spotted by: Lucky Green <shamrock@cypherpunks.to>
|
|
|
|
|
|
|
| |
variable.
PR: 48748
Reviewed by: mike (mentor)
|
|
|
|
| |
I have too many source trees :-(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kernel:
Change statistics to use the *uptime() timescale (ie: relative to
boottime) rather than the UTC aligned timescale. This makes the
device statistics code oblivious to clock steps.
Change timestamps to bintime format, they are cheaper.
Remove the "busy_count", and replace it with two counter fields:
"start_count" and "end_count", which are updated in the down and
up paths respectively. This removes the locking constraint on
devstat.
Add a timestamp argument to devstat_start_transaction(), this will
normally be a timestamp set by the *_bio() function in bp->bio_t0.
Use this field to calculate duration of I/O operations.
Add two timestamp arguments to devstat_end_transaction(), one is
the current time, a NULL pointer means "take timestamp yourself",
the other is the timestamp of when this transaction started (see
above).
Change calculation of busy_time to operate on "the salami principle":
Only when we are idle, which we can determine by the start+end
counts being identical, do we update the "busy_from" field in the
down path. In the up path we accumulate the timeslice in busy_time
and update busy_from.
Change the byte_* and num_* fields into two arrays: bytes[] and
operations[].
Userland:
Change the misleading "busy_time" name to be called "snap_time" and
make the time long double since that is what most users need anyway,
fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same
timescale as the kernel fields.
Change devstat_compute_etime() to operate on struct bintime.
Remove the version 2 legacy interface: the change to bintime makes
compatibility far too expensive.
Fix a bug in systat's "vm" page where boot relative busy times would
be bogus.
Bump __FreeBSD_version to 500107
Review & Collaboration by: ken
|
|
|
|
|
| |
explode, so nix the old strtod() / dtoa(). This change is part
of the gdtoa patches reviewed on standards@.
|
|
|
|
| |
Requested by: jhb
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
dtoa() is buggy. The bug would cause incorrect output to be
generated when format strings such as '%5.0f' were used with
nonzero numbers whose magnitude is less than 1.
Reported by: df(1) by way of periodic(8)
Reviewed by: mike
|
| |
|
|
|
|
|
|
|
|
|
|
| |
amount of bytes (supposed to be) written by vsnprintf exceeds the
size of the buffer.
PR: bin/48844
Submitted by: Peter A Jonsson <pj@ludd.luth.se>
Obtained from: OpenBSD
MFC after: 1 month
|
|
|
|
| |
writter thread can block reader threads to get read lock.
|
|
|
|
| |
Pointy hat to: jhb
|