binder: Use kmap_local_page() in binder_alloc.c
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 1 replyIn review
- v13 patches 6 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | binder: Use memset_page() in binder_alloc_clear_buf()drivers/ | +1 | 0 replies | |
| 2/3 | binder: Use kmap_local_page() in binder_alloc_copy_user_to_buffer()drivers/ | +2 | 0 replies | |
| 3/3 | binder: Use memcpy_{to,from}_page() in binder_alloc_do_buffer_copy()drivers/ | +2 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Todd Kjos | Ira Weiny |
|---|---|---|
| Series | R-b | |
| 1/3 | A-b | |
| 2/3 | A-b | |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] binder: Use kmap_local_page() in binder_alloc.c
Use kmap_local_page() in binder_alloc.c because kmap() and kmap_atomic() are being deprecated and kmap_local_page() is preferred where it is feasible.
With kmap_local_page(), the mapping is per thread, CPU local and not globally visible. Furthermore, the mapping can be acquired from any context, including interrupts.
Fabio M. De Francesco (3):
binder: Use memset_page() in binder_alloc_clear_buf()
binder: Use kmap_local_page() in binder_alloc_copy_user_to_buffer()
binder: Use memcpy_{to,from}_page() in binder_alloc_do_buffer_copy()
drivers/android/binder_alloc.c | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-)
Signature · 1 line
2.34.1