On Thu, Jun 23, 2016 at 09:23:01PM -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 <vdavy...@virtuozzo.com> > Cc: Johannes Weiner <han...@cmpxchg.org> > Cc: Michal Hocko <mho...@kernel.org> > Cc: linux...@kvack.org > Reviewed-by: Vladimir Davydov <vdavy...@virtuozzo.com> > Acked-by: Michal Hocko <mho...@suse.com> > Signed-off-by: Andy Lutomirski <l...@kernel.org>
Reviewed-by: Josh Poimboeuf <jpoim...@redhat.com> -- Josh