All of lore.kernel.org
 help / color / mirror / Atom feed
From: prash_t@softhome.net
To: linux-kernel@vger.kernel.org
Subject: Inconsistency in changing the state of task ??
Date: Tue, 04 Mar 2003 01:36:20 -0700	[thread overview]
Message-ID: <courier.3E646584.000059D3@softhome.net> (raw)

Hi,
     while browsing through fs/select.c file of 2.4.19, I came across two 
DIFFERENT ways of changing the state of the current task in do_select(): 

            set_current_state = TASK_INTERRUPTIBLE;
     AND    current->state = TASK_RUNNING; 

I am curious to know if the second line of code doesn't cause any problem in 
SMP systems.  I also see the same situation in do_poll(). 

Please cc to my id since I am not subscribed to the mailing list. 

Thanks
Prashanth

             reply	other threads:[~2003-03-04  8:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04  8:36 prash_t [this message]
2003-03-04 17:51 ` Inconsistency in changing the state of task ?? Robert Love
2003-03-06 13:11   ` prash_t
2003-03-06 13:31     ` Richard B. Johnson
2003-03-06 20:05     ` Robert Love
  -- strict thread matches above, loose matches on Subject: below --
2003-03-07  4:22 Perez-Gonzalez, Inaky

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=courier.3E646584.000059D3@softhome.net \
    --to=prash_t@softhome.net \
    --cc=linux-kernel@vger.kernel.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.