[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100817.002302.193698894.davem@davemloft.net>
Date: Tue, 17 Aug 2010 00:23:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dm@...lsio.com
Cc: linux-kernel@...r.kernel.org
Subject: Re: tasks getting stuck on mmap_sem?
From: Dimitris Michailidis <dm@...lsio.com>
Date: Mon, 16 Aug 2010 22:22:04 -0700
> This may be similar to the problems IA-64 had last week as a result of
> the rwsem changes, eg see commit
> 01d69a82e1d3c938da16bf55aab000672243aa24. I see
> arch/sparc/include/asm/atomic_64.h uses ints with atomic64_t, which
> was a problem for IA-64. Just guessing.
Well, the return types for the atomic64 routines were wrong and I
fixed that.
But our rwsem implementation on sparc64 uses a 32-bit counter so that
couldn't be the issue. And indeed I still get the problem of tasks
being stuck on rwsems even after the atomic64 return types are fixed.
But I bet that rwsem commit 424acaaeb3a3932d64a9b4bd59df6cf72c22d8f3
introduced some kind of problem in another manner. I'll try to dig
some more.
--
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