Re: [PATCH 1/4] export __put_task_struct for XPMEM

Al Viro
2007-08-27T16:13:28Z

On Mon, Aug 27, 2007 at 10:59:33AM -0500, Dean Nelson wrote:
> This patch exports __put_task_struct as it is needed by XPMEM.
>
> Signed-off-by: Dean Nelson <dcn@sgi.com>
>
> ---
>
> One struct file_operations registered by XPMEM, xpmem_open(), calls
> 'get_task_struct(current->group_leader)' and another, xpmem_flush(), calls
> 'put_task_struct(tg->group_leader)'.

Does it? Well, then open the file in question and start doing close(dup(fd))
in a loop. Won't take long for an oops...