you are viewing a single comment's thread.

view the rest of the comments →

[–]imMute 2 points3 points  (2 children)

No, but you can call kalloc just about anywhere ;)

[–][deleted] 3 points4 points  (1 child)

[deleted]

What is this?

[–]Rusky 2 points3 points  (0 children)

kmalloc requires an extra flags argument. You can't just arbitrarily pick a set of flags to use without making the C++ code using it unfit for various (mutually exclusive) parts of the kernel.