Re: [RFC PATCH v6 1/5] Thread-local ABI system call: cache CPU number of running thread

From: Florian Weimer
Date: Thu Apr 07 2016 - 12:50:44 EST


On 04/07/2016 06:39 PM, Linus Torvalds wrote:

> Can anybody give a *coherent* and actual *real* reason why the kernel
> would ever care about anything else?

We already have a similar per-thread data structure, the robust mutex
list. The CPU ID is another one. So it's conceivable we might get
further such fields in the future.

(AFAICS set_robust_list was designed with such extensions in mind.)

Florian