All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Mehmet Alphan Ulusoy <alphan@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Zombie user tasks
Date: Mon, 22 Dec 2008 13:03:03 +0000	[thread overview]
Message-ID: <494F9007.5060600@domain.hid> (raw)
In-Reply-To: <20081222133253.lscsfad40kswkwsc@domain.hid>

Mehmet Alphan Ulusoy wrote:
> On Mon 22 Dec 2008 11:48:00 EET, Gilles Chanteperdrix wrote:
>> What would be really interesting too, is to have the process status. So,
>> in function sched_show_task, file kernel/sched.c, could you try and
>> print p->state in hexadecimal? In the dump you sent, the state is shown
>> as a question mark, so we do not really know in what state the task is.
>>
> 
> The output of the sched says the task is 'relaxed shadow', I believe  
> what you ask for is something else. I will try to make the change you  
> suggested and hopefully send you the dump once the task turns into a  
> zombie.

Unless I misunderstood something, the zombie task (called actuatorTask)
does not appear in /proc/xenomai/sched and /proc/xenomai/stat, the task
which appears there is "Actuator Aperiodic Task". actuatorTask, however,
appears in the sysrq+T output, and its state (for Linux scheduler, not
for xenomai scheduler, since for xenomai scheduler it does not even
exist) is "?", so, what I would like to know is its real state, printed
in hexadecimal. For this, you just have to print p->state using 0x%08x
as printk format.

-- 
                                                 Gilles.


  reply	other threads:[~2008-12-22 13:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-27 15:52 [Xenomai-help] Zombie user tasks Mehmet Alphan Ulusoy
2008-11-27 15:55 ` Gilles Chanteperdrix
2008-11-27 19:39 ` Gilles Chanteperdrix
2008-11-28 16:19   ` Mehmet Alphan Ulusoy
2008-11-28 16:23     ` Gilles Chanteperdrix
2008-11-28 16:29       ` Mehmet Alphan Ulusoy
2008-11-28 16:40         ` Gilles Chanteperdrix
2008-11-28 17:11         ` Gilles Chanteperdrix
2008-11-28 20:53           ` Alphan Ulusoy
2008-12-21 19:28           ` Alphan Ulusoy
2008-12-21 20:05             ` Alphan Ulusoy
2008-12-21 21:40               ` Alphan Ulusoy
2008-12-22  9:48                 ` Gilles Chanteperdrix
2008-12-22 11:32                   ` Mehmet Alphan Ulusoy
2008-12-22 13:03                     ` Gilles Chanteperdrix [this message]
2008-12-23  5:46                       ` Alphan Ulusoy
2008-12-23 10:53                         ` Gilles Chanteperdrix
2008-12-23 11:46                           ` Alphan Ulusoy
2008-12-23 11:50                             ` Gilles Chanteperdrix
     [not found]                           ` <9EB4E9E6-B9D4-433C-ABC9-FBBEF29DB0A3@domain.hid>
     [not found]                             ` <4950DB54.3000804@domain.hid>
     [not found]                               ` <C59B6CFD-F977-4130-B8D9-DEB86F055160@domain.hid>
     [not found]                                 ` <4950DE5E.6040700@domain.hid>
2008-12-27 13:04                                   ` Alphan Ulusoy

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=494F9007.5060600@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=alphan@domain.hid \
    --cc=xenomai@xenomai.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.