Daily update on 20260312-004950 by Nitload Youmu. Additional Message : use one single index mux as replacement of two slab allocators for L4.
Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
// -----------------------------------------------------------------------
|
||||
// file="L4.CacheLine"
|
||||
// Project: StgSharp
|
||||
// AuthorGroup: Nitload
|
||||
// Copyright (c) Nitload. All rights reserved.
|
||||
// AuthorGroup: Nitload Space
|
||||
// Copyright (c) Nitload Space. All rights reserved.
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -63,15 +63,16 @@ namespace StgSharp.HighPerformance.Memory
|
||||
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 16)]
|
||||
private unsafe struct CacheLineHead
|
||||
{
|
||||
|
||||
internal CacheLineHead* _next;
|
||||
internal CacheLineHead* _prev;
|
||||
internal int _level;
|
||||
internal int _id;
|
||||
internal int _refCount;
|
||||
|
||||
internal long _profile;
|
||||
internal nuint _address;
|
||||
internal nuint _origin;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user