Re: [PATCH] *(int*)0 = 0 & variations

Andi Kleen (ak@muc.de)
Wed, 23 Jun 1999 20:45:00 +0200


On Wed, Jun 23, 1999 at 08:26:49PM +0200, Manfred Spraul wrote:
> Andi wrote:
> > [..]
> > while (((long) stack & 4095) != 0) {
>
> This is something I also noticed in the main kernel:
> why & 4095? the kernel stack is 2 pages long.

True. I think it is a bug too. I just inherited it from the kernel code @)
Please submit a patch.

> P.S.: Do you think Linus would accept kassert() for the standard kernel?

Dunno, ask him.

-Andi

-- 
This is like TV. I don't like TV.

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