[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110330093041.GB21819@infradead.org>
Date: Wed, 30 Mar 2011 05:30:41 -0400
From: 'Christoph Hellwig' <hch@...radead.org>
To: Dave Chinner <david@...morbit.com>
Cc: Sean Noonan <Sean.Noonan@...sigma.com>,
'Christoph Hellwig' <hch@...radead.org>,
'Michel Lespinasse' <walken@...gle.com>,
"'linux-kernel@...r.kernel.org'" <linux-kernel@...r.kernel.org>,
Martin Bligh <Martin.Bligh@...sigma.com>,
Trammell Hudson <Trammell.Hudson@...sigma.com>,
Christos Zoulas <Christos.Zoulas@...sigma.com>,
"'linux-xfs@....sgi.com'" <linux-xfs@....sgi.com>,
Stephen Degler <Stephen.Degler@...sigma.com>,
"'linux-mm@...ck.org'" <linux-mm@...ck.org>
Subject: Re: XFS memory allocation deadlock in 2.6.38
On Wed, Mar 30, 2011 at 11:09:42AM +1100, Dave Chinner wrote:
> + ext_buffer = kmem_alloc(XFS_IFORK_SIZE(ip, whichfork),
> + KM_SLEEP | KM_NOFS);
The old code didn't use KM_NOFS, and I don't think it needed it either,
as we call the iop_format handlers inside the region covered by the
PF_FSTRANS flag.
Also I think the routine needs to be under #ifndef XFS_NATIVE_HOST, as
we do not use it for big endian builds.
--
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