[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20160711173913.GA24401@simonLocalRHEL7.x64>
Date: Tue, 12 Jul 2016 01:39:13 +0800
From: Simon Guo <wei.guo.simon@...il.com>
To: Michael Ellerman <mpe@...erman.id.au>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Laurent Dufour <ldufour@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
Paul Mackerras <paulus@...ba.org>,
Kees Cook <keescook@...omium.org>,
Rashmica Gupta <rashmicy@...il.com>,
"cyrilbur@...il.com" <cyrilbur@...il.com>
Subject: Re: [v4] powerpc: Export thread_struct.used_vr/used_vsr to user space
On Fri, Jul 08, 2016 at 08:02:42PM +1000, Michael Ellerman wrote:
> Benjamin Herrenschmidt <benh@...nel.crashing.org> writes:
>
> > On Thu, 2016-07-07 at 23:21 +1000, Benjamin Herrenschmidt wrote:
> >>
> >> I think the right fix is that if a restore_sigcontext() has the MSR
> >> bits set,
> >> it should set the corresponding used_* flag.
> >
> > Something like this:
> >
> > (totally untested)
>
> Simon/Laurent, can you guys test this and let me know if it works for
> your usecase.
Just notice this note.
Yes I will test it on CRIU and update later.
Thanks,
- Simon
Powered by blists - more mailing lists