More accurate memory barriers and load sharing prevention