Date: Fri, 11 Jan 2013 23:15:22 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Lev Serebryakov <lev@serebryakov.spb.ru> Cc: arch@freebsd.org, toolchain@freebsd.org Subject: Re: Fast sigblock (AKA rtld speedup) Message-ID: <20130111211522.GG2561@kib.kiev.ua> In-Reply-To: <1533659601.20130112005156@serebryakov.spb.ru> References: <20130107182235.GA65279@kib.kiev.ua> <20130111095459.GZ2561@kib.kiev.ua> <1533659601.20130112005156@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--OWym5pP/pDvoNOpg Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 12, 2013 at 12:51:56AM +0400, Lev Serebryakov wrote: > Hello, Konstantin. > You wrote 11 =D1=CE=D7=C1=D2=D1 2013 =C7., 13:54:59: >=20 >=20 > KB> http://people.freebsd.org/~kib/misc/rtld-sigblock.2.patch > KB> is the commit candidate. Now kernel informs rtld about supprt for > Is it first patch in this state, which implements idea of shared > memory between kernel and userland to spped up some syscalls? There > were discussions about this approach for speedup of > getpid()/getppid()/gettimeofday(), but without code ready for commit, > am I right? No, you are wrong. FreeBSD have shared page for very long time, and it is used for syscall-less gettimeofday for quite some time. Non-shared page which could carry per-thread or per-process information, neccessary for looking good in the trivial benchmarks, like getpid(), is different case. The patch does not implement the idea of speeding up some syscalls at all. It provides the special purpose one-off implementation of the alternate mechanism, for the internal consumption of rtld. --OWym5pP/pDvoNOpg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQ8IDoAAoJEJDCuSvBvK1BZm8P/jfGlOBCq+iVPm29a0Uz4vW/ ssRW030DgmxZJkTALoH2Cq1HiU5jc2DmSqQL80UufQ97vKO3zWcIpU/iP3LbKuSF C+g+YOMPwbGFwAq2zWuSbQ8l8WNgxNivbWdiqR8UJguiZRJNm3ea88RXoRVGzOqV p1TwM4K/pEuyGqNGvUorZwAhVAI2d5YCL+UapGKFUX2hipg3G/F4Ruddnjn7Iwxi st8Bn+BnuIO/baHzIfleSC0xOaShnVOTv6bRTIxl8iKi7bzdZQ/0NEZSzl+v/yly mH18PxZB9s3Q/dAJ/HBHV0qwP4d59HvICWT078Pa/ePTqVqHjktOvQv7aG40WcH1 cWoZcKkjn0kzUk3iv9bu0G4p7an3AYhocwzBfWgyRKQoK8upzQBy2AFcA3jhEzLl qsjUzyBO2tMi4VxViySJr9rf8ilSDQDAG3GZtc0cG9XdxN93Z1et0v74J6FQZqt6 m2aSbkUtks4VqiPrC6Owf3DSdlWHKvIh36FnxnNWn2Vz2DvvEUm+sFCE5I3HwCU2 EutouzVdn+o167trHFHgASUBMdELShGNLh6ThN+fqVd9jn5b6CiBT18iMYf5JPU4 m88t1Gm/jN1RqwNnGV9TvlJXeefvUxWqZHEQb4phlILAae6z2k02x2wzB6rH2KKH HyQozZBs9LriINdOXz1A =sm/a -----END PGP SIGNATURE----- --OWym5pP/pDvoNOpg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130111211522.GG2561>