Re: objtool: undefined stack state in folio_zero_user()

From: Dmitry Antipov

Date: Tue Jun 30 2026 - 08:43:36 EST


On 6/30/26 1:44 PM, Peter Zijlstra wrote:

This is well insane codegen, and I cannot blame objtool for hating on it
-- in fact, I hate on it too.

Let me try and figure out how best to fix this insane compiler output.

Hm... is there a chance to workaround this by disabling some particular
optimization with -fno-xxx or similar?

Dmitry