| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Approved by: re (scottl)
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
|
|
| |
questing kernel config files not in CVS.
Approved by: re(kensmith)
|
|
|
|
|
|
| |
section or not.
Approved by: re (blanket)
|
|
|
|
|
|
|
|
| |
kernel mode, always use the curthread pmap instead. There are valid cases
were we can fault on a user address from the kernel without pcb_onfault
being set.
Approved by: re (blanket)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
vm_page's machine-dependent fields. Use this function in
vm_pageq_add_new_page() so that the vm_page's machine-dependent and
machine-independent fields are initialized at the same time.
Remove code from pmap_init() for initializing the vm_page's
machine-dependent fields.
Remove stale comments from pmap_init().
Eliminate the Boolean variable pmap_initialized from the alpha, amd64,
i386, and ia64 pmap implementations. Its use is no longer required
because of the above changes and earlier changes that result in physical
memory that is being mapped at initialization time being mapped without
pv entries.
Tested by: cognet, kensmith, marcel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Implement sampling modes and logging support in hwpmc(4).
- Separate MI and MD parts of hwpmc(4) and allow sharing of
PMC implementations across different architectures.
Add support for P4 (EMT64) style PMCs to the amd64 code.
- New pmcstat(8) options: -E (exit time counts) -W (counts
every context switch), -R (print log file).
- pmc(3) API changes, improve our ability to keep ABI compatibility
in the future. Add more 'alias' names for commonly used events.
- bug fixes & documentation.
|
|
|
|
| |
Reported by: ru
|
| |
|
|
|
|
|
| |
interrupts.
- Implement teardown methods where appropriate.
|
|
|
|
|
| |
an implementation of uma_small_alloc() which tries to preallocate memory
1MB per 1MB, and maps it into a section mapping.
|
| |
|
| |
|
|
|
|
|
| |
makes sure that sysinit tasks that run after configure_first(),
but before configure() have a nexus to hang devices off.
|
|
|
|
|
| |
of in configure(). Call cninit_finish() before setting cold to 0.
This is how it's done for other platforms. Be alike to avoid problems.
|
|
|
|
|
|
| |
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
|
| |
|
| |
|
| |
|
|
|
|
| |
it leads to funny things, such as pmap_remove_all() marking the page as dirty.
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
| |
|
|
|
|
| |
cpu_thread_setup(), as done in cpu_fork().
|
|
|
|
|
|
| |
for the dmamap by using static dmamaps.
- Don't do anything for BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTWRITE in
bus_dmamap_sync(), it's not needed anymore.
|
|
|
|
|
|
| |
to change the DACR when switching to a kernel thread, thus making
userland thread => kernel thread => same userland thread switch cheaper by
totally avoiding data cache and TLB invalidation.
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
| |
This fixes the random segfaults which occurs at high interrupts rate.
|
|
|
|
| |
child process if it tries to use threads.
|
| |
|
|
|
|
|
| |
stored in r2, which can't be easily done with casuptr(). Introduce
casuptrfault instead.
|
|
|
|
|
|
|
| |
in other codes. Add cpu_set_user_tls, use it to tweak user register
and setup user TLS. I ever wanted to merge it into cpu_set_kse_upcall,
but since cpu_set_kse_upcall is also used by M:N threads which may
not need this feature, so I wrote a separated cpu_set_user_tls.
|
|
|
|
| |
get hwpmc(4) to compile on this platform.
|
|
|
|
|
|
|
|
|
|
| |
into _bus.h to help with name space polution from including all of bus.h.
In a few days, I'll commit changes to the MI code to take advantage of thse
sepration (after I've made sure that these changes don't break anything in
the main tree, I've tested in my trees, but you never know...).
Suggested by: bde (in 2002 or 2003 I think)
Reviewed in principle by: jhb
|
|
|
|
|
| |
kernel domain for each pmap, as we don't update the page table when we're
switching to a kernel thread, but we do however update the DACR.
|
| |
|
|
|
|
| |
operations in some places and simple non-per CPU math in others.
|
| |
|
|
|
|
| |
going on, it produces random memory corruption.
|
| |
|
|
|
|
|
| |
atomic operations to userland (this is OK for UP only, but SMP is still so
far away).
|
|
|
|
| |
- Garbage-collect pmap_update(), it became quite useless.
|