Re: [LTP] [PATCH resend 3/6] syscalls/numa: check syscall availability

Zhouping Liu
2012-08-10T08:14:05Z

----- Original Message -----
> From: "Wanlong Gao" <gaowanlong@cn.fujitsu.com>
> To: "Zhouping Liu" <zliu@redhat.com>
> Cc: "Caspar Zhang" <caspar@casparzhang.com>, "LTP List" <ltp-list@lists.sourceforge.net>
> Sent: Friday, August 10, 2012 3:54:57 PM
> Subject: Re: [LTP] [PATCH resend 3/6] syscalls/numa: check syscall availability
>
> On 08/10/2012 03:46 PM, Zhouping Liu wrote:
> > On 08/09/2012 02:15 PM, Caspar Zhang wrote:
> >> some NUMA related syscalls: mbind, get_mempolicy are not supported
> >> on
> >> some arches (e.g. i386), this patch checks the syscalls'
> >> availability in
> >> setup() function, if the syscall is not implemented on the system,
> >> a
> >> TCONF message will be given like this:
> >>
> >> get_mempolicy01 1 TCONF : syscall __NR_get_mempolicy01 not
> >> supported on your arch
> >>
> >> Signed-off-by: Caspar Zhang <caspar@casparzhang.com>
> >
> > Reviewed-by: Zhouping Liu <zliu@redhat.com>
>
> Zhouping, 3/6 already has a V2 version.

yeah, sorry, I replied on a bad place. :(
thanks for your reminder :)

Thanks,
Zhouping

>
> Thanks,
> Wanlong Gao
>
> >
> > Thanks,
> > Zhouping
> >
> >> ---
> >> .../syscalls/get_mempolicy/get_mempolicy01.c | 10
> >> ++++++++++
> >> testcases/kernel/syscalls/mbind/mbind01.c | 9
> >> +++++++++
> >> 2 files changed, 19 insertions(+), 0 deletions(-)
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> Live Security Virtual Conference
> >> Exclusive live event will cover all the ways today's security and
> >> threat landscape has changed and how IT managers can respond.
> >> Discussions
> >> will include endpoint security, mobile security and the latest in
> >> malware
> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >>
> >>
> >> _______________________________________________
> >> Ltp-list mailing list
> >> Ltp-list@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/ltp-list
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond.
> > Discussions
> > will include endpoint security, mobile security and the latest in
> > malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> >
> >
> >
> > _______________________________________________
> > Ltp-list mailing list
> > Ltp-list@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ltp-list
> >
>
>

--
Thanks,
Zhouping