Re: Multiple free during oprofile unload

From: Andi Kleen
Date: Fri May 25 2007 - 12:03:17 EST



> for_each_possible_cpu(i) {
> kfree(cpu_msrs[i].counters);
> cpu_msrs[i].counters = NULL;
> kfree(cpu_msrs[i].controls);
> cpu_msrs[i].controls = NULL;
> }
>
> Seems the patch makes all the cpu_msrs[] point to the same area?

Yes I forgot to fix the free path. Will submit a patch.

BTW that is why I'm not so happy with you being so trigger happy with stable
submissions.

-Andi



>


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