summaryrefslogtreecommitdiff
path: root/kern/percpu.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-12-10 21:52:40 +0100
committerRichard Braun <rbraun@sceen.net>2014-12-10 23:16:47 +0100
commit7de1e22e040c51f833bfb096f2974e25f9bda2ea (patch)
treed999dade43c1d6e6fac7c7ceb6943b35193c6002 /kern/percpu.c
parent81a68dcbf0ecb02fa3b4e18a33788cdb5e857e34 (diff)
kern/kmem: directmap update
The main impact of the direct physical mapping on the kmem module is the slab size computation. The page allocator requires the allocation size to be a power-of-two above the page size since it uses the buddy memory allocation algorithm. Custom slab allocation functions are no longer needed since the only user was the kentry area, which has been removed recently. The KMEM_CACHE_NOCPUPOOL flag is also no longer needed since CPU pools, which are allocated from a kmem cache, can now always be allocated out of the direct physical mapping.
Diffstat (limited to 'kern/percpu.c')
0 files changed, 0 insertions, 0 deletions