One question about API cpumask_setall()

From: Bibo Mao

Date: Tue Jul 28 2026 - 04:24:36 EST


Hi,

I am preparing to use API cpumask_setall() for TLB flush on LoongArch KVM side. There are cpumask_test_and_clear_cpu/cpumask_setall() APIs, it seems that API cpumask_setall() does not support atomic operation.

Do you think it is reasonable to add new API similar with cpumask_setall() which supports atomic operation?

Regards
Bibo Mao