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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux