diff options
author | Vlastimil Babka <[email protected]> | 2021-05-11 13:01:34 +0200 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2021-09-04 01:12:20 +0200 |
commit | 53a0de06e50acb372c75d87fcc72ddfdf4a060ee (patch) | |
tree | 707bf861c2236e68eaa6311b493590becea6c0ef /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 2a904905ae041504aefaf8fc7144d31b940443e0 (diff) |
mm, slub: dissolve new_slab_objects() into ___slab_alloc()
The later patches will need more fine grained control over individual actions
in ___slab_alloc(), the only caller of new_slab_objects(), so dissolve it
there. This is a preparatory step with no functional change.
The only minor change is moving WARN_ON_ONCE() for using a constructor together
with __GFP_ZERO to new_slab(), which makes it somewhat less frequent, but still
able to catch a development change introducing a systematic misuse.
Signed-off-by: Vlastimil Babka <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions