Re: [PATCH] powerpc/signal32: Use fault_in_pages_readable() to prefault user context

2018-04-24 Thread Christophe LEROY
Le 24/04/2018 à 16:50, Mathieu Malaterre a écrit : On Tue, Apr 24, 2018 at 4:45 PM, Mathieu Malaterre wrote: On Tue, Apr 24, 2018 at 4:17 PM, Christophe Leroy wrote: Use fault_in_pages_readable() to prefault user context instead of open coding Signed-off-by: Christophe Leroy --- arch/po

Re: [PATCH] powerpc/signal32: Use fault_in_pages_readable() to prefault user context

2018-04-24 Thread Mathieu Malaterre
On Tue, Apr 24, 2018 at 4:45 PM, Mathieu Malaterre wrote: > On Tue, Apr 24, 2018 at 4:17 PM, Christophe Leroy > wrote: >> Use fault_in_pages_readable() to prefault user context >> instead of open coding >> >> Signed-off-by: Christophe Leroy >> --- >> arch/powerpc/kernel/signal_32.c | 13 +--

Re: [PATCH] powerpc/signal32: Use fault_in_pages_readable() to prefault user context

2018-04-24 Thread Mathieu Malaterre
On Tue, Apr 24, 2018 at 4:17 PM, Christophe Leroy wrote: > Use fault_in_pages_readable() to prefault user context > instead of open coding > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/kernel/signal_32.c | 13 + > 1 file changed, 5 insertions(+), 8 deletions(-) > > diff --

[PATCH] powerpc/signal32: Use fault_in_pages_readable() to prefault user context

2018-04-24 Thread Christophe Leroy
Use fault_in_pages_readable() to prefault user context instead of open coding Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/signal_32.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c in