Skip to contentSkip to conversation

mm-next: manual merge of the akpm/mm-unstable branch

DISCUSSION David Hildenbrand (Arm) 1 participant 1 message Nov 20

lore
Share & tools
lore
#0 lore raw

Hi,

today's mm-next merge of the akpm/mm-unstable branch tree got a conflict in:

include/linux/alloc_tag.h

between the commit:

cd890190497b alloc_tag: handle a NULL tag in alloc_tag_set_inaccurate()

from the page_alloc/page_alloc/for-next branch and the commit:

5f15df08db91 alloc_tag: introduce IOCTLs to toggle allocation tracepoints

from the akpm/mm-unstable branch.

I resolved the conflicts manually:

    # Conflict resolution:
    #
    # diff --git a/include/linux/alloc_tag.h b/include/linux/alloc_tag.h
    # index ad968d79eb3a..d3317e197787 100644
    # --- a/include/linux/alloc_tag.h
    # +++ b/include/linux/alloc_tag.h
    # @@ -138,7 +138,8 @@ static inline bool mem_alloc_profiling_enabled(void)
    #
    #  static inline void alloc_tag_set_inaccurate(struct alloc_tag *tag)
    #  {
    # -     atomic_or(CODETAG_FLAG_INACCURATE, &tag->ct.flags);
    # +     if (tag)
    # +             atomic_or(CODETAG_FLAG_INACCURATE, &tag->ct.flags);
    #  }
    #
    #  static inline bool alloc_tag_is_inaccurate(struct alloc_tag *tag)
    # @@ -283,20 +284,6 @@ static inline void alloc_tag_sub(union codetag_ref *ref, size_t bytes, const voi
    #       ref->ct = NULL;
    #  }
    #
    # -<<<<<<< HEAD
    # -static inline void alloc_tag_set_inaccurate(struct alloc_tag *tag)
    # -{
    # -     if (tag)
    # -             tag->ct.flags |= CODETAG_FLAG_INACCURATE;
    # -}
    # -
    # -static inline bool alloc_tag_is_inaccurate(struct alloc_tag *tag)
    # -{
    # -     return !!(tag->ct.flags & CODETAG_FLAG_INACCURATE);
    # -}
    # -
    # -=======
    # ->>>>>>> akpm/mm-unstable
    #  #define alloc_tag_record(p)  ((p) = current->alloc_tag)
    #
    #  #else /* CONFIG_MEM_ALLOC_PROFILING */
Signature · 3 lines
Cheers,

David