| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
few hours earlier than the rest.
The next DEVFS commit needs these functions.
Alpha versions by: dfr
i386 versions by: jakeb
Approved by: SMPng
|
|
|
|
|
|
| |
specifies the instruction's operation size. GCC will default to 32-bit
operands reguardless of the prototype (ie, formal parameters' type)
of an inline function.
|
|
|
|
| |
than the non-atomic C macros.
|
|
|
|
| |
(__GNUC_MINOR__ on egcs in -current is "91" and is going to be "95" soon)
|
|
|
|
| |
to bootstrap and work with -current from older versions of FreeBSD.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
that are linked into the kernel. The KLD compilation options are
changed to call these functions, rather than in-lining the
atomic operations.
This approach makes atomic operations from KLDs significantly
faster on UP systems (though somewhat slower on SMP systems).
PR: i386/13111
Submitted by: peter.jeremy@alcatel.com.au
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change "void *" to "volatile TYPE *", improving type safety
and eliminating some warnings (e.g., mp_machdep.c rev 1.106).
cpufunc.h:
Eliminate setbits. As defined, it's not precisely correct;
and it's redundant. (Use atomic_set_int instead.)
ipl_funcs.c:
Use atomic_set_int instead of setbits.
systm.h:
Include atomic.h.
Reviewed by: bde
|
|
|
|
| |
to the rev 1.2 log entry.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with respect to interrupts on UP systems. (The upgrade from gcc 2.7.x
to egcs 1.1.2 produced at least one non-atomic code sequence in
swap_pager_getpages.)
In addition, the primitives are now SMP-safe, but only on SMPs. (For
portability between SMPs and UPs, modules are compiled with the SMP-safe
versions.)
Submitted by: dillon and myself
Reviewed by: bde
|
|
Add some overflow checks to read/write (from bde).
Change all modifications to vm_page::flags, vm_page::busy, vm_object::flags
and vm_object::paging_in_progress to use operations which are not
interruptable.
Reviewed by: Bruce Evans <bde@zeta.org.au>
|