Re: [PATCH] Fix two potential mem leaks in MPT Fusion(mpt_attach())

From: Andrew Morton
Date: Thu Aug 02 2007 - 19:18:51 EST


On Fri, 3 Aug 2007 01:10:02 +0200
"Jesper Juhl" <jesper.juhl@xxxxxxxxx> wrote:

> > > So, where do we go from here?
> >
> > Where I said ;) Add a new __GFP_ flag which suppresses the warning, add
> > that flag to known-to-be-OK callsites, such as mempool_alloc().
> >
> Ok, I'll try to play around with this some more, try to filter out
> false positives and see what I'm left with (if anything - I'm pretty
> limited hardware-wise, so I can only test a small subset of drivers,
> archs etc) - I'll keep you informed, but expect a few days to pass
> before I have any news...

Make it a once-off thing for now, so the warning will disable itself after
it has triggered once. That will prevent the debug feature from making
anyone's kernel unusable.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/