lkml.org 
[lkml]   [1999]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] *(int*)0 = 0 & variations
Date
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.

I just checked the alpha version, they also scan only 0x1FF8 bytes (1*8kB ),
i.e. 1 page.

Is that legacy code from 2.0?
IMHO, that's a bug
--
Manfred
P.S.: Do you think Linus would accept kassert() for the standard kernel?







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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.020 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site