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

Anton Blanchard anton at samba.org
Tue Apr 4 08:00:01 AEST 2017

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.


More information about the Linuxppc-dev mailing list