diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 54a8d26f612f..59e3dcc5b8f2 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -150,15 +150,15 @@ void __weak arch_release_thread_info(struct thread_info *ti) | |||
150 | static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, | 150 | static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, |
151 | int node) | 151 | int node) |
152 | { | 152 | { |
153 | struct page *page = alloc_pages_node(node, THREADINFO_GFP_ACCOUNTED, | 153 | struct page *page = alloc_kmem_pages_node(node, THREADINFO_GFP, |
154 | THREAD_SIZE_ORDER); | 154 | THREAD_SIZE_ORDER); |
155 | 155 | ||
156 | return page ? page_address(page) : NULL; | 156 | return page ? page_address(page) : NULL; |
157 | } | 157 | } |
158 | 158 | ||
159 | static inline void free_thread_info(struct thread_info *ti) | 159 | static inline void free_thread_info(struct thread_info *ti) |
160 | { | 160 | { |
161 | free_memcg_kmem_pages((unsigned long)ti, THREAD_SIZE_ORDER); | 161 | free_kmem_pages((unsigned long)ti, THREAD_SIZE_ORDER); |
162 | } | 162 | } |
163 | # else | 163 | # else |
164 | static struct kmem_cache *thread_info_cache; | 164 | static struct kmem_cache *thread_info_cache; |