KSF_POLLING
while (type->ks_flags & KSF_POLLING)
atomic_set_int(&type->ks_flags, KSF_POLLING);
atomic_clear_int(&type->ks_flags, KSF_POLLING);