On Mon, Jan 11, 2016 at 08:15:35PM +0300, Kirill Tkhai wrote:
> @@ -1246,6 +1246,7 @@ struct task_struct {
>       unsigned sched_interruptible_sleep:1;
>  
>       unsigned woken_while_running:1;
> +     unsigned may_throttle:1;

[off-topic]

There's a potential problem with these bitfields AFAIU - not all of them
are set from the current context (e.g. sched_interruptible_sleep is
protected by task_struct->pi_lock IIRC). This might result in funky
crashes. There was an attempt of fixing this upstream:

http://www.spinics.net/lists/linux-mm/msg99483.html

Do you think it's worth backporting?
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to