add helper to get value of Thread Local Storage base register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

I want to discuss the requirement of add bpf helper:

for the purpose of accessing user space variable of TLS(Thread Local Storage),we need get the TLS register of current Thread/Task.

then the TLS variable can be accessed via add offset to this register (as the base)

for example at arm:

mrs x0, tpidr_el0




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux