RE: [PATCH 02/17] x86, mpx: use new tsk_get_xsave_addr()

From: Yu, Fenghua
Date: Wed Apr 22 2015 - 17:21:11 EST


> From: Dave Hansen [mailto:dave@xxxxxxxx]
> Sent: Wednesday, April 22, 2015 12:33 PM
> To: Yu, Fenghua; linux-kernel@xxxxxxxxxxxxxxx
> Cc: x86@xxxxxxxxxx; tglx@xxxxxxxxxxxxx; dave.hansen@xxxxxxxxxxxxxxx;
> oleg@xxxxxxxxxx; bp@xxxxxxxxx; riel@xxxxxxxxxx; sbsiddha@xxxxxxxxx;
> luto@xxxxxxxxxxxxxx; mingo@xxxxxxxxxx; hpa@xxxxxxxxx
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/