Re: [PATCH] x86/orc: Don't bail on stack overflow

From: Thomas Gleixner
Date: Sun Nov 26 2017 - 04:28:15 EST


On Sat, 25 Nov 2017, Josh Poimboeuf wrote:

> It looks a *lot* better with mine and your patches applied. It probably
> would have helped Ingo and Thomas figure the problem out a lot sooner:

> [ 1.159583] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 1.159583] CR2: ffffffffff083fb8 CR3: 0000000136f78002 CR4: 00000000001606e0
> [ 1.159583] Call Trace:
> [ 1.159583] <SYSENTER>
> [ 1.159583] __do_page_fault+0x4b0/0x4b0
> [ 1.159583] page_fault+0x2c/0x60
> [ 1.159583] RIP: 0010:do_page_fault+0x0/0x100
> [ 1.159583] RSP: 0000:ffffffffff084120 EFLAGS: 00010012
> [ 1.159583] RAX: 00000000819d0a87 RBX: 0000000000000001 RCX: ffffffff819d0a87
> [ 1.159583] RDX: 0000000000001000 RSI: 0000000000000010 RDI: ffffffffff084128
> [ 1.159583] RBP: 0000000000000d68 R08: 00007f6d6bb24278 R09: 0000000000000023
> [ 1.159583] R10: 0000558e0feca600 R11: 0000000000000246 R12: 00007f6d6bb203c0
> [ 1.159583] R13: 00007f6d6bb1f880 R14: 00007ffff793bebc R15: 0000000000000100
> [ 1.159583] ? native_iret+0x7/0x7
> [ 1.159583] page_fault+0x2c/0x60
> [ 1.159583] RIP: 0010:apic_timer_interrupt+0x0/0xb0

Yes. That would have pointed immediately to the right place. It'd been
obvious that apic_timer_interrupt is not mapped.

Thanks,

tglx