mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
Kernel: Remove all uses of MAKE_SLAB_ALLOCATED()
Objects that were previously allocated via slab_alloc()/slab_dealloc() now go through kmalloc()/kfree_sized() instead.
This commit is contained in:
parent
2a5cff232b
commit
43099fb387
4 changed files with 0 additions and 5 deletions
|
@ -20,7 +20,6 @@ namespace Kernel {
|
|||
// FIXME: Custody needs some locking.
|
||||
|
||||
class Custody : public RefCountedBase {
|
||||
MAKE_SLAB_ALLOCATED(Custody)
|
||||
public:
|
||||
bool unref() const;
|
||||
|
||||
|
|
|
@ -24,7 +24,6 @@ public:
|
|||
};
|
||||
|
||||
class OpenFileDescription : public RefCounted<OpenFileDescription> {
|
||||
MAKE_SLAB_ALLOCATED(OpenFileDescription)
|
||||
public:
|
||||
static ErrorOr<NonnullRefPtr<OpenFileDescription>> try_create(Custody&);
|
||||
static ErrorOr<NonnullRefPtr<OpenFileDescription>> try_create(File&);
|
||||
|
|
|
@ -32,7 +32,6 @@ class Region final
|
|||
: public Weakable<Region> {
|
||||
friend class MemoryManager;
|
||||
|
||||
MAKE_SLAB_ALLOCATED(Region)
|
||||
public:
|
||||
enum Access : u8 {
|
||||
None = 0,
|
||||
|
|
|
@ -46,8 +46,6 @@ private:
|
|||
explicit WorkQueue(StringView);
|
||||
|
||||
struct WorkItem {
|
||||
MAKE_SLAB_ALLOCATED(WorkItem);
|
||||
|
||||
public:
|
||||
IntrusiveListNode<WorkItem> m_node;
|
||||
Function<void()> function;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue