Messages in this thread |  | | Date | Thu, 14 Jul 2016 15:22:37 -0400 | From | Johannes Weiner <> | Subject | Re: [PATCH 1/4] mm: Track NR_KERNEL_STACK in KiB instead of number of stacks |
| |
On Thu, Jul 14, 2016 at 12:14:10PM -0700, Andy Lutomirski wrote: > Currently, NR_KERNEL_STACK tracks the number of kernel stacks in a > zone. This only makes sense if each kernel stack exists entirely in > one zone, and allowing vmapped stacks could break this assumption. > > Since frv has THREAD_SIZE < PAGE_SIZE, we need to track kernel stack > allocations in a unit that divides both THREAD_SIZE and PAGE_SIZE on > all architectures. Keep it simple and use KiB. > > Cc: Vladimir Davydov <vdavydov@virtuozzo.com> > Cc: Johannes Weiner <hannes@cmpxchg.org> > Cc: Michal Hocko <mhocko@kernel.org> > Cc: linux-mm@kvack.org > Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com> > Reviewed-by: Vladimir Davydov <vdavydov@virtuozzo.com> > Acked-by: Michal Hocko <mhocko@suse.com> > Signed-off-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
|  |