CFT/CFR: NUMA policy branch

Alfred Perlstein bright at mu.org
Wed Jul 8 07:36:09 UTC 2015



> On Jul 7, 2015, at 11:44 PM, Rui Paulo <rpaulo at me.com> wrote:
> 
>> On Tuesday 07 July 2015 22:33:19 Alfred Perlstein wrote:
>>> On 7/7/15 7:43 PM, Rui Paulo wrote:
>>> On Tuesday 07 July 2015 15:53:18 Adrian Chadd wrote:
>>>>> I did not read further, the patch is half-done at best.
>>>> 
>>>> That's lovely. Meanwhile, people are actively using this thing.
>>> 
>>> It may not be perfect, but it's way more than half done.  You might object
>>> to introducing the syscalls, but procctl is still annoyingly limited.
>> (not yelling at you Rui)... but really... Is that the problem?!!? Just
>> write a userland library to abstract the kernel interface!
> 
> How can a library help?  If you can't tell the kernel to apply a policy per-
> TID (procctl works by PID), it's useless for multi-threaded applications.
> 

The library would abstract away the kernel boundary concerns. So let's say we did what kib wanted and extended procctl to support tids, well at that point the syscalls made could be garbage collected and the library updated to call the correct kernel entry point. 


More information about the freebsd-arch mailing list