lkml.org 
[lkml]   [2015]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 02/17] x86, mpx: use new tsk_get_xsave_addr()
Date
> 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


\
 
 \ /
  Last update: 2015-04-22 23:41    [W:0.074 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site