[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171110113655.hizq4xes5oy2fzim@gmail.com>
Date: Fri, 10 Nov 2017 09:36:56 -0200
From: Breno Leitao <leitao@...ian.org>
To: Ram Pai <linuxram@...ibm.com>
Cc: mpe@...erman.id.au, mingo@...hat.com, akpm@...ux-foundation.org,
corbet@....net, arnd@...db.de, linux-arch@...r.kernel.org,
ebiederm@...ssion.com, linux-doc@...r.kernel.org, x86@...nel.org,
dave.hansen@...el.com, linux-kernel@...r.kernel.org,
mhocko@...nel.org, linux-mm@...ck.org, paulus@...ba.org,
aneesh.kumar@...ux.vnet.ibm.com, linux-kselftest@...r.kernel.org,
bauerman@...ux.vnet.ibm.com, linuxppc-dev@...ts.ozlabs.org,
khandual@...ux.vnet.ibm.com
Subject: Re: [PATCH v9 44/51] selftest/vm: powerpc implementation for generic
abstraction
Hi Ram,
On Thu, Nov 09, 2017 at 03:37:46PM -0800, Ram Pai wrote:
> On Thu, Nov 09, 2017 at 04:47:15PM -0200, Breno Leitao wrote:
> > On Mon, Nov 06, 2017 at 12:57:36AM -0800, Ram Pai wrote:
> > > @@ -206,12 +209,14 @@ void signal_handler(int signum, siginfo_t *si, void *vucontext)
> > >
> > > trapno = uctxt->uc_mcontext.gregs[REG_TRAPNO];
> > > ip = uctxt->uc_mcontext.gregs[REG_IP_IDX];
> > > - fpregset = uctxt->uc_mcontext.fpregs;
> > > - fpregs = (void *)fpregset;
> >
> > Since you removed all references for fpregset now, you probably want to
> > remove the declaration of the variable above.
>
> fpregs is still needed.
Right, fpregs is still needed, but not fpregset. Every reference for this
variable was removed with your patch.
Grepping this variable identifier on a tree with your patches, I see:
$ grep fpregset protection_keys.c
fpregset_t fpregset;
Powered by blists - more mailing lists