[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091216080431.GF14381@ZenIV.linux.org.uk>
Date: Wed, 16 Dec 2009 08:04:31 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: linux-kernel@...r.kernel.org
Cc: Kay Sievers <kay.sievers@...y.org>,
Greg Kroah-Hartman <gregkh@...e.de>
Subject: devtmpfs [censored] oddities
May I respectfully suggest that a blocking operation (such as
kstrdup with GFP_KERNEL, or grabbing a mutex, or, say it, pathname resolution)
is not quite the thing to do while holding an rwlock?
As it is, any device_add() is an embarrassingly obvious deadlock
waiting to happen...
--
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