| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
am not sure about that. The lack of -Werror and the inline noise hid
this for a while.
|
| |
|
| |
|
|
|
|
| |
to 5.1-CURRENT.
|
|
|
|
|
|
|
| |
set an initial value. This is aimed at getting us closer to being able to
turn -Werror back on and we can adjust the settings later on. Yes, we
could turn off -Wno-inline instead, but that would hide the effect of
gcc's bogo-estimator ignoring inline (either rightly or wrongly).
|
|
|
|
|
|
|
| |
written as a template that when inlined is specialized for the caller
through constant value propagation and dead code elimination. Thus,
the specialized code that is generated for pmap_clear_reference() et
al. avoids several conditional branches inside of a loop.
|
|
|
|
|
|
| |
APs rather than magic numbers.
Tested by: scottl
|
|
|
|
|
|
|
|
| |
fields in the low 32 bits of the local APIC ICR register. Use this macro
in place of APIC_RESV2_MASK when masking off existing bits from the ICR
when writing to it to send an IPI.
Tested by: scottl
|
| |
|
|
|
|
|
| |
The this eliminates 67% of the text segment (relative to respected
inline requests).
|
| |
|
|
|
|
|
| |
these may be called from contexts where we cannot sleep (callout handlers
for example).
|
|
|
|
| |
use malloc(9).
|
| |
|
|
|
|
|
|
| |
and software versions of the floating point code in libm. The runtime
selection was done by reading the hw.floatingpoint sysctl via
__get_hw_float().
|
|
|
|
|
|
| |
but this just created a weird inconsistency when porting gdb(1).
Instead, we name each high FP register seperately, like we do for
all the other registers.
|
|
|
|
|
|
| |
__attribute__((__always_inline__)) by adding an __always_inline macro
(used like __dead2 etc). __inline_damnit has also been suggested but we
have a precedent of keeping the names similar so they are easier to find.
|
|
|
|
| |
__attribute__((__nonnull__(x)), assume it so.
|
|
|
|
| |
2032 bytes and has no measurable impact on performance.
|
|
|
|
|
|
| |
PR: kern/51922
Submitted by: Eric Masson <e-masson@kisoft-services.com>
MFC after: 1 week
|
|
|
|
|
|
| |
code size by 3616 bytes. Furthemore, it was previously ignored by GCC.
While I'm at it, fix some bogus comments.
|
|
|
|
|
| |
Usually one needs only a couple of them so using a zone is waste
of memory (esp. on multi-cpu systems).
|
|
|
|
|
|
|
|
|
|
|
| |
These were a left over from when the private memory pools were
converted to use uma zones. The limit of UMA zones, however,
works differently. When a zone is limited to only one or two pages
than, on multi-cpu systems, processes can get stuck on the zonelimit,
because all remaining free items are in caches of other CPUs.
Also add rudimentary error handling in some places (panic) when a zone
cannot be created.
|
|
|
|
| |
Put it into MI files.
|
|
|
|
| |
Suggested by: jhb
|
| |
|
|
|
|
|
|
| |
it more than doubles the text size of this file.
GCC has wisely ignored us on this previously
|
| |
|
|
|
|
| |
Gcc has silently not been doing this for a long time.
|
|
|
|
|
| |
Compared to the contents of these functions, an extra function call
is nano-peanuts.
|
| |
|
|
|
|
|
|
| |
of 48 bytes for AAL0, we also need to update the packet header.
Spotted by: Anil Madhavapeddy <anil@recoil.org>
|
|
|
|
|
| |
theoretically supportable, but you'd really be happier with FreeBSD 2.1.8
on it.
|
|
|
|
| |
an int. Do not printf() it as though it were.
|
|
|
|
| |
gcc (quite rightly) unhappy. Move it earlier.
|
|
|
|
|
|
|
| |
AMD64, gcc (and the ABI) expects the x87 unit to be running in 80/64
mode (not 64/53) so that it can use it for 'long double' operations. It
takes the expected precision differences into account when generating
code.
|
|
|
|
|
|
|
|
|
| |
the SSE mxcsr register as well. Since gcc will intermix SSE2 and x87
FP code, the fpsetround() etc mode had better be the same.
There are hooks to enable these inlines to be instantiated inside libc
for non-gcc or C++ callers. (g++ doesn't like the inlines that tried
to extract an integer and convert it to an enum).
|
|
|
|
| |
forgotten in the previous commit to harp and should unbreak world.
|
|
|
|
|
|
| |
to test that the warning actually was emitted.
Spotted by: scottl
|
|
|
|
|
|
|
|
|
|
| |
sis_ioctl() was called, so one had to use ifconfig each time the cable got
plugged in to be able to use the connection.
Do it a better way now, add a "in_tick" field in the softc structure,
call timeout() in sis_tick() and don't call it in sis_init() if in_tick is
non-zero.
Reported by: Landmark Networks
Pointy hat to: cognet
|
| |
|
|
|
|
|
|
|
|
| |
newer lucent/hermes firmware than indicated (investigating). I'm committing
this now since it shouldn't hurt anything.
o Vaguely related, add bogus frame length check from netbsd.
Obtained from: netbsd
|
| |
|
|
|
|
| |
Sponsored by: Global Technology Associates, Inc.
|
| |
|
|
|
|
|
| |
Sponsored by: Global Technology Associates, Inc.
MFC after: 1 day
|
|
|
|
|
| |
Sponsored by: Global Technology Associates, Inc.
MFC after: 1 day
|
|
|
|
|
|
|
|
|
|
| |
LAZY_SWITCH changes. He pointed out the acpi code sets up an identity
mapping in the current vmspace and that got messed up by the %cr3 being
out of sync with the current page directory. As a workaround, restore
%cr3 across the sleep/resume. A more complete fix would be to undo the
lazy state and clear the pm_active bit from the borrowed pmap, but this
works and people are currently hurting. I'll clean this up.
This is mostly Ian's patch, plus a PAE tweak from me.
|
|
|
|
|
| |
We need eisa bridge support on some models, which now depends on having
eisa in the kernel.
|
|
|
|
|
|
|
|
|
| |
that an argument is not a NULL pointer.
Apply various obvious places.
I belive __printf*() implies __nonnull() so it is not needed on functions
already tagged that way.
|