Re: [RFC PATCH 06/29] memblock: rename memblock_alloc{_nid, _try_nid} to memblock_phys_alloc*

2018-09-06 Thread Michal Hocko
On Wed 05-09-18 18:59:21, Mike Rapoport wrote: > This will allow using memblock_alloc for memblock allocations returning > virtual address. The description confused me at first because it talks about a future patch rather than this one. Anyway unlike the other renaming patch I agree with this

[RFC PATCH 06/29] memblock: rename memblock_alloc{_nid, _try_nid} to memblock_phys_alloc*

2018-09-05 Thread Mike Rapoport
This will allow using memblock_alloc for memblock allocations returning virtual address. The conversion is done using the following semantic patch: @@ expression e1, e2, e3; @@ ( - memblock_alloc(e1, e2) + memblock_phys_alloc(e1, e2) | - memblock_alloc_nid(e1, e2, e3) +