Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5573~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5573
Choose a head ref
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on Jun 22, 2025

  1. Read-Write optimistic spin lock.

    There are couple of places where spin lock is used just to separate
    readers and writers. And there are a lot of readers and one or few writers.
    Those places are source of contention in a huge system setups because
    readers create bottleneck on always exclusive slock_t.
    
    Mitigate it by introducing read-write optimistic spin lock.
    Read is performed without any write operation on lock itself. Correctness
    of read is checked by comparing lock version before and after read.
    
    Use this RWSpin lock in sending invalidations and notifies of walsenders.
    
    If no native 64bit atomic support present, fallback to regular spin lock.
    funny-falcon authored and Commitfest Bot committed Jun 22, 2025
    Configuration menu
    Copy the full SHA
    ced8bf9 View commit details
    Browse the repository at this point in the history
  2. [CF 5573] v5 - Introduce RWSpin lock and use it in sinvaladt.c and xl…

    …ogrecovery.c
    
    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5573
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/51a26cb8-d2ae-4135-98e2-80d7feb163c0@postgrespro.ru
    Author(s): Yura Sokolov
    Commitfest Bot committed Jun 22, 2025
    Configuration menu
    Copy the full SHA
    6dfc8bb View commit details
    Browse the repository at this point in the history
Loading