Date: Wed, 20 Oct 2004 16:14:14 +0200 From: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= <jspedron@club-internet.fr> To: Ryan Sommers <ryans@gamersimpact.com> Cc: freebsd-current@freebsd.org Subject: Re: Read-only ReiserFS support for FreeBSD 5.x Message-ID: <417672B6.3010201@club-internet.fr> In-Reply-To: <41766210.8080606@gamersimpact.com> References: <417538B9.7070001@club-internet.fr> <41755FAF.8080300@colleduc.ee> <53515.208.4.77.15.1098213002.squirrel@208.4.77.15> <41763D98.5040804@club-internet.fr> <41766210.8080606@gamersimpact.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig16F998C24479AE6F6D84661B Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Ryan Sommers wrote: > Jean-Sébastien Pédron wrote: > >> Thank you ! About performance, this current port is slower than the >> original Linux code, because it adds a few malloc() that could be >> avoided I guess. The problem is I don't know how to use the locking >> systems. > > I'm guessing this port doesn't make any use of the zone allocator? If > not, significant performance could likely be gained by using it as > opposed to simply kmalloc(9). No, it doesn't use the zone allocator. But what I meant is that here, I had to use a malloc() for each block read. On Linux, it uses the buffer returned by getblk(), but on FreeBSD, I encountered lock issues with this same buffer. That's why I currently make a copy of it. I'm sure there's a better way :-) -- Jean-Sébastien Pédron http://www.dumbbell-fr.net/ --------------enig16F998C24479AE6F6D84661B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBdnK7a+xGJsFYOlMRAo1iAJ9V3oHEDYgD/Orp8O6pOEcYkgDJeACeNFQL l5aAOt+QbQALOUjuA6NCdj0= =6uN/ -----END PGP SIGNATURE----- --------------enig16F998C24479AE6F6D84661B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417672B6.3010201>