All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory
@ 2020-10-15  0:51 ` Sudarshan Rajagopalan
  0 siblings, 0 replies; 34+ messages in thread
From: Sudarshan Rajagopalan @ 2020-10-15  0:51 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel; +Cc: Sudarshan Rajagopalan

V1: The initial patch used the approach to abort at the first instance of PMD_SIZE
allocation failure, unmaps all previously mapped sections using vmemmap_free
and maps the entire request with vmemmap_populate_basepages to allocate 
virtually contiguous memory.
https://lkml.org/lkml/2020/9/10/66

V2: Allocates virtually contiguous memory only for sections that failed
PMD_SIZE allocation, and continous to allocate physically contiguous
memory for other sections.
https://lkml.org/lkml/2020/9/30/1489

V3: Addressed trivial review comments. Pass in altmap to vmemmap_populate_basepages.

Sudarshan Rajagopalan (1):
  arm64/mm: add fallback option to allocate virtually contiguous memory

 arch/arm64/mm/mmu.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 34+ messages in thread
* [PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory
@ 2020-10-12 23:05 ` Sudarshan Rajagopalan
  0 siblings, 0 replies; 34+ messages in thread
From: Sudarshan Rajagopalan @ 2020-10-12 23:05 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel; +Cc: Sudarshan Rajagopalan

V1: The initial patch used the approach to abort at the first instance of PMD_SIZE
allocation failure, unmaps all previously mapped sections using vmemmap_free
and maps the entire request with vmemmap_populate_basepages to allocate 
virtually contiguous memory.
https://lkml.org/lkml/2020/9/10/66

V2: Allocates virtually contiguous memory only for sections that failed
PMD_SIZE allocation, and continous to allocate physically contiguous
memory for other sections.
https://lkml.org/lkml/2020/9/30/1489

V3: Addressed trivial review comments. Pass in altmap to vmemmap_populate_basepages.

Sudarshan Rajagopalan (1):
  arm64/mm: add fallback option to allocate virtually contiguous memory

 arch/arm64/mm/mmu.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 34+ messages in thread
* [PATCH v3] arm64/mm: add fallback option to allocate virtually
@ 2020-10-01 20:16 Sudarshan Rajagopalan
  2020-10-01 20:16   ` Sudarshan Rajagopalan
  0 siblings, 1 reply; 34+ messages in thread
From: Sudarshan Rajagopalan @ 2020-10-01 20:16 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel; +Cc: Sudarshan Rajagopalan

V1: The initial patch used the approach to abort at the first instance of PMD_SIZE
allocation failure, unmaps all previously mapped sections using vmemmap_free
and maps the entire request with vmemmap_populate_basepages to allocate
virtually contiguous memory.
https://lkml.org/lkml/2020/9/10/66

V2: Allocates virtually contiguous memory only for sections that failed
PMD_SIZE allocation, and continues to allocate physically contiguous
memory for other sections.
https://lkml.org/lkml/2020/9/30/1489

V3: Addresses Anshuman's comment to allow fallback to altmap base pages
as well if and when required.

Sudarshan Rajagopalan (1):
  arm64/mm: add fallback option to allocate virtually contiguous memory

 arch/arm64/mm/mmu.c | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2020-11-17 18:34 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-15  0:51 [PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory Sudarshan Rajagopalan
2020-10-16 18:56 ` [PATCH v4] " Sudarshan Rajagopalan
2020-10-16 18:56 ` Sudarshan Rajagopalan
2020-10-15  0:51 ` [PATCH v3] " Sudarshan Rajagopalan
2020-10-15  0:51 ` Sudarshan Rajagopalan
2020-10-16 18:56   ` [PATCH v4] " Sudarshan Rajagopalan
2020-10-16 18:56   ` Sudarshan Rajagopalan
2020-10-15  0:51   ` [PATCH v3] " Sudarshan Rajagopalan
2020-10-15  8:36   ` Will Deacon
2020-10-15  8:36     ` Will Deacon
2020-10-16 18:49     ` Sudarshan Rajagopalan
2020-10-16 18:49       ` Sudarshan Rajagopalan
2020-11-05  0:03   ` [PATCH v4] " Sudarshan Rajagopalan
2020-11-05  0:03     ` Sudarshan Rajagopalan
2020-11-06 14:38     ` Catalin Marinas
2020-11-06 14:38       ` Catalin Marinas
2020-11-06 13:43   ` Will Deacon
2020-11-06 13:43     ` Will Deacon
2020-11-17 18:33 ` Catalin Marinas
2020-11-17 18:33   ` Catalin Marinas
  -- strict thread matches above, loose matches on Subject: below --
2020-10-12 23:05 [PATCH v3] " Sudarshan Rajagopalan
2020-10-12 23:05 ` Sudarshan Rajagopalan
2020-10-12 23:05 ` Sudarshan Rajagopalan
2020-10-12 23:05   ` Sudarshan Rajagopalan
2020-10-13 11:38   ` Anshuman Khandual
2020-10-13 11:38     ` Anshuman Khandual
2020-10-15  0:54     ` Sudarshan Rajagopalan
2020-10-15  0:54       ` Sudarshan Rajagopalan
2020-10-01 20:16 [PATCH v3] arm64/mm: add fallback option to allocate virtually Sudarshan Rajagopalan
2020-10-01 20:16 ` [PATCH v3] arm64/mm: add fallback option to allocate virtually contiguous memory Sudarshan Rajagopalan
2020-10-01 20:16   ` Sudarshan Rajagopalan
2020-10-06  3:36   ` Anshuman Khandual
2020-10-06  3:36     ` Anshuman Khandual
2020-10-12  2:54     ` Gavin Shan
2020-10-12  2:54       ` Gavin Shan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.