get rid of extra check for TASK_SIZE in get_unmapped_area
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | get_unmapped_area checks for TASK_SIZE before MAP_FIXED on armarch/ | +3 | 0 replies | |
| 2/6 | get_unmapped_area checks for TASK_SIZE before MAP_FIXED on sharch/ | +6 | 0 replies | |
| 3/6 | get_unmapped_area checks for TASK_SIZE before MAP_FIXED on sparc32arch/ | +5 | 5 replies | |
| 4/6 | get_unmapped_area checks for TASK_SIZE before MAP_FIXED on sparc64arch/ | +8 | 1 reply | |
| 5/6 | get_unmapped_area checks for TASK_SIZE before MAP_FIXED on x86_64arch/ | +3 | 0 replies | |
| 6/6 | get_unmapped_area remove extra check for TASK_SIZEmm/ | +0 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | David S. Miller |
|---|---|
| 1/6 | |
| 2/6 | |
| 3/6 | A-b |
| 4/6 | A-b |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] get rid of extra check for TASK_SIZE in get_unmapped_area
From: Vladimir Murzin <murzin.v@gmail>
The current get_unmapped_area code calls the f_ops->get_unmapped_area or the arch's one (via the mm) only when check for TASK_SIZE is passed. However, generic code and some arches do the same check in their a_g_u_a implementation.
This series of patches fix the check order for TASK_SIZE in archs' get_unmapped_area() implementations, and then removes extra check in high-level get_unmapped_area().
Vladimir Murzin (6):
get_unmapped_area checks for TASK_SIZE before MAP_FIXED on arm get_unmapped_area checks for TASK_SIZE before MAP_FIXED on sh get_unmapped_area checks for TASK_SIZE before MAP_FIXED on sparc32 get_unmapped_area checks for TASK_SIZE before MAP_FIXED on sparc64 get_unmapped_area checks for TASK_SIZE before MAP_FIXED on x86_64 get_unmapped_area remove extra check for TASK_SIZE
arch/arm/mm/mmap.c | 6 +++--- arch/sh/mm/mmap.c | 12 ++++++------ arch/sparc/kernel/sys_sparc_32.c | 9 +++++---- arch/sparc/kernel/sys_sparc_64.c | 16 ++++++++-------- arch/x86/kernel/sys_x86_64.c | 6 +++--- mm/mmap.c | 4 ---- 6 files changed, 25 insertions(+), 28 deletions(-)
Signature · 1 line
1.7.2.5