Re: [PATCH 1/2] mm: Move definition of 'zone_names' array into mmzone.h

2016-09-01 Thread Anshuman Khandual
On 09/01/2016 02:40 AM, Andrew Morton wrote: > On Wed, 31 Aug 2016 08:55:49 +0530 Anshuman Khandual > wrote: > >> zone_names[] is used to identify any zone given it's index which >> can be used in many other places. So moving the definition into >> include/linux/mmzone.h for broader access. >> >

Re: [PATCH 1/2] mm: Move definition of 'zone_names' array into mmzone.h

2016-08-31 Thread Andrew Morton
On Wed, 31 Aug 2016 08:55:49 +0530 Anshuman Khandual wrote: > zone_names[] is used to identify any zone given it's index which > can be used in many other places. So moving the definition into > include/linux/mmzone.h for broader access. > > ... > > --- a/include/linux/mmzone.h > +++ b/include/

[PATCH 1/2] mm: Move definition of 'zone_names' array into mmzone.h

2016-08-30 Thread Anshuman Khandual
zone_names[] is used to identify any zone given it's index which can be used in many other places. So moving the definition into include/linux/mmzone.h for broader access. Signed-off-by: Anshuman Khandual --- include/linux/mmzone.h | 17 + mm/page_alloc.c| 17