aboutsummaryrefslogtreecommitdiff
path: root/kern/thread.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2016-03-09 23:01:04 +0100
committerRichard Braun <rbraun@sceen.net>2016-03-09 23:10:22 +0100
commit2ac2a45ace8fd00b3ac42e3be9dbfbaad95ac819 (patch)
treed64685c0ff5fd81a75b26d4c5a15d8ae3abf8c4c /kern/thread.c
parent539626070dd9b9b1e2d89874ab84cdb02031c2a0 (diff)
downloadgnumach-2ac2a45ace8fd00b3ac42e3be9dbfbaad95ac819.tar.gz
gnumach-2ac2a45ace8fd00b3ac42e3be9dbfbaad95ac819.tar.bz2
gnumach-2ac2a45ace8fd00b3ac42e3be9dbfbaad95ac819.zip
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.
Diffstat (limited to 'kern/thread.c')
0 files changed, 0 insertions, 0 deletions