Re: [PATCH v7 05/11] task_isolation: add debug boot flag
From: Chris Metcalf
Date: Tue Sep 29 2015 - 13:35:30 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/