| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
it under the mii devices list.
PR: kern/123147
Submitted by: gavin
Approved by: imp (mentor, implicit)
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
superpage-aligned virtual address for the mapping. Revision 1.65
implemented an overly simplistic and generally ineffectual method for
finding a superpage-aligned virtual address. Specifically, it rounds
the virtual address corresponding to the end of the data segment up to
the next superpage-aligned virtual address. If this virtual address
is unallocated, then the device will be mapped using superpages.
Unfortunately, in modern times, where applications like the X server
dynamically load much of their code, this virtual address is already
allocated. In such cases, mmap(2) simply uses the first available
virtual address, which is not necessarily superpage aligned.
This revision changes mmap(2) to use a more robust method,
specifically, the VMFS_ALIGNED_SPACE option that is now implemented by
vm_map_find().
|
| |
| |
| |
| |
| |
| | |
physical address of the device's memory. This enables
pmap_align_superpage() to propose a virtual address for mapping the
device memory that permits the use of superpage mappings.
|
| |
| |
| |
| |
| | |
Requested by: brooks
Reminded by: brooks, about halfway through his BSDCan talk
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
files if the existing file is newer than the archive entry).
Currently if any files are ignored, bsdtar will exit with a non-zero
exit status; this is likely to change in the future, but requires some
API changes in libarchive.
Discussed with: kientzle
Obtained from: tarsnap
|
| |
| |
| |
| | |
Reviewed By: bz
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- verified that the ifp->if_snd.ifq_mtx was initalized for
all attached interfaces. This was pointless because it was
initalized for all interfaces in if_attach() so I've removed it.
- Checked that ifp->if_snd.ifq_maxlen is initalized and set it to
ifqmaxlen if unset. This makes more sense in if_attach() so
I moved it there.
- The first call of if_slowtimo(). Delete if_check() and call
if_slowtimo() directly from the SYSINIT().
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
All shim hooks are defined here. This is the interface between BSD
code in FreeBSD and CDDL code from OpenSolaris.
The hooks defined here are pre-processed out from the source files
when the KDTRACE_HOOKS kernel option isn't defined.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note that this implementation differs from the one in OpenSolaris, so
it is BSD licensed and can be included anywhere.
The kernel definitions defined here are dependent on the kernel option
KDTRACE_HOOKS so that macros added to the sources are pre-processed
out completely when the DTrace kernel hooks aren't compiled in.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the mentioned PR:
- bounds check time->month as it is used as an array index
- fix usage of time->month as array index (month is 1-12)
- fix calculation based on time->day (day is 1-31)
- fix the speedup code as it doesn't calculate correct timestamps before
the year 2000 and reduce the number of calculation in the year-by-year code
- speedup month calculations by replacing the array content with cumulative
values
- add microseconds calculation
- fix an endian problem
PR: kern/97786
Submitted by: Andriy Gapon <avg@topspin.kiev.ua>
Reviewed by: scottl (earlier version)
Approved by: emax (mentor)
MFC after: 1 week
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
PR: usb/118741
Submitted by: Yuri <yuri at tsoft dot com>
Approved by: imp (mentor, implicit)
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-It has new hardware support
-It uses a new method of TX cleanup called Head Write Back
-It includes the provisional generic TCP LRO feature contributed
by Myricom and made general purpose by me. This should move into
the stack upon approval but for this driver drop its in here.
-Also bug fixes and etc...
MFC in a week if no serious issues arise.
|
| |
| |
| |
| | |
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| | |
additional work is needed to handle ABI-specific syscall argument parsing,
but this gets the basic tracing working.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| | |
so the index needs to be translated into an offset. While we
did add the offset (0x10), we forgot to account for the width.
Tested by: Thomas Vogt
MFC after: 3 days
|
| | |
|
| |
| |
| |
| |
| |
| | |
Hungarian spelling, change them accordingly
Requested by: Janos Mohacsi <mohacsi@niif.hu>
|
| |
| |
| |
| |
| |
| | |
ciss. This should allow volumes > 2TB to work.
Reported by: Emil Mikulic
|
| | |
|
| |
| |
| |
| | |
to 8192 bytes which is the size currently used.
|
| |
| |
| |
| |
| |
| |
| |
| | |
as the more commonly used "a.m." and "p.m.".
Tripped over by: Callum Gibson.
MFC after: 2 weeks
|
| |
| |
| |
| | |
wpi_raw_xmit();
|
| |
| |
| |
| | |
MFC after: 3 days
|
| |
| |
| |
| | |
original commit axing it).
|
| |
| |
| |
| | |
PR: 87726
|
| |
| |
| |
| |
| |
| |
| | |
drop it.
Reported by: Josh Carroll <josh dot carroll at gmail dot com>
Submitted by: jhb
|
| |
| |
| |
| |
| |
| |
| | |
- Obsolete redundant inst_name and unit members of struct sym_hcb.
- Fix three more NULL vs. 0 confusions.
- Use device_set_softc(9) to tell the bus layer that this driver
allocates a instance of struct sym_hcb itself.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(all types) used per socket buffer.
Add support to netstat to print out all of the socket buffer
statistics.
Update the netstat manual page to describe the new -x flag
which gives the extended output.
Reviewed by: rwatson, julian
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
lock_object, using an unified field called lo_data.
- Replace lo_type usage with the w_name usage and at init time pass the
lock "type" directly to witness_init() from the parent lock init
function. Handle delayed initialization before than
witness_initialize() is called through the witness_pendhelp structure.
- Axe out LO_ENROLLPEND as it is not really needed. The case where the
mutex init delayed wants to be destroyed can't happen because
witness_destroy() checks for witness_cold and panic in case.
- In enroll(), if we cannot allocate a new object from the freelist,
notify that to userspace through a printf().
- Modify the depart function in order to return nothing as in the current
CVS version it always returns true and adjust callers accordingly.
- Fix the witness_addgraph() argument name prototype.
- Remove unuseful code from itismychild().
This commit leads to a shrinked struct lock_object and so smaller locks,
in particular on amd64 where 2 uintptr_t (16 bytes per-primitive) are
gained.
Reviewed by: jhb
|
| |
| |
| |
| |
| |
| | |
PR: bin/93172
Submitted by: Robert Millan <rmh at aybabtu dot com>
MFC after: 1 week
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Portability Utilities" option.
Often configure scripts generated by the autotools test if $LINENO works and
refuse to use /bin/sh if not.
Package test run by: pav
|
| |
| |
| |
| | |
Submitted by: tmclaugh
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove confusing README.
PR: bin/98911
Submitted by: Jason McIntyre <jmc at kerhand dot co dot uk>
Obtained from: OpenBSD
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| | |
system may panic because there is no reservation structure corresponding to
the physical address of the device memory.
Reported by: Giorgos Keramidas
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
difficult. Add a -L option (yet another option, indeed!) which changes the
speed of scrolling and change -U to only affect the scroll threshold.
This should make middle-clicking a much more pleasant experience.
PR: bin/120186
Submitted by: Aragon Gouveia <aragon -at- phat.za.net>
MFC after: 3 days
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The rc.initdiskless functionality is used by NanoBSD to allow configuration
files to live on a separate configuration slice, which acts as NVRAM, whilst
the system image is mounted read-only.
Normally, if the remount command fails during boot, this is regarded as
a fatal error. If /conf/T/M/remount_optional is present, this error is
non-fatal. If the file is not present, the default behaviour is unchanged.
This is very useful for people building live CD images using FreeBSD,
where the NVRAM lives somewhere completely differently from the system image,
and may be present on removable media which is not present during the
initial boot.
|
| | |
|
| |
| |
| |
| | |
LD_TRACE_LOADED_OBJECTS_FMT[12], more obvious for users like me.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
it try to read network address through ifnet structure which is NULL
until the ndis driver's initialization is finished.
Reviewed by: thompsa
|
| |
| |
| |
| |
| |
| |
| | |
command line arguments stored in the note at the beginning of a core dump
instead of the current thread name.
Reviewed by: julian
|
| |
| |
| |
| |
| |
| | |
if we are listing devices, a controller might legitimately not be there.
Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>
|
| |
| |
| |
| | |
Submitted by: Martin Voros <martin_voros@yahoo.com>
|