Subject: Re: [PATCH] powerpc: Avoid taking a data miss on every userspace instruction miss

From: Anton Blanchard <[email-masked]>
Date: Tue, 4 Apr 2017 08:00:01 +1000

Hi Christophe,

> > -	if (user_mode(regs))
> > +	if (!is_exec && user_mode(regs))  
> 
> Shouldn't it also check 'is_write' ?
> If it is a store, is_write should be set, shouldn't it ?

Thanks, Ben had the same suggestion. I'll add that further optimisation
in a subsequent patch.

Anton