[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51636A64.5050002@cn.fujitsu.com>
Date: Tue, 09 Apr 2013 09:09:56 +0800
From: Lai Jiangshan <laijs@...fujitsu.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
CC: "Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
linux-kernel@...r.kernel.org, tglx@...utronix.de
Subject: Re: [PATCH 2/3] kernel/SRCU: provide a static initializer
On 04/08/2013 06:03 PM, Sebastian Andrzej Siewior wrote:
> On 04/05/2013 09:21 AM, Lai Jiangshan wrote:
>> Hi, Sebastian
>
> Hi Lai,
>
>> I don't want to expose __SRCU_STRUCT_INIT(),
>> due to it has strong coupling with the percpu array.
>>
>> I hope other structure which uses SRCU should use init_srcu_struct().
>
> I need a static initialization for this kind. Patch #3 shows one
> example I have another one pending for crypto.
If the percpu array can be defined in __SRCU_STRUCT_INIT(),
I'm happy to expose it. but it is not currently.
Why crypto can't use boot time initialization?
> Do you have any idea how I could get it done without this? Do you want
> to move/merge header files?
if crypto has to use static initialization, I will find out some way
or use your patch.
Thanks,
Lai
>
>>
>> Thanks,
>> Lai
>
> Sebastian
>
--
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