| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
it to __MINSIGSTKSZ. Define MINSIGSTKSZ in <sys/signal.h>.
This is done in order to use MINSIGSTKSZ for the macro PTHREAD_STACK_MIN
in <pthread.h> (soon <limits.h>) without having to include the whole
<sys/signal.h> header.
Discussed with: bde
Notes:
svn path=/head/; revision=149337
|
|
|
|
|
|
|
|
|
|
| |
and KTR.
Contributed by: Antoine Brodin <antoine.brodin@laposte.net>
Concept code from: Neal Fachan <neal@isilon.com>
Notes:
svn path=/head/; revision=148666
|
|
|
|
|
|
|
|
| |
are 0 for arm, define them as such to make msdosfs_conv.c compile
again on arm.
Notes:
svn path=/head/; revision=148455
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the arm __swp() and sparc64 casa() and casax() functions is actually
being used as an input and output and not just the value of the register
that points to the memory location. This was the underlying source of
the mbuf refcount problems on sparc64 a while back. For arm this should be
a nop because __swp() has a constraint to clobber all memory which can
probably be removed now.
Reviewed by: alc, cognet
MFC after: 1 week
Notes:
svn path=/head/; revision=148453
|
|
|
|
|
|
|
| |
Reviewed by: cognet
Notes:
svn path=/head/; revision=148452
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
variables rather than void * variables. This makes it easier and simpler
to get asm constraints and volatile keywords correct.
MFC after: 3 days
Tested on: i386, alpha, sparc64
Compiled on: ia64, powerpc, amd64
Kernel toolchain busted on: arm
Notes:
svn path=/head/; revision=148067
|
|
|
|
|
|
|
|
|
|
|
|
| |
address, writting non-canonical address can cause kernel a panic,
by restricting base values to 0..VM_MAXUSER_ADDRESS, ensuring
only canonical values get written to the registers.
Reviewed by: peter, Josepha Koshy < joseph.koshy at gmail dot com >
Approved by: re (scottl)
Notes:
svn path=/head/; revision=147889
|
|
|
|
|
|
|
|
|
| |
- Inline busdma_alloc_dmamap, busdma_free_dmamap and bus_dmamap_sync_buf.
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147591
|
|
|
|
|
|
|
| |
Approved by: re (scottl)
Notes:
svn path=/head/; revision=147555
|
|
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147545
|
|
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147544
|
|
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147543
|
|
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147542
|
|
|
|
|
|
|
|
|
| |
questing kernel config files not in CVS.
Approved by: re(kensmith)
Notes:
svn path=/head/; revision=147504
|
|
|
|
|
|
|
|
|
| |
section or not.
Approved by: re (blanket)
Notes:
svn path=/head/; revision=147417
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=147416
|
|
|
|
| |
Notes:
svn path=/head/; revision=147249
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=147217
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
Notes:
svn path=/head/; revision=147191
|
|
|
|
|
|
|
| |
Reported by: ru
Notes:
svn path=/head/; revision=147171
|
|
|
|
| |
Notes:
svn path=/head/; revision=147168
|
|
|
|
|
|
|
|
| |
interrupts.
- Implement teardown methods where appropriate.
Notes:
svn path=/head/; revision=147166
|
|
|
|
|
|
|
|
| |
an implementation of uma_small_alloc() which tries to preallocate memory
1MB per 1MB, and maps it into a section mapping.
Notes:
svn path=/head/; revision=147114
|
|
|
|
| |
Notes:
svn path=/head/; revision=146948
|
|
|
|
| |
Notes:
svn path=/head/; revision=146932
|
|
|
|
|
|
|
|
| |
makes sure that sysinit tasks that run after configure_first(),
but before configure() have a nexus to hang devices off.
Notes:
svn path=/head/; revision=146794
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=146790
|
|
|
|
|
|
|
|
|
| |
and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
Notes:
svn path=/head/; revision=146734
|
|
|
|
| |
Notes:
svn path=/head/; revision=146668
|
|
|
|
| |
Notes:
svn path=/head/; revision=146649
|
|
|
|
| |
Notes:
svn path=/head/; revision=146648
|
|
|
|
|
|
|
| |
it leads to funny things, such as pmap_remove_all() marking the page as dirty.
Notes:
svn path=/head/; revision=146647
|
|
|
|
| |
Notes:
svn path=/head/; revision=146619
|
|
|
|
| |
Notes:
svn path=/head/; revision=146618
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=146605
|
|
|
|
| |
Notes:
svn path=/head/; revision=146604
|
|
|
|
| |
Notes:
svn path=/head/; revision=146600
|
|
|
|
|
|
|
| |
cpu_thread_setup(), as done in cpu_fork().
Notes:
svn path=/head/; revision=146599
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=146597
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=146596
|
|
|
|
| |
Notes:
svn path=/head/; revision=146595
|
|
|
|
| |
Notes:
svn path=/head/; revision=146594
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=146592
|
|
|
|
|
|
|
| |
This fixes the random segfaults which occurs at high interrupts rate.
Notes:
svn path=/head/; revision=146591
|
|
|
|
|
|
|
| |
child process if it tries to use threads.
Notes:
svn path=/head/; revision=146122
|
|
|
|
| |
Notes:
svn path=/head/; revision=145594
|
|
|
|
|
|
|
|
| |
stored in r2, which can't be easily done with casuptr(). Introduce
casuptrfault instead.
Notes:
svn path=/head/; revision=145452
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=145433
|
|
|
|
|
|
|
| |
get hwpmc(4) to compile on this platform.
Notes:
svn path=/head/; revision=145332
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=145253
|