Messages in this thread | | | From | "Yu, Fenghua" <> | Subject | RE: [PATCH 02/17] x86, mpx: use new tsk_get_xsave_addr() | Date | Wed, 22 Apr 2015 21:21:00 +0000 |
| |
> From: Dave Hansen [mailto:dave@sr71.net] > Sent: Wednesday, April 22, 2015 12:33 PM > To: Yu, Fenghua; linux-kernel@vger.kernel.org > Cc: x86@kernel.org; tglx@linutronix.de; dave.hansen@linux.intel.com; > oleg@redhat.com; bp@alien8.de; riel@redhat.com; sbsiddha@gmail.com; > luto@amacapital.net; mingo@redhat.com; hpa@zytor.com > Subject: Re: [PATCH 02/17] x86, mpx: use new tsk_get_xsave_addr() > > On 04/22/2015 12:18 PM, Yu, Fenghua wrote: > >> > @@ -498,12 +497,12 @@ out_unmap: > >> > * bound table is 16KB. With 64-bit mode, the size of BD is 2GB, > >> > * and the size of each bound table is 4MB. > >> > */ > >> > -static int do_mpx_bt_fault(struct xsave_struct *xsave_buf) > >> > +static int do_mpx_bt_fault(struct task_struct *tsk) > > Do you need the parameter "tsk"? It's not used in this function. > > Seems this function doesn't need to take any parameter. > > See the last patch in the series, please.
Yes, the last patch removes the tsk. Sorry, I was not in cc list in other patches except 1 and 2.
Thanks.
-Fenghua
| |