tools/testing/memblock/linux/memory_hotplug.h

Source file repositories/reference/linux-study-clean/tools/testing/memblock/linux/memory_hotplug.h

File Facts

System
Linux kernel
Corpus path
tools/testing/memblock/linux/memory_hotplug.h
Extension
.h
Size
328 bytes
Lines
18
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _LINUX_MEMORY_HOTPLUG_H
#define _LINUX_MEMORY_HOTPLUG_H

#include <linux/numa.h>
#include <linux/pfn.h>
#include <linux/cache.h>
#include <linux/types.h>

extern bool movable_node_enabled;

static inline bool movable_node_is_enabled(void)
{
	return movable_node_enabled;
}

#endif

Annotation

Implementation Notes