From: Kees Jongenburger Date: Tue, 29 Apr 2014 06:55:34 +0000 (+0200) Subject: arm:ddekit use simple alloc to allocate stack. X-Git-Tag: v3.3.0~359 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/static/host.html?a=commitdiff_plain;h=eec4c10f339918b67706fd55c7feb7ab9bb161cf;p=minix.git arm:ddekit use simple alloc to allocate stack. Workaround for: -ddekit large alloc unnecessarily allocating physical contiguous memory. -the ARM port expecting that physical contiguous memory equals device memory. --- diff --git a/lib/libddekit/src/thread.c b/lib/libddekit/src/thread.c index 2aa800e0a..baa3868d3 100644 --- a/lib/libddekit/src/thread.c +++ b/lib/libddekit/src/thread.c @@ -87,7 +87,7 @@ ddekit_thread_create(void (*fun)(void *), void *arg, const char *name) strncpy(th->name, name, DDEKIT_THREAD_NAMELEN); th->name[DDEKIT_THREAD_NAMELEN-1] = 0; - th->stack = ddekit_large_malloc(DDEKIT_THREAD_STACKSIZE); + th->stack = ddekit_simple_malloc(DDEKIT_THREAD_STACKSIZE); th->arg = arg; th->fun = fun;