Re: [PATCH 1/2] mempool: drop unnecessary and incorrect BUG_ON()from mempool_destroy()

From: Tejun Heo
Date: Wed Dec 21 2011 - 19:35:20 EST


Hello,

On Wed, Dec 21, 2011 at 04:25:19PM -0800, Andrew Morton wrote:
> > Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> > Cc: stable@xxxxxxxxxx
>
> (that's stable@xxxxxxxxxxxxxxx)

(cc'ing Greg)

It has been stable@xxxxxxxxxx for quite a while and Greg scans for
that Cc. Even MAINTAINERS has that as the official mail address. I
heard that the mailing alias is broken at the moment but wouldn't it
be better to fix that?

> > ---
> > These patches are on top of "mempool: fix and document synchronization
> > and memory barrier usage" patch[1]. Both are fixes and it probably is
> > a good idea to forward to -stable.
>
> I'm not sure that either of these are suitable for -stable. There's no
> demonstrated problem, nor even a likely theoretical one, is there?
>
> If we do decide to backport, I don't think the -stable guys will want
> the large-but-nice comment-adding patch so both these patches would need to
> be reworked for -stable usage. The first patch does apply successfully
> to mainline. The second does not.

Hmmm... I think it should be possible to trip the BUG_ON() removed by
the first patch with targeted enough attack but AFAICS that would
require root priv so it might not be too bad. The second one, while
not optimal, shouldn't be critical. BTW, I missed sth in the second
patch, will soon post an updated one.

Thanks.

--
tejun
--
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/