merging ion_buffer_sync  from sony kernel