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

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

2019-05-04 Thread Bharath Vedartham
__thp_get_unmapped_area is only used in mm/huge_memory.c. Make it static. Tested by building and booting the kernel. Signed-off-by: Bharath Vedartham --- mm/huge_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 165ea46..75fe2b