On Mon, 2012-09-17 at 13:38 -0300, Rafael Aquini wrote: > +static inline void assign_balloon_mapping(struct page *page, > + struct address_space > *mapping) > +{ > + page->mapping = mapping; > + smp_wmb(); > +} > + > +static inline void clear_balloon_mapping(struct page *page) > +{ > + page->mapping = NULL; > + smp_wmb(); > +} barriers without a comment describing the data race are a mortal sin. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization