Re: Using large amounts of memory in the kernel

Stephen Frost (sfrost@snowman.net)
Tue, 16 Jul 2002 11:32:30 -0400


--1Ohz8t0v+ZTQEWKa
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

* Shipman, Jeffrey E (jeshipm@sandia.gov) wrote:
> I've got a hash table of packet manipulation information
> I need to use inside of a module in my kernel. The problem
> is that this hash table is around 2MB. I'm trying to figure
> out ways to shrink this table, but I'm coming up short on
> ideas. What would be a good way to be able to allocate enough
> memory to store all of this information?

At a guess I'd say vmalloc...

Stephen

--1Ohz8t0v+ZTQEWKa
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9NDyOrzgMPqB3kigRAq+2AKCWc/35ESoR3z8+YPZRfNEsI0fwHgCcDni6
HGeKNNbKpJKYvhUAw1iQ5KI=
=bYi5
-----END PGP SIGNATURE-----

--1Ohz8t0v+ZTQEWKa--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/