Re: [PATCH 2/4] generic-smp: remove kmalloc usage

From: Ingo Molnar
Date: Thu Feb 19 2009 - 07:22:19 EST



* Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> Ingo Molnar wrote:
>> The kmalloc(GFP_ATOMIC) has been in kernel/smp.c for about half a year,
>> since:
>>
>> | commit 3d4422332711ef48ef0f132f1fcbfcbd56c7f3d1
>> | Author: Jens Axboe <jens.axboe@xxxxxxxxxx>
>> | Date: Thu Jun 26 11:21:34 2008 +0200
>> | Subject: [PATCH] Add generic helpers for arch IPI function calls
>>
>> Which introduced kernel/smp.c to begin with. It got merged on July 15.
>>
>
> The kmalloc to resolve the stack lifetime vs rcu bug is more
> recent than that - around August, I think.

yeah, it was in a late -rc, and solved rare crashes that you
reported.

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