Re: [PATCH] mm: Fix typos in comments

2021-03-22 Thread Randy Dunlap
age was not comingled with another page we can >>> +* If page was not commingled with another page we can >> >> Either spelling seems to be acceptable. > > Indeed! I've reverted this. > >>> * to local caches without needing to acquire sw

Re: [PATCH] mm: Fix typos in comments

2021-03-22 Thread Ingo Molnar
ck to the global pool in a batch. This > > - * allows the slots to coaellesce and reduce fragmentation. > > + * allows the slots to coalescence and reduce fragmentation. > >to coalesce erm, yes. Fixed. > > * > > * The swap entry allocated

Re: [PATCH] mm: Fix typos in comments

2021-03-21 Thread Randy Dunlap
On 3/21/21 7:51 PM, Ingo Molnar wrote: > > Fix ~93 single-word typos in locking code comments, plus a few very > obvious grammar mistakes. > > Signed-off-by: Ingo Molnar > Cc: Andrew Morton > Cc: Rik van Riel > Cc: linux...@kvack.org > Cc: linux-kernel@vger.kernel.org > --- >

Re: [PATCH] mm: Fix typos in comments

2021-03-21 Thread Bhaskar Chowdhury
On 20:52 Sun 21 Mar 2021, Randy Dunlap wrote: On 3/21/21 8:44 PM, Matthew Wilcox wrote: On Mon, Mar 22, 2021 at 03:51:52AM +0100, Ingo Molnar wrote: +++ b/mm/huge_memory.c @@ -1794,7 +1794,7 @@ bool move_huge_pmd(struct vm_area_struct *vma, unsigned long old_addr, /* * Returns * - 0 if

Re: [PATCH] mm: Fix typos in comments

2021-03-21 Thread Randy Dunlap
On 3/21/21 8:44 PM, Matthew Wilcox wrote: > On Mon, Mar 22, 2021 at 03:51:52AM +0100, Ingo Molnar wrote: >> +++ b/mm/huge_memory.c >> @@ -1794,7 +1794,7 @@ bool move_huge_pmd(struct vm_area_struct *vma, >> unsigned long old_addr, >> /* >> * Returns >> * - 0 if PMD could not be locked >> - *

Re: [PATCH] mm: Fix typos in comments

2021-03-21 Thread Matthew Wilcox
On Mon, Mar 22, 2021 at 03:51:52AM +0100, Ingo Molnar wrote: > +++ b/mm/huge_memory.c > @@ -1794,7 +1794,7 @@ bool move_huge_pmd(struct vm_area_struct *vma, unsigned > long old_addr, > /* > * Returns > * - 0 if PMD could not be locked > - * - 1 if PMD was locked but protections unchange

[PATCH] mm: Fix typos in comments

2021-03-21 Thread Ingo Molnar
Fix ~93 single-word typos in locking code comments, plus a few very obvious grammar mistakes. Signed-off-by: Ingo Molnar Cc: Andrew Morton Cc: Rik van Riel Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org --- include/linux/mm.h | 2 +- include/linux/vmalloc.h | 4 ++--