arch/x86/kernel/dumpstack_32.c

Source file repositories/reference/linux-study-clean/arch/x86/kernel/dumpstack_32.c

File Facts

System
Linux kernel
Corpus path
arch/x86/kernel/dumpstack_32.c
Extension
.c
Size
3578 bytes
Lines
156
Domain
Architecture Layer
Bucket
arch/x86
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

if (*visit_mask & (1UL << info->type)) {
			printk_deferred_once(KERN_WARNING "WARNING: stack recursion on stack type %d\n", info->type);
			goto unknown;
		}
		*visit_mask |= 1UL << info->type;
	}

	return 0;

unknown:
	info->type = STACK_TYPE_UNKNOWN;
	return -EINVAL;
}

Annotation

Implementation Notes