lkml.org 
[lkml]   [2015]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v7 05/11] task_isolation: add debug boot flag
From
Date
On 09/28/2015 06:40 PM, Andy Lutomirski wrote:
> If I were writing a program that used this feature, I think I'd want
> to know early that it's not going to work so I can tell the admin very
> loudly to fix it. Maybe just failing the prctl would be enough. If
> someone turns on the prctl and then changes their affinity, maybe we
> should treat it as though they're just asking for trouble and allow
> it.

Yes, the original Tilera implementation required the task to be
affinitized to a single, nohz_full cpu before you could call the
prctl() successfully. I think I will re-instate that for the patch series,
and if the user then re-affinitizes to a non-nohz_full core later,
well, "don't do that then".

--
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com



\
 
 \ /
  Last update: 2015-09-29 20:01    [W:0.280 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site