[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DM6PR11MB3531E5C5F509766C47CFF880DFC90@DM6PR11MB3531.namprd11.prod.outlook.com>
Date: Wed, 1 Apr 2020 20:27:00 +0800
From: Yueyi Li <liyueyi@...e.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
liyueyi <liyueyi@...omi.com>
Subject: Re: [PATCH] kthread: set kthread state to TASK_IDLE.
On 2020/4/1 19:12, Peter Zijlstra wrote:
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing in e-mail?
>
> On Wed, Apr 01, 2020 at 10:40:28AM +0000, Li Yueyi wrote:
>> I create a kthread to do some work will trigger system restart, i don`t wake it up immediately but wakeup it in a HW irq handler.
>> So this kthread sleeps in TASK_UNINTERRUPTIBLE state until the HW irq coming up.
>>
>> Did i do something wrong?
>> Should i wake it up immediately and then call wait_event_xxxx function to sleep it?
>
> This!
> Oh~, Sorry about top-posting and....thanks for your answer!
Powered by blists - more mailing lists