Linux-kernel mailing list archive 1999-25,: Re: [PATCH] *(int*)0 = 0 & variations

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

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Marcelo Tosatti: "2.2.10ac3 IPv4 Oops"
- Previous message: Mike Touloumtzis: "file streams a la mac, ntfs, etc."

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/

- Next message: Marcelo Tosatti: "2.2.10ac3 IPv4 Oops"
- Previous message: Mike Touloumtzis: "file streams a la mac, ntfs, etc."