Re: [PATCH] ARM: cacheflush: disallow pending signals during cacheflush

2014-11-13 Thread Peter Maydell
On 13 November 2014 11:26, Will Deacon wrote: > Whilst I don't think this is the correct solution, I agree that there's > a potential issue here. We could change the restart return value to > -ERESTARTNOINTR instead, but I can imagine something like a periodic > SIGALRM which could prevent a large

Re: [PATCH] ARM: cacheflush: disallow pending signals during cacheflush

2014-11-13 Thread Will Deacon
Hello, [adding linux-api, linux-man] On Thu, Nov 13, 2014 at 07:29:53AM +, Chanho Min wrote: > Since commit 28256d612726 ("ARM: cacheflush: split user cache-flushing > into interruptible chunks"), cacheflush can be interrupted by signal. > > But, cacheflush doesn't resume from where we left

[PATCH] ARM: cacheflush: disallow pending signals during cacheflush

2014-11-12 Thread Chanho Min
Since commit 28256d612726 ("ARM: cacheflush: split user cache-flushing into interruptible chunks"), cacheflush can be interrupted by signal. But, cacheflush doesn't resume from where we left off if process has user-defined signal handlers. It returns -EINTR then cacheflush should be re-invoked fro