All of this is why the GIL wasn't removed 20 years ago. There are real trade-offs here.
This is the reason why previous attempts were rejected. But those attempts came from single individuals and not from a photo sharing website.
This matters if --disable-gil becomes the default in the future and is forced on everyone.
https://dabeaz.blogspot.com/2011/08/inside-look-at-gil-remov...
However, PEP 703 specifically points out that performance-critical container operations (__getitem__/iteration) avoid locking, so I'm still highly skeptical that those locks are the cause of the 30-50%.
https://peps.python.org/pep-0703/#optimistically-avoiding-lo...
But I think you're right be sceptical that somehow this is to blame for the Python perf leak.
If a Linux process wants a million locks that's fine, that's just 4MB of RAM now.