Skip to contentSkip to conversation

Documentation: realtime.rst: adopt type aware kmalloc

PATCH New Manuel Ebner 1 participant 1 message Jun 3

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: realtime.rst: adopt type aware kmalloc

Update real-time/differences.rst to reflect new type-aware kmalloc-functions as suggested in commit 2932ba8d9c99 ("slab: Introduce kmalloc_obj() and family")

---
 Documentation/core-api/real-time/differences.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/real-time/differences.rst +1 -1
index 83ec9aa1c61a..6c2cc97b4938 100644
@@ -128,7 +128,7 @@ PREEMPT_RT, the timer must be marked with the HRTIMER_MODE_HARD flag.
 Memory allocation
 -----------------
 
-The memory allocation APIs, such as kmalloc() and alloc_pages(), require a
+The memory allocation APIs, such as kmalloc_obj() and alloc_pages(), require a
 gfp_t flag to indicate the allocation context. On non-PREEMPT_RT kernels, it is
 necessary to use GFP_ATOMIC when allocating memory from interrupt context or
 from sections where preemption is disabled. This is because the allocator must
Signature · 1 line
2.54.0