Re: [PATCH 3/3] mm/vmalloc: correct a few logic error in __insert_vmap_area()

2016-09-20 Thread zijun_hu
Hi All, please ignore this patch as advised by Nicholas Piggin, i split this patch to smaller patches and resend them in another mail thread On 09/20/2016 02:02 PM, zijun_hu wrote: > From: zijun_hu > > correct a few logic error in __insert_vmap_area() since the else if >

Re: [PATCH 3/3] mm/vmalloc: correct a few logic error in __insert_vmap_area()

2016-09-20 Thread zijun_hu
Hi All, please ignore this patch as advised by Nicholas Piggin, i split this patch to smaller patches and resend them in another mail thread On 09/20/2016 02:02 PM, zijun_hu wrote: > From: zijun_hu > > correct a few logic error in __insert_vmap_area() since the else if > condition is always

Re: [PATCH 3/3] mm/vmalloc: correct a few logic error in __insert_vmap_area()

2016-09-20 Thread zijun_hu
On 09/20/2016 02:54 PM, Nicholas Piggin wrote: > On Tue, 20 Sep 2016 14:02:26 +0800 > zijun_hu wrote: > >> From: zijun_hu >> >> correct a few logic error in __insert_vmap_area() since the else if >> condition is always true and meaningless >> >> avoid

Re: [PATCH 3/3] mm/vmalloc: correct a few logic error in __insert_vmap_area()

2016-09-20 Thread zijun_hu
On 09/20/2016 02:54 PM, Nicholas Piggin wrote: > On Tue, 20 Sep 2016 14:02:26 +0800 > zijun_hu wrote: > >> From: zijun_hu >> >> correct a few logic error in __insert_vmap_area() since the else if >> condition is always true and meaningless >> >> avoid endless loop under [un]mapping improper

Re: [PATCH 3/3] mm/vmalloc: correct a few logic error in __insert_vmap_area()

2016-09-20 Thread Nicholas Piggin
On Tue, 20 Sep 2016 14:02:26 +0800 zijun_hu wrote: > From: zijun_hu > > correct a few logic error in __insert_vmap_area() since the else if > condition is always true and meaningless > > avoid endless loop under [un]mapping improper ranges whose boundary >

Re: [PATCH 3/3] mm/vmalloc: correct a few logic error in __insert_vmap_area()

2016-09-20 Thread Nicholas Piggin
On Tue, 20 Sep 2016 14:02:26 +0800 zijun_hu wrote: > From: zijun_hu > > correct a few logic error in __insert_vmap_area() since the else if > condition is always true and meaningless > > avoid endless loop under [un]mapping improper ranges whose boundary > are not aligned to page > > correct

[PATCH 3/3] mm/vmalloc: correct a few logic error in __insert_vmap_area()

2016-09-20 Thread zijun_hu
From: zijun_hu correct a few logic error in __insert_vmap_area() since the else if condition is always true and meaningless avoid endless loop under [un]mapping improper ranges whose boundary are not aligned to page correct lazy_max_pages() return value if the number of

[PATCH 3/3] mm/vmalloc: correct a few logic error in __insert_vmap_area()

2016-09-20 Thread zijun_hu
From: zijun_hu correct a few logic error in __insert_vmap_area() since the else if condition is always true and meaningless avoid endless loop under [un]mapping improper ranges whose boundary are not aligned to page correct lazy_max_pages() return value if the number of online cpus is power of