[PATCH] D75153: [ThinLTO] Allow usage of all SMT threads in the system

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 4 15:46:20 PST 2020


MaskRay added a comment.

Does `taskset -c 0-3 lld -flavor ...` restrict the number of cores?

  cpu_set_t cpu;
  sched_getaffinity(0, sizeof(cpu), &cpu);
  CPU_COUNT(&cpu)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75153/new/

https://reviews.llvm.org/D75153





More information about the cfe-commits mailing list