[PATCH 3/3 v5] mm/vmalloc: Cache the vmalloc memory info

From: Ingo Molnar
Date: Mon Aug 24 2015 - 03:50:27 EST



* Ingo Molnar <mingo@xxxxxxxxxx> wrote:

> One more detail: I just realized that with the read barriers, the READ_ONCE()
> accesses are not needed anymore - the barriers and the control dependencies are
> enough.
>
> This will further simplify the code.

I.e. something like the updated patch below. (We still need the WRITE_ONCE() for
vmap_info_gen update.)

Thanks,

Ingo

========================>