[PATCH v2 1/4] mm: Add optional close() to struct vm_special_mapping
Michael Ellerman
mpe at ellerman.id.au
Tue Aug 20 16:26:43 AEST 2024
Linus Torvalds <torvalds at linux-foundation.org> writes:
> On Mon, 19 Aug 2024 at 13:15, Linus Torvalds
> <torvalds at linux-foundation.org> wrote:
>>
>> Ok, I did a quick hack-job to remove that disgusting
>> install_special_mapping() legacy case.
>>
>> With this [..]
>
> I forgot to actually attach that "this". Here it is. For real, this time.
>
> Linus
> arch/csky/kernel/vdso.c | 28 +++++++++++++++++++++-------
> arch/hexagon/kernel/vdso.c | 14 ++++++++++----
> arch/nios2/mm/init.c | 12 ++++++++----
> arch/sh/kernel/vsyscall/vsyscall.c | 14 +++++++++++---
> arch/x86/um/vdso/vma.c | 12 ++++++++----
> include/linux/mm.h | 4 ----
> mm/mmap.c | 32 +++++---------------------------
> 7 files changed, 63 insertions(+), 53 deletions(-)
>
...
> index 1bd85a6949c4..5e68ab7a8898 100644
> --- a/arch/sh/kernel/vsyscall/vsyscall.c
> +++ b/arch/sh/kernel/vsyscall/vsyscall.c
> @@ -36,6 +36,10 @@ __setup("vdso=", vdso_setup);
> */
> extern const char vsyscall_trapa_start, vsyscall_trapa_end;
> static struct page *syscall_pages[1];
> +static struct vm_special_mapping vdso_mapping = {
> + .name = "[vdso]",
> + .pages = syscall_pages;
^
should be ,
> +};
cheers
More information about the Linuxppc-dev
mailing list