Re: [PATCH 3/4] um: add mmap/mremap/munmap OS calls

2023-11-10 Thread Johannes Berg
On Fri, 2023-11-10 at 20:40 +, Anton Ivanov wrote: > os_munmap already exists as os_munmap_memory > Hah, oops. Thanks :) johannes ___ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um

Re: [PATCH 3/4] um: add mmap/mremap/munmap OS calls

2023-11-10 Thread Anton Ivanov
On 10/11/2023 18:52, Johannes Berg wrote: From: Johannes Berg For the upcoming shared-memory time-travel external optimisations, we need to be able to mmap/mremap (and on error munmap). Add the necessary OS calls. Signed-off-by: Johannes Berg --- arch/um/include/shared/os.h | 3 +++ arch/

[PATCH 3/4] um: add mmap/mremap/munmap OS calls

2023-11-10 Thread Johannes Berg
From: Johannes Berg For the upcoming shared-memory time-travel external optimisations, we need to be able to mmap/mremap (and on error munmap). Add the necessary OS calls. Signed-off-by: Johannes Berg --- arch/um/include/shared/os.h | 3 +++ arch/um/os-Linux/file.c | 28 ++