// smallobject_cold_iface_v5.h - SmallObject Cold Interface v5(Phase v5-0) // // ページ割当・返却・リモート操作(v5-0 では宣言のみ) #ifndef HAKMEM_SMALLOBJECT_COLD_IFACE_V5_H #define HAKMEM_SMALLOBJECT_COLD_IFACE_V5_H #include #include "smallobject_hotbox_v5_box.h" #include "smallsegment_v5_box.h" // Cold path: ページ割当・返却 SmallPageMetaV5* small_cold_v5_refill_page(SmallHeapCtxV5* ctx, uint32_t class_idx); void small_cold_v5_retire_page(SmallHeapCtxV5* ctx, SmallPageMetaV5* page); // リモート操作(将来、per-thread TLS free の際に使用) bool small_cold_v5_remote_push(SmallPageMetaV5* page, void* ptr, uint32_t tid); void small_cold_v5_remote_drain(SmallHeapCtxV5* ctx); #endif // HAKMEM_SMALLOBJECT_COLD_IFACE_V5_H