public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefani Seibold <stefani@seibold.net>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: akpm@linux-foundation.org, m.s.tsirkin@gmail.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] proc: fix ->stack_start in compat mode
Date: Sun, 01 Nov 2009 16:06:46 +0100	[thread overview]
Message-ID: <1257088006.9292.5.camel@wall-e> (raw)
In-Reply-To: <20091101124301.GA16100@x200>

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



      parent reply	other threads:[~2009-11-01 15:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-28 11:56 [PATCH] proc: fix ->stack_start in compat mode Alexey Dobriyan
2009-11-01  9:54 ` Stefani Seibold
2009-11-01 10:21   ` Alexey Dobriyan
2009-11-01 12:43   ` Alexey Dobriyan
2009-11-01 14:42     ` Stefani Seibold
2009-11-01 15:06     ` Stefani Seibold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1257088006.9292.5.camel@wall-e \
    --to=stefani@seibold.net \
    --cc=adobriyan@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.s.tsirkin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox