Re: [PATCH] mm: fix some comments in page_alloc.c and mempolicy.c

2020-10-08 Thread Hui Su
On Thu, Oct 01, 2020 at 09:17:29AM -0700, Joe Perches wrote: > On Thu, 2020-10-01 at 14:27 +0200, David Hildenbrand wrote: > > On 25.09.20 18:06, Hui Su wrote: > > > 1. the cpuset.c has been moved from kernel/cpuset.c to > > > kernel/cgroup/cpuset.c long time ago, but the comment is stale, > > > so

Re: [PATCH] mm: fix some comments in page_alloc.c and mempolicy.c

2020-10-01 Thread Joe Perches
On Thu, 2020-10-01 at 14:27 +0200, David Hildenbrand wrote: > On 25.09.20 18:06, Hui Su wrote: > > 1. the cpuset.c has been moved from kernel/cpuset.c to > > kernel/cgroup/cpuset.c long time ago, but the comment is stale, > > so we update it. [] > > diff --git a/kernel/cgroup/cpuset.c b/kernel/cgro

Re: [PATCH] mm: fix some comments in page_alloc.c and mempolicy.c

2020-10-01 Thread David Hildenbrand
On 25.09.20 18:06, Hui Su wrote: > 1. the cpuset.c has been moved from kernel/cpuset.c to > kernel/cgroup/cpuset.c long time ago, but the comment is stale, > so we update it. > 2. get_page_from_freelist() may alloc many pages according to > order, we may use pages for better. > > Signed-off-by: Hu

[PATCH] mm: fix some comments in page_alloc.c and mempolicy.c

2020-09-25 Thread Hui Su
1. the cpuset.c has been moved from kernel/cpuset.c to kernel/cgroup/cpuset.c long time ago, but the comment is stale, so we update it. 2. get_page_from_freelist() may alloc many pages according to order, we may use pages for better. Signed-off-by: Hui Su --- kernel/cgroup/cpuset.c | 2 +- mm/me