[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH] DM-CRYPT: Scale to multiple CPUs
- From: Andi Kleen <andi firstfloor org>
- To: Eric Dumazet <eric dumazet gmail com>
- Cc: ak linux intel com, linux-kernel vger kernel org, herbert gondor hengli com au, dm-devel redhat com, Andi Kleen <andi firstfloor org>, agk redhat com
- Subject: Re: [dm-devel] [PATCH] DM-CRYPT: Scale to multiple CPUs
- Date: Mon, 31 May 2010 19:46:11 +0200
On Mon, May 31, 2010 at 06:34:55PM +0200, Eric Dumazet wrote:
Yes seems like I'm behind on per cpu innovations.
> Since commit e0fdb0e050eae331, we have a __percpu annotation so that
> sparse can be augmented. This would also make the comment unnecessary...
I think the comment is still necessary.
>
> > + __get_cpu_var(io_wq_cpu) = current;
>
> this_cpu_write(io_wq_cpu, current)
And this one looks more ugly than before and does not seem
to generate better code, so I decided to skip it.
Thanks.
-Andi
--
ak linux intel com -- Speaking for myself only.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]