Re: [PATCH] mm/huge_memory.c: Make __thp_get_unmapped_area static

2019-05-04 Thread Bharath Vedartham
On Sat, May 04, 2019 at 07:54:46AM -0400, Michal Hocko wrote: Hi Michal, Thanks for having a look at the patch. > On Sat 04-05-19 15:53:54, Bharath Vedartham wrote: > > __thp_get_unmapped_area is only used in mm/huge_memory.c. Make it > > static. > > Makes sense. Looks like an omission. > > > T

Re: [PATCH] mm/huge_memory.c: Make __thp_get_unmapped_area static

2019-05-04 Thread Michal Hocko
On Sat 04-05-19 15:53:54, Bharath Vedartham wrote: > __thp_get_unmapped_area is only used in mm/huge_memory.c. Make it > static. Makes sense. Looks like an omission. > Tested by building and booting the kernel. Testing by git grep __thp_get_unmapped_area would give you a better picture. Build te