Hi,
On Mon, Aug 24, 2015 at 4:56 PM, Doug Anderson wrote:
>> Perhaps we need to test if we're already atomic in patch_text, and
>> only call stop_machine if we need to?
>>
>> Untested (and likely mangled by gmail):
>>
>> diff --git a/arch/arm/kernel/patch.c b/arch/arm/kernel/patch.c
>> index 69bd
On Mon, Aug 24, 2015 at 4:56 PM, Doug Anderson wrote:
> Kees,
>
> On Mon, Aug 24, 2015 at 10:46 AM, Kees Cook wrote:
>> On Sun, Aug 23, 2015 at 7:45 PM, Doug Anderson wrote:
>>> On Wed, Aug 5, 2015 at 8:50 AM, Aapo Vienamo wrote:
Hi,
The breakpoint setting code in arch/arm/kernel
Kees,
On Mon, Aug 24, 2015 at 10:46 AM, Kees Cook wrote:
> On Sun, Aug 23, 2015 at 7:45 PM, Doug Anderson wrote:
>> On Wed, Aug 5, 2015 at 8:50 AM, Aapo Vienamo wrote:
>>> Hi,
>>>
>>> The breakpoint setting code in arch/arm/kernel/kgdb.c calls
>>> patch_text(), which ends up trying to sleep whi
On Sun, Aug 23, 2015 at 7:45 PM, Doug Anderson wrote:
> On Wed, Aug 5, 2015 at 8:50 AM, Aapo Vienamo wrote:
>> Hi,
>>
>> The breakpoint setting code in arch/arm/kernel/kgdb.c calls
>> patch_text(), which ends up trying to sleep while in interrupt context.
>> The bug was introduced by commit: 23a4
Aapo,
Including the stack trace with this would have been helpful, though
it's not too hard to reproduce. Here it is:
[ 416.510559] BUG: scheduling while atomic: swapper/0/0/0x00010007
[ 416.516554] Modules linked in:
[ 416.519614] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
4.2.0-rc7-00133-geb
5 matches
Mail list logo