lkml.org 
[lkml]   [2009]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] proc: fix ->stack_start in compat mode
From
Date
Am Sonntag, den 01.11.2009, 15:43 +0300 schrieb Alexey Dobriyan:
> > > Stefani, I get "Stack usage: 0 kB", you may want to look at it.
> > >
> >
> > Under which circumstance do you get 0 kb reported? What is your system
> > (mmu/nommu, 32bit/64bit, architecture and so on).
>
> Well, no wonder it doesn't work:
>
> #define KSTK_ESP(tsk) -1 /* sorry. doesn't work for syscall. */
>
> How does it supposed to work on live task?

Okay, you are right. That's really strange. I just build a 64 bit kernel
i will try to fix this odd behavior. This is a break in the kernel API.
KSTP_ESP should return the value of the kernel stack and not a -1. Sh..




\
 
 \ /
  Last update: 2009-11-01 16:11    [W:0.516 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site