[Top] [All Lists]

spotted in the kaio patch

To: kaio@xxxxxxxxxxx
Subject: spotted in the kaio patch
From: Andrew Morton <andrewm@xxxxxxxxxx>
Date: Sun, 18 Mar 2001 23:57:37 +0000
Sender: owner-kaio@xxxxxxxxxxx
I was surfing this patch...

do_kaio_generic_read() does a page_cache_alloc() with the
pagecache_lock held - can deadlock.

In kaio_set_slave_name(), do this:

        current->mm->arg_start = current->mm->arg_end = 0;

and the slaves will look right in `ps'.

<Prev in Thread] Current Thread [Next in Thread>