Date: Thu, 22 Oct 2009 16:41:44 +0400 From: Stanislav Sedov <stas@deglitch.com> To: "Yan, Yeqing" <yeqing.yan@intel.com> Cc: "hackers@freebsd.org" <hackers@freebsd.org> Subject: Re: About FreeBSD syscall usage Message-ID: <20091022164144.064b916b.stas@deglitch.com> In-Reply-To: <95608CFE3D0C064B8468DB61F8403BE04A0D4A1C5E@PDSMSX501.ccr.corp.intel.com> References: <95608CFE3D0C064B8468DB61F8403BE04A0D4A1C5E@PDSMSX501.ccr.corp.intel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Thu__22_Oct_2009_16_41_44_+0400_UCsdJ1VUlGggUdW6 Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 22 Oct 2009 16:20:32 +0800 "Yan, Yeqing" <yeqing.yan@intel.com> mentioned: > kse_exit >=20 > kse_wakeup >=20 > kse_create >=20 > kse_thr_interrupt >=20 > kse_release >=20 > kse_switchin >=20 > I read $man kse, but I can not find any example about how to use it. I wr= ite some test codes to call these function but all these codes are failed. >=20 >=20 >=20 > mac_syscall >=20 > I read $man 3 mac, but I can not find the usage about mac_syscall functio= n. >=20 >=20 >=20 > thr_create >=20 > thr_suspend >=20 > thr_kill2 >=20 I fear there's no documentation on these syscalls exists. So for use infor= mation you'll have to refer to the actual source code of these syscalls/or and lib= c/libthr source code which makes uses of them. =20 >=20 > By the way, it is said =E2=80=9CI think that KSE was used in 5.x and 6.x = and then dropped in favor of a 1:1 threading model when 7.0 was released=E2= =80=9D >=20 > Does it mean the KSE syscall can be removed from FreeBSD 7.0? >=20 libkse (M:N threading) was default threading library on FreeBSD versions pr= ior to 7.0, and the default has changed to libthr (1:1 threading in FreeBSD 7). l= ibkse was completely removed in FreeBSD 8, but it is still functional on FreeBSD = 7.x. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Thu__22_Oct_2009_16_41_44_+0400_UCsdJ1VUlGggUdW6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJK4FMNAAoJEKN82nOYvCd0Od4P/3Ka5/o3OF89/JIWKA/QmaYw aIYjLeFARk3zfbrC54ujArniQw4OmbU8peTEWCjZowL556ix03QCISUjBvgmOBln 7Sc2+w1tmwRgunW4RKa6b0qMfp2SMx2xR/YFqaJ7lahNonumZF4e4AtGsVnB9IWK QtwPITNvMAaa9JJiCbmjyT3NLJFvGm+Ewm6nSfo+5nSbU0Uw+PyueW5A2667pYAA 3ZeYCtAQksIfF0309qRbq5XsR+S2Ot4HmNBCgYdjUUWfV3XIgYfft5gh/NjRQecX taX8BTWgkAW+WDG9KfBRz4JMu9sh6f0tWaPXzRiV3WPni3UTEtdRnaZhzwLaHID/ gPQnSlxm86Ay3ZvRzX1cOJGtNHZKC2rFua0KP3fBYDG+cCPRr9XE/OiEWN4WT33F HbsUZvuy1gHAq5DAwVHmg+qP8MHsvtGwU3cHQ8ZtUaGBjBEVWepptLkSGl6XLcqr IYmZxyWS0QCOIGFQqHvT7rRfkXOE44S+A5kvJyscgU6QFD3+GhhQyYPLt/swgzTb KahwHyMOz9wvzPNAutXWT8QcRNSNbIgRZ66UcukQffulACbqlvv+08YYFVc2BmHJ xzX6PIYnUCmVVwPoWnM94Eo2BCumsl6ZcTZuRwvgPQf8vPuQUbUsZlAvVfFdlN0B raU/I5hXaCiVKY9q5NnH =vqQ4 -----END PGP SIGNATURE----- --Signature=_Thu__22_Oct_2009_16_41_44_+0400_UCsdJ1VUlGggUdW6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091022164144.064b916b.stas>