[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJd=RBCp+Pdkip7O+xRhGFU2kpFyJQmxeXR5dJu7xmQ2uNrW9Q@mail.gmail.com>
Date: Mon, 16 Jan 2012 21:00:02 +0800
From: Hillf Danton <dhillf@...il.com>
To: Rakib Mullick <rakib.mullick@...il.com>
Cc: Michael Wang <wangyun@...ux.vnet.ibm.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [Question] sched: Should nr_uninterruptible be decremented in ttwu_do_activate()?
On Mon, Jan 16, 2012 at 4:27 PM, Rakib Mullick <rakib.mullick@...il.com> wrote:
> On Mon, Jan 16, 2012 at 1:53 PM, Michael Wang
> <wangyun@...ux.vnet.ibm.com> wrote:
>> I think the task in rq->wake_list should already have state:TASK_WAKING,
>> because it's a wake list.
>>
> But, what I got by means of TASK_WAKING is this task is about to RUN,
> very soon it'll have TASK_RUNNING state. And, if I hadn't miss any
> portion of code, then rq->wake_list doesn't have TASK_WAKING state.
>
Hi Rakib
The question maybe settled down by adding a BUG_ON or similar to
capture what you concern, and wait results while drinking tea or
coffee.
Best regards
Hillf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists