| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
a function. I made a mistake in assuming that the .cprestore directive
will cause the assembler to automatically restore 'gp' after the 'jalr'.
The .cprestore directive does its magic only after 'jal' and 'bal'
instructions - not the 'jalr'.
Pointed out by: c.jayachandran@gmail.com
|
|
|
|
|
|
| |
-Remove extra tab.
-Took out the duplicate code that cprestore does.
All suggested by Neel.
|
|
|
|
|
|
|
|
|
| |
argument for fnstsw. Explicitely specify sizes for the XMM control and
status word and X87 control and status words.
Reviewed by: das
Tested by: avg
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
| |
no save was being done of the ra and gp pointers
before we call the __error function.
Obtained from: JC (c.jayachandran@gmail.com)
|
|
|
|
|
| |
Approved by: ed (mentor, implicit)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
This bug in the man page has gone unnoticed for over 15 years!
PR: docs/143461
Submitted by: Jeremy Huddleston jeremyhu apple.com
Approved by: ed (mentor, implicit)
MFC after: 1 week
|
|
|
|
|
| |
This makes the implementation a bit more consistent with strdup(3),
which uses strlen(3).
|
|
|
|
|
|
| |
PR: bin/93473
Submitted by: Björn König <bkoenig@cs.tu-berlin.de>
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix a race in chunk_dealloc_dss().
* Check for allocation failure before zeroing memory in base_calloc().
Merge enhancements from a divergent version of jemalloc:
* Convert thread-specific caching from magazines to an algorithm that is
more tunable, and implement incremental GC.
* Add support for medium size classes, [4KiB..32KiB], 2KiB apart by
default.
* Add dirty page tracking for pages within active small/medium object
runs. This allows malloc to track precisely which pages are in active
use, which makes dirty page purging more effective.
* Base maximum dirty page count on proportion of active memory.
* Use optional zeroing in arena_chunk_alloc() to avoid needless zeroing
of chunks. This is useful in the context of DSS allocation, since a
long-lived application may commonly recycle chunks.
* Increase the default chunk size from 1MiB to 4MiB.
Remove feature:
* Remove the dynamic rebalancing code, since thread caching reduces its
utility.
|
|
|
|
| |
Approved by: rrs (mentor)
|
|
|
|
|
|
| |
Add missing RETURN VALUES section in sctp_opt_info(3).
Approved by: rrs (mentor)
|
|
|
|
| |
and not EFI_FREEBSD_VENDOR (cf. EFI_GLOBAL_VARIABLE).
|
|
|
|
|
|
|
|
|
|
|
| |
- Make sure the mode argument is either a character or a block device.
- Use S_IS*() instead of checking S_IF*-flags by hand.
- Don't use kern.devname when the argument is already NODEV.
- Always call snprintf with the proper amount of arguments corresponding
with the format.
- Perform some whitespace fixes. Tabs instead of 4 spaces, missing space
for return statement.
- Remove unneeded includes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This first commit brings 3 functions for enumerating, retrieving,
adding, removing and modifying EFI variables. The immediate use of these
include the insertion of a new boot option as part of the installation
process.
This library uses ioctl(2) requests implemented by io(4) to pass the
requests down through the kernel to EFI. These ioctl requests are only
implemented on ia64, so libefi is currently only enabled on ia64. The
interface is generic and io(4) on mad64/i386 can easily be taught to
handle these once EFI support has been added to the kernel there.
|
|
|
|
| |
Pointed out by: bde
|
|
|
|
|
|
| |
with shm_open(2), as otherwise the O_ flags are undefined.
MFC after: 3 days
|
|
|
|
| |
Submitted by: Hans Petter Selasky
|
| |
|
|
|
|
|
|
|
| |
deallocate.
Submitted by: Ryan Stone (rysto32 at gmail dot com)
Approved by: jasone
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we had utmp(5), we had to list all the psuedo-terminals in ttys(5)
to make ttyslot(3) function properly. Now that pututxline(3) deals with
slot allocation internally (not based on TTY names), we don't need to
list all the TTYs on the system in ttys(5) to make user accounting work
properly.
This patch removes all the entries from the /etc/ttys files, but also
the pts(4) entries that were appended implicitly, which was added in
r154838.
|
| |
|
|
|
|
|
|
| |
Mention some prominent past contributors: Hajimu Umemoto (ipv6), Henry
Whincup (https), Jukka Ukkonen (if-modified-since) and Jean-François
Dockes (digest auth)
|
|
|
|
|
|
|
| |
not the "manual page example" was introduced.
Approved by: ed (mentor, implicit)
MFC after: 1 week
|
|
|
|
|
| |
Approved by: ed (mentor, implicit)
MFC after: 1 week
|
|
|
|
|
|
|
| |
not the "manual page example" was introduced.
Approved by: ed (mentor, implicit)
MFC after: 1 week
|
|
|
|
| |
Approved by: delphij
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Continuous catopen() calls cause 4 failig stat(2) each, which means a lot
of overhead. It is also a good idea to keep the opened catalogs in the memory
to speed up further catopen() calls to the same catalog since these catalogs
are not big at all. In this case, we count references and only free() the
allocated space when the reference count reaches 0. The reads and writes to
the cache are syncronized with an rwlock when these functions are called from
a threaded program.
Requested by: kib
Approved by: delphij
|
|
|
|
| |
Reviewed by: marius
|
|
|
|
| |
9.6.1-P3 update
|
|
|
|
|
|
| |
- Remove unrelated references to tty(5).
- Remove unneeded relation with FILE *.
- Add better cross references.
|
|
|
|
| |
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've noticed many applications do a bad job at timekeeping, for several
reasons:
- Applications like screen(1) don't update time records when restoring
the old user login record.
- Many applications only set ut_tv.tv_sec, not ut_tv.tv_usec.
This causes many problems for tools such as ac(8), which require the
timestamps to be properly ordered. This is why I've decided to let the
utmpx code obtain valid timestamps itself.
|
|
|
|
| |
of cpio archives.
|
|
|
|
|
|
|
| |
Instead of trying to reference-count them and free them as soon
as they are no longer needed, we now just keep them around and free
them all when we release the archive object. This fixes a number
of minor memory leaks, especially when reading damaged archives.
|
|
|
|
|
|
| |
be processed any further) and a suitable error string.
In particular, this improves the error-reporting when cpio -o is
given a nonexistent filename.
|
| |
|
| |
|
|
|
|
| |
Submitted by: jmallett
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've discussed this issue with the Austin Group and it will be fixed in
future revisions of the specification. The issue was that ut_line fields
weren't supposed to be valid for LOGIN_PROCESS entries, while
getutxline() would try to match these records anyway.
They also agreed on our way of implementing pututxline() without
getutxid() (which other operating systems also do), but unfortunately
they disagreed with our way of replacing DEAD_PROCESS entries, which is
a pity. The current specification allows the utmpx database to become
infinitely big over time.
See also: http://austingroupbugs.net/view.php?id=213#c378
|
|
|
|
| |
I removed utmp and its manpage, but not other manpages referring to it.
|
|
|
|
|
|
| |
libulog now only provides functions that are used by various packages
from the ports tree, namely the libutempter ones. There is no reason to
link it into the crunch/fixit binaries anymore.
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: bde
|