Commit 637e8cfc authored by Richard Chang's avatar Richard Chang
Browse files

UPSTREAM: mm/cma: pair the trace_cma_alloc_start/finish

In the bad input validation cases, there is no trace_cma_alloc_finish to
match the trace_cma_alloc_start.  Move the trace_cma_alloc_start event
after the validations.

Link: https://lkml.kernel.org/r/20250605072532.972081-1-richardycc@google.com


Signed-off-by: default avatarRichard Chang <richardycc@google.com>
Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: Martin Liu <liumartin@google.com>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>

Bug: 430694972
Change-Id: Ic260e0b6a9c6edff4fda65f10ff7fc5992ff61d9
(cherry picked from commit 08e21e24)
Signed-off-by: default avatarRichard Chang <richardycc@google.com>
parent 2917fe4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment