[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201503202302.EDF82384.OtFVHMFOLSJOFQ@I-love.SAKURA.ne.jp>
Date: Fri, 20 Mar 2015 23:02:09 +0900
From: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
To: mhocko@...e.cz
Cc: ying.huang@...el.com, hannes@...xchg.org,
torvalds@...ux-foundation.org, rientjes@...gle.com,
akpm@...ux-foundation.org, david@...morbit.com,
linux-kernel@...r.kernel.org, lkp@...org, linux-mm@...ck.org
Subject: Re: [LKP] [mm] cc87317726f: WARNING: CPU: 0 PID:1atdrivers/iommu/io-pgtable-arm.c:413 __arm_lpae_unmap+0x341/0x380()
Michal Hocko wrote:
> On Fri 20-03-15 22:34:21, Tetsuo Handa wrote:
> > Huang Ying wrote:
> > > > > BTW: the test is run on 32 bit system.
> > > >
> > > > That sounds like the cause of your problem. The system might be out of
> > > > address space available for the kernel (only 1GB if x86_32). You should
> > > > try running tests on 64 bit systems.
> > >
> > > We run test on 32 bit and 64 bit systems. Try to catch problems on both
> > > platforms. I think we still need to support 32 bit systems?
> >
> > Yes, testing on both platforms is good. But please read
> > http://lwn.net/Articles/627419/ , http://lwn.net/Articles/635354/ and
> > http://lwn.net/Articles/636017/ . Then please add __GFP_NORETRY to memory
> > allocations in btrfs code if it is appropriate.
>
> I guess you meant __GFP_NOFAIL?
>
No. btrfs's selftest (which is not using __GFP_NOFAIL) is already looping
forever. If we want to avoid btrfs's selftest from looping forever, btrfs
needs __GFP_NORETRY than __GFP_NOFAIL (until we establish a way to safely
allow small allocations to fail).
--
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