Re: [PATCH] PPC: Fix typo in rebolting code

2010-01-06 Thread Marcelo Tosatti
On Mon, Jan 04, 2010 at 10:19:22PM +0100, Alexander Graf wrote: > When we're loading bolted entries into the SLB again, we're checking if an > entry is in use and only slbmte it when it is. > > Unfortunately, the check always goes to the skip label of the first entry, > resulting in an endless loo

Re: [PATCH] PPC: Enable lightweight exits again

2010-01-06 Thread Marcelo Tosatti
On Mon, Jan 04, 2010 at 10:19:25PM +0100, Alexander Graf wrote: > The PowerPC C ABI defines that registers r14-r31 need to be preserved across > function calls. Since our exit handler is written in C, we can make use of > that > and don't need to reload r14-r31 on every entry/exit cycle. > > This