]> Gentwo Git Trees - linux/.git/commitdiff
[PATCH] ARM64: Optimize seq operations
authorChristoph Lameter <cl@gentwo.org>
Tue, 13 Aug 2024 17:29:22 +0000 (10:29 -0700)
committerChristoph Lameter <cl@gentwo.org>
Tue, 24 Sep 2024 19:04:29 +0000 (12:04 -0700)
# Describe the purpose of this series. The information you put here
# will be used by the project maintainer to make a decision whether
# your patches should be reviewed, and in what priority order. Please be
# very detailed and link to any relevant discussions or sites that the
# maintainer can review to better understand your proposed changes. If you
# only have a single patch in your series, the contents of the cover
# letter will be appended to the "under-the-cut" portion of the patch.

# Lines starting with # will be removed from the cover letter. You can
# use them to add notes or reminders to yourself. If you want to use
# markdown headers in your cover letter, start the line with ">#".

# You can add trailers to the cover letter. Any email addresses found in
# these trailers will be added to the addresses specified/generated
# during the b4 send stage. You can also run "b4 prep --auto-to-cc" to
# auto-populate the To: and Cc: trailers based on the code being
# modified.

V1->V2
- Describe the benefit of load acquire vs barriers
- Explain the CONFIG_ARCH_HAS_ACQUIRE_RELEASE option better

Signed-off-by: Christoph Lameter (Ampere) <cl@gentwo.org>
To: Thomas Gleixner <tglx@linutronix.de>
To: Catalin Marinas <catalin.marinas@arm.com>
To: Will Deacon <will@kernel.org>
To: Peter Zijlstra <peterz@infradead.org>
To: Ingo Molnar <mingo@redhat.com>
To: Waiman Long <longman@redhat.com>
To: Boqun Feng <boqun.feng@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arch@vger.kernel.org
---
Changes in v4:
- Remove CONFIG_HAS_ACQUIRE_RELEASE assuming that arches provide
  effective fallbacks for smp_cond_load_acquire / smp_load_acquire
- Use VAL in smp_cond_load_acquire macro
- Link to v3: https://lore.kernel.org/r/20240912-seq_optimize-v3-1-8ee25e04dffa@gentwo.org

Changes in v3:
- Support cond_load_acquire to give the processor a chance to do some
  sort of power down until cacheline changes.
- Better code by Thomas Gleixner
- Link to v2: https://lore.kernel.org/r/20240819-seq_optimize-v2-1-9d0da82b022f@gentwo.org

--- b4-submit-tracking ---
# This section is used internally by b4 prep for tracking purposes.
{
  "series": {
    "revision": 4,
    "change-id": "20240813-seq_optimize-68c48696c798",
    "prefixes": [],
    "history": {
      "v2": [
        "20240819-seq_optimize-v2-1-9d0da82b022f@gentwo.org"
      ],
      "v3": [
        "20240912-seq_optimize-v3-1-8ee25e04dffa@gentwo.org"
      ]
    }
  }
}


No differences found