Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2013 10:56:24 +1100
From:      Peter Jeremy <peter@rulingia.com>
To:        "Stephen J. Kiernan" <stevek@juniper.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: [JNPR] Proposal for changes to network device drivers and network stack (RFC)
Message-ID:  <20130119235624.GB30633@server.rulingia.com>
In-Reply-To: <b472e266d076a9246065961c8bf7c039@novexsolutions.com>
References:  <CC6EF6B2.1917A%anshukla@juniper.net> <f1d8693fa83965f0d4a485a2db7e603b@novexsolutions.com> <b472e266d076a9246065961c8bf7c039@novexsolutions.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--BwCQnh7xodEAoBMC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2013-Jan-17 14:38:06 -0500, "Stephen J. Kiernan" <stevek@juniper.net> wr=
ote:
>The patch also includes moving zlib.[ch] and zlibutil.h out of net and=20
>into sys/libkern (for the .c) and sys/sys (for the .h).

Good.

>It really doesn't make much sense for that code to live in net,=20
>especially when so many things which are not the network stack utilize=20
>it.

One thing that currently doesn't is ZFS - which has its own copy.  It
would be nice if ZFS could use the common copy.

>Is that going to be a problem? Should simple stubs be added in the=20
>original locations in net/ to include the one in sys/ now?

IMHO, no.  zlib wasn't an advertised API so nothing outside the base
OS should be using it.  If you've moved all the kernel code to use
the new location, that should be enough.

--=20
Peter Jeremy

--BwCQnh7xodEAoBMC
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlD7MqgACgkQ/opHv/APuIfV+wCfT4VH01zeR9usrkh1egAH3GOD
5uAAn1apvfHbpc+5383XM4lAIwMUKBtL
=LC6R
-----END PGP SIGNATURE-----

--BwCQnh7xodEAoBMC--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130119235624.GB30633>