I believe it might be a silly question but I'm not 100% sure about this, so I would like your opinion:
There are 2 LM317, both connected in parallel from the same source and they output respectively 5.1V and 4V.
Since the LM317s need 2.5V of headroom, I believe that 7.6V of common source will be fine for both of them since they both see enough voltage at the source.
I also believe that the following sentence IS NOT TRUE:
Since 2 LM317 are in parallel, the total headroom has to be 2.5V+2.5V (meaning a minimum of 9.1V at the source.)
This question derives from the fact that I don't know the reason for those 2.5V.
edit: Adding photo to visualize and as pointed out in the comments, I left 3V headroom instead of 2.5V --> in this example Vin is 8.1V,