From 5d9c725d489306453751216a41a77997008bfc0a Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Tue, 13 Aug 2024 10:29:22 -0700 Subject: [PATCH] [PATCH] ARM64: Optimize seq operations # 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) To: Thomas Gleixner To: Catalin Marinas To: Will Deacon To: Peter Zijlstra To: Ingo Molnar To: Waiman Long To: Boqun Feng Cc: Linus Torvalds 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" ] } } } -- 2.47.3