[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, master, updated. v1.6-55-g844fb10
From: |
Richard Braun |
Subject: |
[SCM] GNU Mach branch, master, updated. v1.6-55-g844fb10 |
Date: |
Thu, 10 Mar 2016 00:05:47 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via 844fb104f5c0c50b94cbf6ab8fb2e97caa4bc7b3 (commit)
via 2ac2a45ace8fd00b3ac42e3be9dbfbaad95ac819 (commit)
from 539626070dd9b9b1e2d89874ab84cdb02031c2a0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 844fb104f5c0c50b94cbf6ab8fb2e97caa4bc7b3
Author: Richard Braun <address@hidden>
Date: Wed Mar 9 23:06:25 2016 +0100
Fix stack allocation on Xen
Stack allocation on Xen can fail because of fragmentation. This change
makes stack allocation use the slab allocator.
* kern/thread.c (thread_stack_cache): New global variable.
(stack_alloc): Use kmem_cache_alloc instead of vm_page_grab_contig.
(stack_collect): Use kmem_cache_free instead of vm_page_free_contig.
(kmem_cache_init): Initialize thread_stack_cache.
commit 2ac2a45ace8fd00b3ac42e3be9dbfbaad95ac819
Author: Richard Braun <address@hidden>
Date: Wed Mar 9 23:01:04 2016 +0100
Relax slab allocation alignment constraint
* kern/slab.c (kmem_pagealloc_virtual): Pass alignment to function,
call kmem_alloc_aligned when greater than a page.
(kmem_pagealloc): Pass alignment to function.
(kmem_slab_create): Update call to kmem_pagealloc.
(kalloc): Likewise.
(kmem_cache_compute_properties): Fix handling of color with large slab
sizes.
(kmem_cache_init): Allow alignment greater than the page size.
-----------------------------------------------------------------------
Summary of changes:
kern/slab.c | 20 ++++++++++++--------
kern/thread.c | 33 ++++++++++++---------------------
2 files changed, 24 insertions(+), 29 deletions(-)
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, master, updated. v1.6-55-g844fb10,
Richard Braun <=