aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorChengming Zhou <[email protected]>2023-11-02 03:23:22 +0000
committerVlastimil Babka <[email protected]>2023-11-13 09:32:27 +0100
commit24c6a097b5a270e05c6e99a99da66b91be81fd7d (patch)
tree2221cfecfd9427b19305323d6e435802c9a20264 /scripts/generate_rust_analyzer.py
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
slub: Reflow ___slab_alloc()
The get_partial() interface used in ___slab_alloc() may return a single object in the "kmem_cache_debug(s)" case, in which we will just return the "freelist" object. Move this handling up to prepare for later changes. And the "pfmemalloc_match()" part is not needed for node partial slab, since we already check this in the get_partial_node(). Signed-off-by: Chengming Zhou <[email protected]> Reviewed-by: Vlastimil Babka <[email protected]> Tested-by: Hyeonggon Yoo <[email protected]> Reviewed-by: Hyeonggon Yoo <[email protected]> Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions