Rev |
Age |
Author |
Path |
Log message |
Diff |
3207 |
5893 d 15 h |
jermar |
/trunk/kernel/generic/ |
Introduce FRAME_LOW_16_GiB slab/frame allocator flag. When specified, the
allocators will not allocate memory above 16 GiB. Each architecture needs to
make sure not to merge zones from below and above 16 GiB. Allocations that
require memory below 16 GiB need to be altered to use this flag. |
|
3206 |
5893 d 17 h |
jermar |
/trunk/kernel/generic/ |
Avoid deadlock during the 'zone n' kconsole command. Buddy allocator detail is
no longer printed because the effort to avoid the deadlock was simply not worth
it. |
|
3205 |
5893 d 19 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Fix deadlock in the 'zones' kconsole command. |
|
3200 |
5896 d 22 h |
svoboda |
/trunk/kernel/arch/ppc32/src/ |
Remove buggy assembler memsetb function, call generic C _memsetb instead. Fixes kconsole panic when uspace klog is enabled and memsetb() called from klog_update() |
|
3198 |
5898 d 16 h |
svoboda |
/trunk/ |
Use initrd with mips32 port. Increase memory size. |
|
3194 |
5898 d 23 h |
jermar |
/trunk/kernel/generic/src/console/ |
Remove left-over debugging stuff. |
|
3193 |
5899 d 14 h |
jermar |
/trunk/kernel/ |
cstyle fixes |
|
3189 |
5904 d 13 h |
jermar |
/trunk/kernel/arch/ppc32/src/ |
Implement memcpy_to_uspace_failover_address for ppc32.
This fixes kernel side of ticket #59. |
|
3188 |
5906 d 12 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Finer grained waiting for memory with consideration of the number
of available memory frames. |
|
3187 |
5906 d 16 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Get rid of the infamous "Sleep not implemented" panic during low memory
condition. Use a condition variable to implement the sleep. As of now, the
condition is rather coarse and can cause that threads may sleep unnecessarily.
Needs to be fine tuned and based on the amount of memory available. |
|
3186 |
5906 d 16 h |
jermar |
/trunk/kernel/ |
Support for active mutexes. Active mutexes implement busy waiting, pretty much
in the same way as spinlocks, but can be passed to condition variables, which is
the motivation for this enhancement. |
|
3185 |
5907 d 16 h |
jermar |
/trunk/kernel/generic/src/mm/ |
cstyle for frame.c |
|
3184 |
5907 d 19 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Fix a scary two-year old bug: do not attempt to initialize a call structure if
its allocation failed. |
|
3183 |
5907 d 20 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Avoid easy deadlock while printing slab cache statistics. |
|
3182 |
5907 d 20 h |
jermar |
/trunk/kernel/generic/include/mm/ |
cstyle for slab.h |
|
3181 |
5909 d 0 h |
jermar |
/trunk/kernel/generic/src/ |
cstyle for kinit.c and scheduler.c |
|
3180 |
5909 d 2 h |
jermar |
/trunk/kernel/generic/src/mm/ |
cstyle for slab.c |
|
3179 |
5909 d 18 h |
jermar |
/trunk/kernel/ |
Introduce the notion of FPU_NO_CFLAGS and separate building of test/fpu
objects and building the rest of kernel objects. Now, amd64 and ia32 can
enable things such as SSE selectively for the test/fpu/*. |
|
3175 |
5910 d 23 h |
jermar |
/trunk/kernel/generic/src/main/ |
Don't print anything before the kernel initializes the first THE
structure. This fixes a regression introduced in r3061. If anything
worked from r3061 until now, it was only due to luck. arm32 was not
that lucky when built with gcc 4.3.1. |
|
3173 |
5911 d 14 h |
jermar |
/trunk/kernel/arch/ia32/ |
Don't build the ia32 kernel with MMX/SSE/3DNOW enabled. This was causing
problems with gcc 4.3.1 which generated MMX aided code in a context that
didn't allow this. |
|
3172 |
5911 d 14 h |
jermar |
/trunk/kernel/ |
Frame pointers will make debugging much easier. |
|
3167 |
5912 d 1 h |
svoboda |
/trunk/kernel/arch/mips32/include/ |
Fix mips32 atomic_add() which would break build unless a constant was propagated into the second argument. (Specifically at -O0) |
|
3165 |
5912 d 13 h |
jermar |
/trunk/kernel/test/avltree/ |
Fix an off-by-one bug in avltree1 test and also declare an unused static
function as used. These two bugs were breaking building by gcc 4.3.1. |
|
3164 |
5913 d 13 h |
jermar |
/trunk/ |
First argument of atomic functions is read-write (ia32). |
|
3163 |
5913 d 13 h |
jermar |
/trunk/ |
First argument to atomic functions is read-write (amd64). |
|
3162 |
5913 d 13 h |
jermar |
/trunk/ |
The first argument to atomic_add() is read-write. (mips32) |
|
3145 |
5915 d 3 h |
jermar |
/trunk/kernel/arch/sparc64/include/ |
On sparc64, when the operand to the FLUSH instruction doesn't matter, the
instruction's semantics is to flush the pipeline. |
|
3143 |
5915 d 18 h |
svoboda |
/trunk/kernel/ |
Implement smc_coherence[_block]() for ppc32 |
|
3142 |
5915 d 19 h |
svoboda |
/trunk/kernel/generic/src/mm/ |
Fix build when smc_coherence_block() is defined as an empty macro |
|
3141 |
5915 d 22 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Maintain cache coherence when the ELF backend duplicates a frame from an
executable segment. |
|
3140 |
5915 d 22 h |
jermar |
/trunk/kernel/arch/ia64/include/ |
Fix operands for fc_i(). |
|
3139 |
5915 d 23 h |
jermar |
/trunk/kernel/arch/mips32/src/ |
Maintain cache coherence when setting breakpoints in kconsole on mips32. |
|
3138 |
5915 d 23 h |
jermar |
/trunk/kernel/arch/amd64/src/ |
Formatting fixes for amd64 debugger. |
|
3137 |
5915 d 23 h |
jermar |
/trunk/kernel/generic/src/proc/ |
Maintain cache coherence after sys_task_spawn() copies ELF image from user space. |
|
3136 |
5915 d 23 h |
jermar |
/trunk/kernel/arch/mips32/src/ |
Maintain cache coherence after mips32 install exception handlers. |
|
3135 |
5915 d 23 h |
jermar |
/trunk/kernel/arch/arm32/src/ |
Maintain cache coherence after arm32 installs exception handlers. |
|
3134 |
5916 d 0 h |
jermar |
/trunk/kernel/arch/ |
Add smc_coherence_block(). |
|
3133 |
5916 d 14 h |
jermar |
/trunk/kernel/arch/ |
Add smc_coherence() macro to all architectures.
So far, only amd64, ia32, ia64 and sparc64 are implemented. |
|
3130 |
5918 d 3 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Add a comment explaining the reason for a memory barrier after page table update in detail. |
|
3128 |
5918 d 16 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Issue a memory barrier after modifying a page table mapping in order to
prevent memory prefetching. |
|