[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120503212706.GA26612@ioremap.net>
Date: Fri, 4 May 2012 01:27:06 +0400
From: Evgeniy Polyakov <zbr@...emap.net>
To: NeilBrown <neilb@...e.de>
Cc: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH] w1: Introduce a slave mutex for serializing IO.
On Fri, May 04, 2012 at 07:08:38AM +1000, NeilBrown (neilb@...e.de) wrote:
> You can only check the owner on SMP builds, or when debugging is enabled.
> So I don't think that approach can work.
You can store owner in master device and protect with mutex itself.
On non-smp systems it can not be preempted, so can be checked without
mutex.
--
Evgeniy Polyakov
--
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