Re: [PATCH] perf: fixing variable initialisation

2015-07-27 Thread Alexander Shishkin
Mathieu Poirier writes: > Variable 'max_order' needs to be initialised to log2 of the > number of pages invariant of the no scather-gather PMU option. > Otherwise 'rb_alloc_aux_page' gets an order that is equal to > '0', which prevents the private page information to be set > properly. But that

[PATCH] perf: fixing variable initialisation

2015-07-27 Thread Mathieu Poirier
Variable 'max_order' needs to be initialised to log2 of the number of pages invariant of the no scather-gather PMU option. Otherwise 'rb_alloc_aux_page' gets an order that is equal to '0', which prevents the private page information to be set properly. Signed-off-by: Mathieu Poirier --- kernel/e