Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-07-06 Thread Bruce Richardson
njalon.net; dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread > > local variable > > > > > > > > > > > > When building share library, thread-local storage model will be changed > > to > > > global-

Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-07-05 Thread Liu, Yong
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Sachin Saxena > Sent: Thursday, July 05, 2018 10:46 PM > To: Liu, Yong ; Yang, Zhiyong ; > tho...@monjalon.net; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mk: using initial-exec model

Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-07-05 Thread Sachin Saxena
> > When building share library, thread-local storage model will be changed to > global-dynamic. It will add additional cost for reading thread local variable. > On the other hand, dynamically load share library with static TLS will request > additional DTV slot which is limited by loader. By n

Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-07-05 Thread Thomas Monjalon
05/07/2018 16:13, Marvin Liu: > When building share library, thread-local storage model will be changed > to global-dynamic. It will add additional cost for reading thread local > variable. On the other hand, dynamically load share library with static > TLS will request additional DTV slot which is

[dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-07-04 Thread Marvin Liu
When building share library, thread-local storage model will be changed to global-dynamic. It will add additional cost for reading thread local variable. On the other hand, dynamically load share library with static TLS will request additional DTV slot which is limited by loader. By now only librte

Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-05-18 Thread Thomas Monjalon
28/04/2018 06:39, Yang, Zhiyong: > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Marvin Liu > Sent: Saturday, April 28, 2018 5:54 PM > > > > When building share library, thread-local storage model will be changed to > > global-dynamic. It will cost additional protect for read thread local

Re: [dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-04-27 Thread Yang, Zhiyong
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Marvin Liu > Sent: Saturday, April 28, 2018 5:54 PM > To: dev@dpdk.org > Cc: Liu, Yong > Subject: [dpdk-dev] [PATCH] mk: using initial-exec model for thread local > variable > >

[dpdk-dev] [PATCH] mk: using initial-exec model for thread local variable

2018-04-27 Thread Marvin Liu
When building share library, thread-local storage model will be changed to global-dynamic. It will cost additional protect for read thread local variable. By now only lcore id is this kind of varaible and not need to dynamic share with other threads. So make TLS model back to initial-exec like stat