Re: [PATCH] mm/mmap.c: use while instead of if+goto

2015-03-31 Thread Rasmus Villemoes
On Mon, Mar 30 2015, Andrew Morton wrote: > On Mon, 30 Mar 2015 23:54:13 +0300 "Kirill A. Shutemov" > wrote: > >> On Mon, Mar 30, 2015 at 09:40:35PM +0200, Rasmus Villemoes wrote: >> > The creators of the C language gave us the while keyword. Let's use >> > that instead of synthesizing it from

Re: [PATCH] mm/mmap.c: use while instead of if+goto

2015-03-31 Thread Rasmus Villemoes
On Mon, Mar 30 2015, Andrew Morton a...@linux-foundation.org wrote: On Mon, 30 Mar 2015 23:54:13 +0300 Kirill A. Shutemov kir...@shutemov.name wrote: On Mon, Mar 30, 2015 at 09:40:35PM +0200, Rasmus Villemoes wrote: The creators of the C language gave us the while keyword. Let's use that

Re: [PATCH] mm/mmap.c: use while instead of if+goto

2015-03-30 Thread Andrew Morton
On Mon, 30 Mar 2015 23:54:13 +0300 "Kirill A. Shutemov" wrote: > On Mon, Mar 30, 2015 at 09:40:35PM +0200, Rasmus Villemoes wrote: > > The creators of the C language gave us the while keyword. Let's use > > that instead of synthesizing it from if+goto. > > > > Made possible by 6597d783397a

Re: [PATCH] mm/mmap.c: use while instead of if+goto

2015-03-30 Thread Kirill A. Shutemov
On Mon, Mar 30, 2015 at 09:40:35PM +0200, Rasmus Villemoes wrote: > The creators of the C language gave us the while keyword. Let's use > that instead of synthesizing it from if+goto. > > Made possible by 6597d783397a ("mm/mmap.c: replace find_vma_prepare() > with clearer find_vma_links()"). > >

[PATCH] mm/mmap.c: use while instead of if+goto

2015-03-30 Thread Rasmus Villemoes
The creators of the C language gave us the while keyword. Let's use that instead of synthesizing it from if+goto. Made possible by 6597d783397a ("mm/mmap.c: replace find_vma_prepare() with clearer find_vma_links()"). Signed-off-by: Rasmus Villemoes --- mm/mmap.c | 8 ++-- 1 file changed, 2

[PATCH] mm/mmap.c: use while instead of if+goto

2015-03-30 Thread Rasmus Villemoes
The creators of the C language gave us the while keyword. Let's use that instead of synthesizing it from if+goto. Made possible by 6597d783397a (mm/mmap.c: replace find_vma_prepare() with clearer find_vma_links()). Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- mm/mmap.c | 8

Re: [PATCH] mm/mmap.c: use while instead of if+goto

2015-03-30 Thread Kirill A. Shutemov
On Mon, Mar 30, 2015 at 09:40:35PM +0200, Rasmus Villemoes wrote: The creators of the C language gave us the while keyword. Let's use that instead of synthesizing it from if+goto. Made possible by 6597d783397a (mm/mmap.c: replace find_vma_prepare() with clearer find_vma_links()).

Re: [PATCH] mm/mmap.c: use while instead of if+goto

2015-03-30 Thread Andrew Morton
On Mon, 30 Mar 2015 23:54:13 +0300 Kirill A. Shutemov kir...@shutemov.name wrote: On Mon, Mar 30, 2015 at 09:40:35PM +0200, Rasmus Villemoes wrote: The creators of the C language gave us the while keyword. Let's use that instead of synthesizing it from if+goto. Made possible by