Re: [PATCH v2 1/2] tty: add missing rcu_read_lock for task_pgrp

From: Patrick Donnelly
Date: Mon Jun 29 2015 - 19:38:25 EST


Hi Peter,

On Sun, Jun 28, 2015 at 3:27 PM, Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> wrote:
> The label name changing is not really necessary and would reduce diff count.

I've removed the label changes in the next series. Thanks for the feedback.

> It would be nice to get the printk() out from the locks as well (in a follow-on
> patch?)

I don't follow what you're referring to. Is it these lines?

if (!tty->pgrp) {
printk(KERN_WARNING "tty_check_change: tty->pgrp == NULL!\n");

--
Patrick Donnelly
--
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/