| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
| |
From NetBSD by way of deichen
|
|
|
|
|
|
|
|
|
| |
4 bits. This reportedly fixes booting on the SW7500CW2. Much thanks to
the submitter for tracking this down!
Submitted by: Brian Buchanan <brian@ncircle.com>
Reviewed by: peter
MFC after: 3 days
|
|
|
|
|
| |
allow access to device memory through /dev/mem, or try to make modifying
kernel text through /dev/mem safe (it is not).
|
|
|
|
|
|
|
| |
cluster_wbuild(). This was causing strange panics that were widely
reported on current@.
Big Pointy Hat to: jeff
|
|
|
|
|
|
| |
as with the alpha backend because both implementations of bounce pages
are identical.
- Remove useless splhigh()/splx() calls.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use SYSINIT to initialize the structures instead of checking
total_bpages against 0 in alloc_bounce_pages(), which could lead
to several initializations being done at the same time.
- Add missing locking in bus_dmamap_load(), the bounce pages mutex
must be held when calling reserve_bounce_pages() and when touching
the bounce_map_waitinglist list.
- Remove the useless splhigh() and splx() calls.
- Assert that the bounce pages mutex is held in reserve_bounce_pages()
to catch regressions.
|
|
|
|
|
|
|
|
|
|
|
| |
code both seem to call wi_start (directly or via the if_start pointer)
without checking to see if OACTIVE is 0. In addition, I think that
with the use of 3 transmit buffers this routine can be called with
OACTIVE set, but I might be mistaken about that (and it doesn't
matter).
Reviewed by: sam
Noticed by: imp, alfred, ambrisko
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
but I decided that it was important for this patch to not bit-rot, and
since it is mainly moving code around, the total amount of entropy is
epsilon /phk)
This is a patch to move the common parts of linux_getcwd() back into
kern/vfs_cache.c so that the standard FreeBSD libc getcwd() can use it's
extended functionality. The linux syscall linux_getcwd() in
compat/linux/linux_getcwd.c has been rewritten to use it too. It should
be possible to simplify libc's getcwd() after this. No doubt this code
needs some cleaning up, since I've left in the sysctl variables I used
for debugging.
PR: 48169
Submitted by: James Whitwell <abacau@yahoo.com.au>
|
| |
|
| |
|
|
|
|
|
| |
illegal aliases will not be created in the data cache if its accessed
through another such mapping.
|
|
|
|
|
| |
after mapping it. This makes it possible to determine if a physical
page has a backing vm_page or not.
|
|
|
|
| |
Constify the geom identification pointer.
|
|
|
|
| |
work correctly.
|
|
|
|
| |
older SiS chips.
|
|
|
|
|
|
| |
to avoid a "locking against myself" panic when udf_hashins() tries
to lock it again. Lock the vnode in udf_hashins() before adding it to
the hash bucket.
|
|
|
|
|
| |
the simplification of socow_iodone() and sf_buf_free(); they don't
have to reverse engineer the sf buf from the data's address.
|
|
|
|
|
|
|
|
|
| |
are machine dependent because they are not required to update the tlb when
mappings are added or removed, and doing so is machine dependent.
In addition, an implementation may require that pages mapped with pmap_kenter
have a backing vm_page_t, which is not necessarily true of all physical
pages, and so may choose to pass the vm_page_t to pmap_kenter instead of the
physical address in order to make this requirement clear.
|
| |
|
| |
|
|
|
|
|
|
| |
- Support IFF_MONITOR.
- Borrow some consistency for if_input() routines from if_ethersubr.c.
- Correct comments regarding fddi_input() that no longer apply.
|
|
|
|
|
| |
traps that are difficult to recover from, so we check against the memory
map returned by the prom.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Call if_attach().
- Conditionally call bpfattach() based on second function argument.
|
|
|
|
|
|
| |
- Remove unneeded assignment.
- Increment if_oerrors as per if_fddisubr.c.
- Wrap ISO code with conditional.
|
| |
|
|
|
|
|
| |
- Add missing breaks.
- Add missing if_noproto++.
|
| |
|
| |
|
|
|
|
|
| |
- Use 'goto dropanyway' when appropriate.
- Move dropanyway label out of switch for readability.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
in promiscuous mode from if_fddisubr.c.
- Add comment to reduce diffs.
|
|
|
|
| |
This is the same code that was added in 1.70 of if_fddisubr.c
|
| |
|
|
|
|
| |
- Whitespace fixes.
|
| |
|
| |
|
| |
|
|
|
|
| |
- Use definition of senderr() from if_ethersubr.c.
|
|
|
|
|
| |
Submitted by: bde
MFC after: 2 weeks
|