Re: PageSkip

From: David S. Miller (davem@redhat.com)
Date: Sat Aug 12 2000 - 19:19:44 EST


   From: Russell King <rmk@arm.linux.org.uk>
   Date: Sat, 12 Aug 2000 19:01:53 +0100 (BST)

   I've just done a grep for PageSkip on all .c and .h files in the current
   (2.4.0-test6) kernel, and have come up with:

 ...

   Since this macro is only used in two architecture-specific places, is there
   any reason to keep it in the header files?

   On ARM, I'm planning on moving it out of pgtable.h and into mm/init.c.

It should die just about everywhere, there should be no use for it
anymore for any port.

it only existed to handle generic parts of the kernel which wished to
walk the mem_map[] array by hand, there is no such code any more
thanks to various cleanups by Kanoj and others. Ergo PageSkip and
PG_skip can both be just eradicated along with any code referencing
it. Unless, you are using it for some strange purpose inside your
ports, and I bet even those cases can be easily removed.

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:28 EST