[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0711041103030.8179@blonde.wat.veritas.com>
Date: Sun, 4 Nov 2007 11:18:38 +0000 (GMT)
From: Hugh Dickins <hugh@...itas.com>
To: Christoph Lameter <clameter@....com>
cc: Olivér Pintér <oliver.pntr@...il.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Willy Tarreau <w@....eu>, linux-kernel@...r.kernel.org,
stable@...nel.org
Subject: Re: [PATCH 1/2] slub: fix leakage
On Sat, 3 Nov 2007, Christoph Lameter wrote:
> On Sat, 3 Nov 2007, Hugh Dickins wrote:
>
> > Neither of us has yet posted a correct patch which applies to 2.6.23
> > and 2.6.22. I'm testing your 2.6.24-rc patch overnight, and if that's
> > fine then one of us will post the version for -stable. I thought I'd
> > better leave that to you, after I've reported back.
>
> Ok.
That testing went fine, as you'd expect. Your diffstat is certainly
nicer than mine (corrected for SlabDebug) would be. I expect you'll
go ahead with yours.
But I remain slightly uneasy about it: I do think your original
instinct, in putting in the code you're now removing, was good.
In a low memory situation, when several tasks pile up to allocate
the same resource, we'd usually free back all but the first, rather
than depleting free memory even more than necessary. That you were
doing before, now you take the simpler way out and don't bother.
I've no evidence that this is a significant issue: just mention
it in case it gives you second thoughts e.g. was there a concrete
scenario, other than instinct, which led you to put in that code
originally?
Hugh
-
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