[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131231163851.GJ21823@kernel.dk>
Date: Tue, 31 Dec 2013 09:38:51 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Ming Lei <tom.leiming@...il.com>
Cc: linux-kernel@...r.kernel.org, Christoph Hellwig <hch@...radead.org>
Subject: Re: [PATCH v1 1/5] block: blk-mq: avoid initializing request during
its completion
On Thu, Dec 26 2013, Ming Lei wrote:
> One problem is that request->start_time/start_time_ns could be
> set as wrong.
>
> Also it is normal to intialize one data structure just after its
> allocation.
>
> So move the initialization out of its completion path.
It's done that way because of presumed cache hotness on completion,
since we just touched a lot of the members. Lets just fix the start time
issue by itself.
--
Jens Axboe
--
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