Re: BUG in shared_policy_replace() ?

From: Steve Longerbeam
Date: Wed Jan 19 2005 - 14:26:51 EST




Andi Kleen wrote:

On Wed, Jan 19, 2005 at 10:59:16AM -0800, Steve Longerbeam wrote:


Andi Kleen wrote:



yeah, 2.6.10 makes sense to me too. But I'm working in -mm2, and
the new2 = NULL line is missing, hence my initial confusion. Trivial
patch to -mm2 attached. Just want to make sure it has been, or will be,
put back in.




That sounds weird. Can you figure out which patch in mm removes it?




found it:

http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.10/2.6.10-mm1/broken-out/mempolicy-optimization.patch



Are you sure? I don't see it touching the new2 free at the end of the function.



it's not touching the new2 free, it's removing the new2 = NULL which is the problem.

- new2 = NULL;



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