Re: v2.4.19-rmk4 slab.c: /proc/slabinfo uses broken instead of slab labels

Georg Nikodym (georgn@somanetworks.com)
Wed, 27 Nov 2002 16:40:05 -0500


--=.8+11GnEG0'YTB4
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Wed, 27 Nov 2002 15:15:17 -0500
Georg Nikodym <georgn@somanetworks.com> wrote:

> 1. Is the ARM __get_user() broken?
> 2. Could I be doing something else broken that is confusing __get_user()?
> 3. What was/is the intent of the test? Or stated differently, why on earth
> would cachep->name be a user address?

In answer to my own question, reading the 2.5 source was illuminating.
The intent of the test is obvious:

akpm 1.50 | /*
akpm 1.50 | * Check to see if `name' resides inside a module which has been
akpm 1.50 | * unloaded (someone forgot to destroy their cache)
akpm 1.50 | */

Thanks to Mr. Morton for that comment. Now I get to wrestle with questions 1 and 2.

-g

--=.8+11GnEG0'YTB4
Content-Type: application/pgp-signature

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

iD8DBQE95Tu1oJNnikTddkMRAqltAJ9JBhAGQgYEp2X5+l4K3iyV31evfACfbF93
dul0LxG4AUsKNInIWsIvZEU=
=7y9w
-----END PGP SIGNATURE-----

--=.8+11GnEG0'YTB4--
-
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/