Re: Walking a wait_queue_t list of tasks blocked on pipe

From: Christoph Hellwig
Date: Thu Jan 14 2016 - 03:33:46 EST

On Wed, Jan 13, 2016 at 10:30:19PM -0500, W. Michael Petullo wrote:
> I am trying to write code to walk a wait_queue_t list as part of a LSM
> file_permission function. The purpose is to act on each task which has
> blocked while trying to read from a pipe.

Just don't do that..