Re: [PATCH] Linux: Implement membarrier function

2018-12-10 Thread David Goldblatt
; > } > > > P1(int *x1, int *x2) > { > WRITE_ONCE(*x1, 1); > smp_memb(); > r1 = READ_ONCE(*x2); > } > > P2(int *x2, int *x3) > { > WRITE_ONCE(*x2, 1); > r1 = READ_ONCE(*x3); > } > > P3(int

Re: [PATCH v2 0/2] mm: introduce MAP_FIXED_SAFE

2017-12-13 Thread David Goldblatt
hat's in a pathway that usually fails; it's pretty far down on our kernel mmap enhancements wish-list. (Sorry if you get this twice, an html reply bounced). On Wed, Dec 13, 2017 at 5:35 PM, David Goldblatt wrote: > (+cc the jemalloc jasone; -cc,+bcc the Google jasone). > >