Re: 2.6.10-mm2: panic when munmap()ping the stack

From: Andi Kleen
Date: Tue Jan 11 2005 - 00:20:39 EST


Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:

> This program causes an instant panic for me:
>
> #include <sys/mman.h>
>
> int main(int argc, char **argv)
> {
> munmap((char *)(((unsigned long)&argc) & ~4095), 4096*2);
>
> return 0;
> }

I think Linus already fixed that. Can you try the latest -BK?
It's a fallout of the new clear_page_tables()

-Andi
-
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/