[lkml]   [2003]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectInconsistency in changing the state of task ??
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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:33    [W:0.059 / U:2.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site