Skip to contentSkip to conversation

end-of-stack detection

PATCH New Manfred Spraul 1 participant 1 message Jan 14, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 end-of-stack detection

The oops dump code detects the end of the kernel stack with
(addr & (THREAD_SIZE-1))
This fails if the kernel stack is not 32-bit aligned. This can happen if an APM bios call is interrupted and then causes an oops. The result is an unreadable and incomplete oops dump. 2.6 contains a similar fix.

Marcelo, could you apply the patch to your tree?

--
Manfred