LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH -next 0/2] riscv: Fix two vdso issue
@ 2021-08-19  3:06 Tong Tiangen
  2021-08-19  3:06 ` [PATCH -next 1/2] riscv/vdso: Move vdso data page up front Tong Tiangen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Tong Tiangen @ 2021-08-19  3:06 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Palmer Dabbelt, Albert Ou
  Cc: linux-riscv, linux-kernel, Tong Tiangen

1) Move vdso data page up front and introduce enum vvar_pages, To pave the way
for the subsequent support of TIME_NS, the support of TIME_NS will be issued
in the later patch.

2) In arch_setup_additional_pages(), make Wait for the lock in the killable mode
and return with EINTR if the task got killed while waiting.

Tong Tiangen (2):
  riscv/vdso: Move vdso data page up front
  riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for
    write killable

 arch/riscv/include/asm/syscall.h  |  2 ++
 arch/riscv/include/asm/vdso.h     |  4 +--
 arch/riscv/kernel/vdso.c          | 51 ++++++++++++++++++-------------
 arch/riscv/kernel/vdso/vdso.lds.S |  3 +-
 4 files changed, 36 insertions(+), 24 deletions(-)

-- 
2.18.0.huawei.25


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

end of thread, other threads:[~2021-08-19  9:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  3:06 [PATCH -next 0/2] riscv: Fix two vdso issue Tong Tiangen
2021-08-19  3:06 ` [PATCH -next 1/2] riscv/vdso: Move vdso data page up front Tong Tiangen
2021-08-19  9:43   ` kernel test robot
2021-08-19  3:06 ` [PATCH -next 2/2] riscv/vdso: make arch_setup_additional_pages wait for mmap_sem for write killable Tong Tiangen
2021-08-19  5:24 ` [PATCH -next 0/2] riscv: Fix two vdso issue Kefeng Wang

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).