Re: [RFC PATCH v1 2/2] proc: add /proc/<pid>/thread_state

From: Ingo Molnar
Date: Thu Nov 08 2018 - 01:32:54 EST



* Aubrey Li <aubrey.li@xxxxxxxxx> wrote:

> Expose the per-task cpu specific thread state value, it's helpful
> for userland to classify and schedule the tasks by different policies

That's pretty vague - what exactly would use this information? I'm sure
you have a usecase in mind - could you please describe it?

Thanks,

Ingo