Re: Memory management bug

From: Andi Kleen (ak@suse.de)
Date: Wed Nov 15 2000 - 08:19:16 EST


On Wed, Nov 15, 2000 at 01:39:13PM +0100, schwidefsky@de.ibm.com wrote:
> +extern pte_t empty_bad_pte_table[];
> extern __inline__ void free_pte_fast(pte_t *pte)
> {
> + if (pte == empty_bad_pte_table)
> + return;

I guess that should be BUG() instead of return, so that the callers can be
fixed.

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



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