[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f797a075-4ef2-410f-4eda-fa70d426d58f@kernel.dk>
Date: Tue, 13 Feb 2018 09:12:18 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Nitesh Shetty <nj.shetty@...sung.com>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: axboe@...nel.dk, linux-nvme@...ts.infradead.org,
joshi.k@...sung.com
Subject: Re: [PATCH v3] blk: optimization for classic polling
On 2/13/18 8:48 AM, Nitesh Shetty wrote:
> This removes the dependency on interrupts to wake up task. Set task
> state as TASK_RUNNING, if need_resched() returns true,
> while polling for IO completion.
> Earlier, polling task used to sleep, relying on interrupt to wake it up.
> This made some IO take very long when interrupt-coalescing is enabled in
> NVMe.
Thanks, applied.
--
Jens Axboe
Powered by blists - more mailing lists