lkml.org 
[lkml]   [1998]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i386 get_wchan() bugs (fs/proc/array.c)
On Fri, Dec 11, 1998 at 01:17:16PM -0500, Alex Buell wrote:
> > 2. The comparison ebp >= 8188+stack_page is followed by
>
> Just a point of order. Why isn't a constant being used instead of 8188?
>
> I can tell you it's VERY annoying grepping through code and changing each
> occurrence should this change in the future.

I agree. Feel free to submit a patch which defines one, and uses it
everywhere.

I expect it would be called KERNEL_STACK_SIZE or similar, and be i386
specific.

-- Jamie




-
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:46    [from the cache]
©2003-2011 Jasper Spaans