From owner-freebsd-stable@FreeBSD.ORG Thu Oct 16 20:22:47 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C73A1065688 for ; Thu, 16 Oct 2008 20:22:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 31D168FC14 for ; Thu, 16 Oct 2008 20:22:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1KqZ6B-0001eT-US; Thu, 16 Oct 2008 23:05:31 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m9GK5QdB055572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 16 Oct 2008 23:05:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id m9GK5QIe049862; Thu, 16 Oct 2008 23:05:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id m9GK5Q06049856; Thu, 16 Oct 2008 23:05:26 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 16 Oct 2008 23:05:26 +0300 From: Kostik Belousov To: Mark Kane Message-ID: <20081016200526.GV7782@deviant.kiev.zoral.com.ua> References: <20081014183047.DA9EA4500F@ptavv.es.net> <200810142229.00295.tijl@ulyssis.org> <20081016142537.446d6dc1@mkproductions.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="B9sQK8H3qcae8SLi" Content-Disposition: inline In-Reply-To: <20081016142537.446d6dc1@mkproductions.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1KqZ6B-0001eT-US 67254567e5db8f804028e89518741d88 X-Terabit: YES Cc: freebsd-stable@freebsd.org Subject: Re: Status of Flash 9 on stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 20:22:47 -0000 --B9sQK8H3qcae8SLi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 16, 2008 at 02:25:37PM -0500, Mark Kane wrote: > On Tue, Oct 14, 2008, at 22:28:58 +0200, Tijl Coosemans wrote: > > Patches have been committed to CURRENT and should have been MFC'ed > > last weekend, but haven't for some reason. > >=20 > > The port has a PR waiting for maintainer feedback: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D127839 > >=20 > > The relevant thread on emulation@ is: > > http://lists.freebsd.org/pipermail/freebsd-emulation/2008-September/005= 311.html > > (continues in October archives) >=20 > Hi. >=20 > I'm using RELENG_7 as of yesterday which appears to have the linprocfs > fixes from CURRENT, and I also updated linux-flashplayer9 with the > patch from the above PR. >=20 > When trying to use Flash 9 in linux-opera a few Flash items work (such > as Adobe's test page which confirms it is using version 9 and sound > does work on the rollovers there), but most things including YouTube > videos or videos from other sites either do not play at all and lock up > immediately or play for a few seconds and then lock up: >=20 > ---------------- > opera: Plug-in 90514 is not responding. It will be closed. > opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep > blocked plug-ins. > ---------------- >=20 > Trying with linux-firefox and linux-firefox-devel gives similar > results except Firefox crashes entirely on most Flash sites. >=20 > I was using linux_base-fc4 and 2.4.2 however I updated to linux_base-f8 > and 2.6.16 since I saw others in the above emulation@ thread having > success with f8. There doesn't seem to be any change with f8. >=20 > Is this still the expected behavior? I'm not sure if these fixes were > supposed to fix everything related to Flash 9 or if there are still > things to be done, so I'm just giving it a try and posting the results. > I am running amd64 by the way. >=20 > Thanks very much in advance, Hmm, finaly I noted this thread. There is one more patch in the pipeline for 7 that is needed, as I was told. Testing of that patch seems to be stalled, so I am interested in the feedback. Possible rejects of the $FreeBSD$ chunks are fine. Property changes on: . ___________________________________________________________________ Modified: svn:mergeinfo Merged /head/sys:r177257,177604,183612 Index: compat/linux/linux_misc.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- compat/linux/linux_misc.c (revision 183958) +++ compat/linux/linux_misc.c (working copy) @@ -63,6 +63,7 @@ #include #include #include +#include =20 #include =20 @@ -1730,22 +1731,57 @@ } =20 /* - * XXX: fake one.. waiting for real implementation of affinity mask. + * Get affinity of a process. */ int linux_sched_getaffinity(struct thread *td, struct linux_sched_getaffinity_args *args) { int error; - cpumask_t i =3D ~0; + struct cpuset_getaffinity_args cga; =20 - if (args->len < sizeof(cpumask_t)) +#ifdef DEBUG + if (ldebug(sched_getaffinity)) + printf(ARGS(sched_getaffinity, "%d, %d, *"), args->pid, + args->len); +#endif + if (args->len < sizeof(cpuset_t)) return (EINVAL); =20 - error =3D copyout(&i, args->user_mask_ptr, sizeof(cpumask_t)); - if (error) - return (EFAULT); + cga.level =3D CPU_LEVEL_WHICH; + cga.which =3D CPU_WHICH_PID; + cga.id =3D args->pid; + cga.cpusetsize =3D sizeof(cpuset_t); + cga.mask =3D (cpuset_t *) args->user_mask_ptr; =20 - td->td_retval[0] =3D sizeof(cpumask_t); - return (0); + if ((error =3D cpuset_getaffinity(td, &cga)) =3D=3D 0) + td->td_retval[0] =3D sizeof(cpuset_t); + + return (error); } + +/* + * Set affinity of a process. + */ +int +linux_sched_setaffinity(struct thread *td, + struct linux_sched_setaffinity_args *args) +{ + struct cpuset_setaffinity_args csa; + +#ifdef DEBUG + if (ldebug(sched_setaffinity)) + printf(ARGS(sched_setaffinity, "%d, %d, *"), args->pid, + args->len); +#endif + if (args->len < sizeof(cpuset_t)) + return (EINVAL); + + csa.level =3D CPU_LEVEL_WHICH; + csa.which =3D CPU_WHICH_PID; + csa.id =3D args->pid; + csa.cpusetsize =3D sizeof(cpuset_t); + csa.mask =3D (cpuset_t *) args->user_mask_ptr; + + return (cpuset_setaffinity(td, &csa)); +} Index: i386/linux/linux_syscall.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- i386/linux/linux_syscall.h (revision 183958) +++ i386/linux/linux_syscall.h (working copy) @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.89 2007/09= /18 19:50:33 dwmalone Exp=20 + * created from FreeBSD: stable/7/sys/i386/linux/syscalls.master 172220 20= 07-09-18 19:50:33Z dwmalone=20 */ =20 #define LINUX_SYS_exit 1 @@ -228,6 +228,7 @@ #define LINUX_SYS_linux_fremovexattr 237 #define LINUX_SYS_linux_tkill 238 #define LINUX_SYS_linux_sys_futex 240 +#define LINUX_SYS_linux_sched_setaffinity 241 #define LINUX_SYS_linux_sched_getaffinity 242 #define LINUX_SYS_linux_set_thread_area 243 #define LINUX_SYS_linux_get_thread_area 244 Index: i386/linux/linux_sysent.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- i386/linux/linux_sysent.c (revision 183958) +++ i386/linux/linux_sysent.c (working copy) @@ -3,10 +3,9 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.89 2007/09= /18 19:50:33 dwmalone Exp=20 + * created from FreeBSD: stable/7/sys/i386/linux/syscalls.master 172220 20= 07-09-18 19:50:33Z dwmalone=20 */ =20 -#include #include #include #include @@ -260,7 +259,7 @@ { AS(linux_tkill_args), (sy_call_t *)linux_tkill, AUE_NULL, NULL, 0, 0 },= /* 238 =3D linux_tkill */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 239 =3D linux_sendf= ile64 */ { AS(linux_sys_futex_args), (sy_call_t *)linux_sys_futex, AUE_NULL, NULL,= 0, 0 }, /* 240 =3D linux_sys_futex */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 241 =3D linux_sched= _setaffinity */ + { AS(linux_sched_setaffinity_args), (sy_call_t *)linux_sched_setaffinity,= AUE_NULL, NULL, 0, 0 }, /* 241 =3D linux_sched_setaffinity */ { AS(linux_sched_getaffinity_args), (sy_call_t *)linux_sched_getaffinity,= AUE_NULL, NULL, 0, 0 }, /* 242 =3D linux_sched_getaffinity */ { AS(linux_set_thread_area_args), (sy_call_t *)linux_set_thread_area, AUE= _NULL, NULL, 0, 0 }, /* 243 =3D linux_set_thread_area */ { AS(linux_get_thread_area_args), (sy_call_t *)linux_get_thread_area, AUE= _NULL, NULL, 0, 0 }, /* 244 =3D linux_get_thread_area */ Index: i386/linux/syscalls.master =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- i386/linux/syscalls.master (revision 183958) +++ i386/linux/syscalls.master (working copy) @@ -409,7 +409,8 @@ 239 AUE_SENDFILE UNIMPL linux_sendfile64 240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, int val, \ struct l_timespec *timeout, void *uaddr2, int val3); } -241 AUE_NULL UNIMPL linux_sched_setaffinity +241 AUE_NULL STD { int linux_sched_setaffinity(l_pid_t pid, l_uint len, \ + l_ulong *user_mask_ptr); } 242 AUE_NULL STD { int linux_sched_getaffinity(l_pid_t pid, l_uint len, \ l_ulong *user_mask_ptr); } 243 AUE_NULL STD { int linux_set_thread_area(struct l_user_desc *desc); } Index: i386/linux/linux_proto.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- i386/linux/linux_proto.h (revision 183958) +++ i386/linux/linux_proto.h (working copy) @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/i386/linux/syscalls.master,v 1.89 2007/09= /18 19:50:33 dwmalone Exp=20 + * created from FreeBSD: stable/7/sys/i386/linux/syscalls.master 172220 20= 07-09-18 19:50:33Z dwmalone=20 */ =20 #ifndef _LINUX_SYSPROTO_H_ @@ -11,6 +11,7 @@ =20 #include #include +#include #include #include =20 @@ -731,6 +732,11 @@ char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *= )]; char val3_l_[PADL_(int)]; int val3; char val3_r_[PADR_(int)]; }; +struct linux_sched_setaffinity_args { + char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)]; + char len_l_[PADL_(l_uint)]; l_uint len; char len_r_[PADR_(l_uint)]; + char user_mask_ptr_l_[PADL_(l_ulong *)]; l_ulong * user_mask_ptr; char us= er_mask_ptr_r_[PADR_(l_ulong *)]; +}; struct linux_sched_getaffinity_args { char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)]; char len_l_[PADL_(l_uint)]; l_uint len; char len_r_[PADR_(l_uint)]; @@ -1124,6 +1130,7 @@ int linux_fremovexattr(struct thread *, struct linux_fremovexattr_args *); int linux_tkill(struct thread *, struct linux_tkill_args *); int linux_sys_futex(struct thread *, struct linux_sys_futex_args *); +int linux_sched_setaffinity(struct thread *, struct linux_sched_setaffinit= y_args *); int linux_sched_getaffinity(struct thread *, struct linux_sched_getaffinit= y_args *); int linux_set_thread_area(struct thread *, struct linux_set_thread_area_ar= gs *); int linux_get_thread_area(struct thread *, struct linux_get_thread_area_ar= gs *); @@ -1380,6 +1387,7 @@ #define LINUX_SYS_AUE_linux_fremovexattr AUE_NULL #define LINUX_SYS_AUE_linux_tkill AUE_NULL #define LINUX_SYS_AUE_linux_sys_futex AUE_NULL +#define LINUX_SYS_AUE_linux_sched_setaffinity AUE_NULL #define LINUX_SYS_AUE_linux_sched_getaffinity AUE_NULL #define LINUX_SYS_AUE_linux_set_thread_area AUE_NULL #define LINUX_SYS_AUE_linux_get_thread_area AUE_NULL Index: amd64/linux32/linux32_syscall.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- amd64/linux32/linux32_syscall.h (revision 183958) +++ amd64/linux32/linux32_syscall.h (working copy) @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.29 2007= /08/28 12:26:34 kib Exp=20 + * created from FreeBSD: stable/7/sys/amd64/linux32/syscalls.master 172220= 2007-09-18 19:50:33Z dwmalone=20 */ =20 #define LINUX_SYS_exit 1 @@ -222,6 +222,7 @@ #define LINUX_SYS_linux_fremovexattr 237 #define LINUX_SYS_linux_tkill 238 #define LINUX_SYS_linux_sys_futex 240 +#define LINUX_SYS_linux_sched_setaffinity 241 #define LINUX_SYS_linux_sched_getaffinity 242 #define LINUX_SYS_linux_set_thread_area 243 #define LINUX_SYS_linux_fadvise64 250 Index: amd64/linux32/syscalls.master =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- amd64/linux32/syscalls.master (revision 183958) +++ amd64/linux32/syscalls.master (working copy) @@ -407,7 +407,8 @@ 239 AUE_SENDFILE UNIMPL linux_sendfile64 240 AUE_NULL STD { int linux_sys_futex(void *uaddr, int op, int val, \ struct l_timespec *timeout, void *uaddr2, int val3); } -241 AUE_NULL UNIMPL linux_sched_setaffinity +241 AUE_NULL STD { int linux_sched_setaffinity(l_pid_t pid, l_uint len, \ + l_ulong *user_mask_ptr); } 242 AUE_NULL STD { int linux_sched_getaffinity(l_pid_t pid, l_uint len, \ l_ulong *user_mask_ptr); } 243 AUE_NULL STD { int linux_set_thread_area(struct l_user_desc *desc); } Index: amd64/linux32/linux32_sysent.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- amd64/linux32/linux32_sysent.c (revision 183958) +++ amd64/linux32/linux32_sysent.c (working copy) @@ -3,10 +3,9 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.29 2007= /08/28 12:26:34 kib Exp=20 + * created from FreeBSD: stable/7/sys/amd64/linux32/syscalls.master 172220= 2007-09-18 19:50:33Z dwmalone=20 */ =20 -#include #include "opt_compat.h" #include #include @@ -261,7 +260,7 @@ { AS(linux_tkill_args), (sy_call_t *)linux_tkill, AUE_NULL, NULL, 0, 0 },= /* 238 =3D linux_tkill */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 239 =3D linux_sendf= ile64 */ { AS(linux_sys_futex_args), (sy_call_t *)linux_sys_futex, AUE_NULL, NULL,= 0, 0 }, /* 240 =3D linux_sys_futex */ - { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 241 =3D linux_sched= _setaffinity */ + { AS(linux_sched_setaffinity_args), (sy_call_t *)linux_sched_setaffinity,= AUE_NULL, NULL, 0, 0 }, /* 241 =3D linux_sched_setaffinity */ { AS(linux_sched_getaffinity_args), (sy_call_t *)linux_sched_getaffinity,= AUE_NULL, NULL, 0, 0 }, /* 242 =3D linux_sched_getaffinity */ { AS(linux_set_thread_area_args), (sy_call_t *)linux_set_thread_area, AUE= _NULL, NULL, 0, 0 }, /* 243 =3D linux_set_thread_area */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 244 =3D linux_get_t= hread_area */ Index: amd64/linux32/linux32_proto.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- amd64/linux32/linux32_proto.h (revision 183958) +++ amd64/linux32/linux32_proto.h (working copy) @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.29 2007= /08/28 12:26:34 kib Exp=20 + * created from FreeBSD: stable/7/sys/amd64/linux32/syscalls.master 172220= 2007-09-18 19:50:33Z dwmalone=20 */ =20 #ifndef _LINUX_SYSPROTO_H_ @@ -11,6 +11,7 @@ =20 #include #include +#include #include #include =20 @@ -734,6 +735,11 @@ char uaddr2_l_[PADL_(void *)]; void * uaddr2; char uaddr2_r_[PADR_(void *= )]; char val3_l_[PADL_(int)]; int val3; char val3_r_[PADR_(int)]; }; +struct linux_sched_setaffinity_args { + char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)]; + char len_l_[PADL_(l_uint)]; l_uint len; char len_r_[PADR_(l_uint)]; + char user_mask_ptr_l_[PADL_(l_ulong *)]; l_ulong * user_mask_ptr; char us= er_mask_ptr_r_[PADR_(l_ulong *)]; +}; struct linux_sched_getaffinity_args { char pid_l_[PADL_(l_pid_t)]; l_pid_t pid; char pid_r_[PADR_(l_pid_t)]; char len_l_[PADL_(l_uint)]; l_uint len; char len_r_[PADR_(l_uint)]; @@ -1105,6 +1111,7 @@ int linux_fremovexattr(struct thread *, struct linux_fremovexattr_args *); int linux_tkill(struct thread *, struct linux_tkill_args *); int linux_sys_futex(struct thread *, struct linux_sys_futex_args *); +int linux_sched_setaffinity(struct thread *, struct linux_sched_setaffinit= y_args *); int linux_sched_getaffinity(struct thread *, struct linux_sched_getaffinit= y_args *); int linux_set_thread_area(struct thread *, struct linux_set_thread_area_ar= gs *); int linux_fadvise64(struct thread *, struct linux_fadvise64_args *); @@ -1360,6 +1367,7 @@ #define LINUX_SYS_AUE_linux_fremovexattr AUE_NULL #define LINUX_SYS_AUE_linux_tkill AUE_NULL #define LINUX_SYS_AUE_linux_sys_futex AUE_NULL +#define LINUX_SYS_AUE_linux_sched_setaffinity AUE_NULL #define LINUX_SYS_AUE_linux_sched_getaffinity AUE_NULL #define LINUX_SYS_AUE_linux_set_thread_area AUE_NULL #define LINUX_SYS_AUE_linux_fadvise64 AUE_NULL --B9sQK8H3qcae8SLi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkj3noUACgkQC3+MBN1Mb4izMwCg1j4rmgMPS/vhrHji+nyOHHz0 r5EAn12QTwTG3pT81y/M0/T0n8QR/mn6 =K3oP -----END PGP SIGNATURE----- --B9sQK8H3qcae8SLi--