Re: [PATCH] perf/ring_buffer: Fix invalid page order

2016-11-15 Thread Takao Indoh
On 2016/11/15 17:48, Ingo Molnar wrote: * Takao Indoh wrote: In rb_alloc_aux_page(), a page order is set to MAX_ORDER when order is greater than MAX_ORDER, but page order should be less than MAX_ORDER, therefore alloc_pages_node fails at least once. This patch

Re: [PATCH] perf/ring_buffer: Fix invalid page order

2016-11-15 Thread Takao Indoh
On 2016/11/15 17:48, Ingo Molnar wrote: * Takao Indoh wrote: In rb_alloc_aux_page(), a page order is set to MAX_ORDER when order is greater than MAX_ORDER, but page order should be less than MAX_ORDER, therefore alloc_pages_node fails at least once. This patch fixes page order so that it can

Re: [PATCH] perf/ring_buffer: Fix invalid page order

2016-11-15 Thread Ingo Molnar
* Takao Indoh wrote: > In rb_alloc_aux_page(), a page order is set to MAX_ORDER when order is > greater than MAX_ORDER, but page order should be less than MAX_ORDER, > therefore alloc_pages_node fails at least once. This patch fixes page > order so that it can be

Re: [PATCH] perf/ring_buffer: Fix invalid page order

2016-11-15 Thread Ingo Molnar
* Takao Indoh wrote: > In rb_alloc_aux_page(), a page order is set to MAX_ORDER when order is > greater than MAX_ORDER, but page order should be less than MAX_ORDER, > therefore alloc_pages_node fails at least once. This patch fixes page > order so that it can be always less than MAX_ORDER. >

[PATCH] perf/ring_buffer: Fix invalid page order

2016-11-14 Thread Takao Indoh
In rb_alloc_aux_page(), a page order is set to MAX_ORDER when order is greater than MAX_ORDER, but page order should be less than MAX_ORDER, therefore alloc_pages_node fails at least once. This patch fixes page order so that it can be always less than MAX_ORDER. Signed-off-by: Takao Indoh

[PATCH] perf/ring_buffer: Fix invalid page order

2016-11-14 Thread Takao Indoh
In rb_alloc_aux_page(), a page order is set to MAX_ORDER when order is greater than MAX_ORDER, but page order should be less than MAX_ORDER, therefore alloc_pages_node fails at least once. This patch fixes page order so that it can be always less than MAX_ORDER. Signed-off-by: Takao Indoh ---