Re: Change initialization order in sel-sched

2012-04-17 Thread Bernd Schmidt
On 04/17/2012 03:33 PM, Alexander Monakov wrote: > Bernd, could you elaborate on the segfault you had seen? Perhaps we could > offer some advice on fixing it then. It was only seen with another patch which modified the sched-rgn initialization code. > In the meanwhile, could you revert your patc

Re: Change initialization order in sel-sched

2012-04-17 Thread Alexander Monakov
On Wed, 11 Apr 2012, Richard Guenther wrote: > On Wed, Apr 11, 2012 at 4:16 PM, Bernd Schmidt > wrote: > > The order of calls to sched_rgn_init and sched_init differs between > > sched-rgn and sel-sched. This caused a scheduler patch I was working on > > to segfault once sel-sched was enabled.

Re: Change initialization order in sel-sched

2012-04-11 Thread Richard Guenther
On Wed, Apr 11, 2012 at 4:16 PM, Bernd Schmidt wrote: > The order of calls to sched_rgn_init and sched_init differs between > sched-rgn and sel-sched. This caused a scheduler patch I was working on > to segfault once sel-sched was enabled. The following patch swaps the > two function calls. > > Bo

Change initialization order in sel-sched

2012-04-11 Thread Bernd Schmidt
The order of calls to sched_rgn_init and sched_init differs between sched-rgn and sel-sched. This caused a scheduler patch I was working on to segfault once sel-sched was enabled. The following patch swaps the two function calls. Bootstrapped & tested on i686-linux. Ok? Bernd * sel-sched