Re: __init poisoning for i386, too

From: Nigel Cunningham
Date: Wed Oct 06 2004 - 19:09:41 EST


Hi.

On Thu, 2004-10-07 at 08:18, Pavel Machek wrote:
> free_page(addr);
> +#ifdef CONFIG_INIT_DEBUG
> + memset((void *)(addr & ~(PAGE_SIZE-1)), 0xcc, PAGE_SIZE);
> +#endif

Shouldn't the memset be before the free_page? (Changing freed pages?)

Regards,

Nigel
--
Nigel Cunningham
Pastoral Worker
Christian Reformed Church of Tuggeranong
PO Box 1004, Tuggeranong, ACT 2901

Many today claim to be tolerant. True tolerance, however, can cope with others
being intolerant.

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