Re: [PATCH v3 0/3] Move thread_info into task_struct for LoongArch

From: Tiezhu Yang

Date: Sun Jun 14 2026 - 21:42:25 EST


On 2026/6/14 上午10:51, Huacai Chen wrote:
Hi, Tiezhu,

I have queued this series for 7.2, does the below series depend on this one?

https://lore.kernel.org/loongarch/20260521125636.26744-1-yangtiezhu@xxxxxxxxxxx/T/#t

This is independent on CONFIG_THREAD_INFO_IN_TASK.

https://lore.kernel.org/loongarch/20260428080051.20938-1-yangtiezhu@xxxxxxxxxxx/T/#t

This is dependent on CONFIG_THREAD_INFO_IN_TASK.

But anyway, I plan to send new version for the above two series of
selftests once this "Move thread_info into task_struct for LoongArch"
series is merged into the mainline, maybe after 7.2-rc1.

Because the code under selftests need to be updated, for example,
it can use bpf_get_current_task_btf()->thread_info.preempt_count
for get_preempt_count(), and it should use ld.wu rather than ld.w
for bpf_get_smp_processor_id().

Thanks,
Tiezhu