[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110208202852.160c080b@lxorguk.ukuu.org.uk>
Date: Tue, 8 Feb 2011 20:28:52 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: james_p_freyensee@...ux.intel.com
Cc: "Christoph Hellwig" <hch@...radead.org>, gregkh@...e.de,
linux-kernel@...r.kernel.org, suhail.ahmed@...el.com
Subject: Re: [PATCH 01/12] export kernel call get_task_comm()
On Tue, 8 Feb 2011 11:44:16 -0800 (PST)
> > From current you can just dereference current->comm, and access from
> > other threads from drivers is a bad idea.
You need to take the locks for it - which get_task_comm encapsulates.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists