linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] arm64/mm: add fallback option to allocate virtually
@ 2020-09-30 23:13 Sudarshan Rajagopalan
  2020-09-30 23:13 ` [PATCH v2] arm64/mm: add fallback option to allocate virtually contiguous memory Sudarshan Rajagopalan
  0 siblings, 1 reply; 4+ messages in thread
From: Sudarshan Rajagopalan @ 2020-09-30 23:13 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.

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

 arch/arm64/mm/mmu.c | 14 ++++++++++++--
 1 file changed, 12 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] 4+ messages in thread

end of thread, other threads:[~2020-10-01 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-30 23:13 [PATCH v2] arm64/mm: add fallback option to allocate virtually Sudarshan Rajagopalan
2020-09-30 23:13 ` [PATCH v2] arm64/mm: add fallback option to allocate virtually contiguous memory Sudarshan Rajagopalan
2020-10-01  0:30   ` Anshuman Khandual
2020-10-01 19:51     ` Sudarshan Rajagopalan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).