lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 15 May 2022 21:25:21 +0800
From:   Huacai Chen <chenhuacai@...il.com>
To:     WANG Xuerui <kernel@...0n.name>
Cc:     Huacai Chen <chenhuacai@...ngson.cn>,
        Arnd Bergmann <arnd@...db.de>,
        Andy Lutomirski <luto@...nel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Peter Zijlstra <peterz@...radead.org>,
        Andrew Morton <akpm@...ux-foundation.org>,
        David Airlie <airlied@...ux.ie>,
        Jonathan Corbet <corbet@....net>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        linux-arch <linux-arch@...r.kernel.org>,
        "open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Xuefeng Li <lixuefeng@...ngson.cn>,
        Yanteng Si <siyanteng@...ngson.cn>,
        Guo Ren <guoren@...nel.org>,
        Jiaxun Yang <jiaxun.yang@...goat.com>,
        Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: [PATCH V10 11/22] LoongArch: Add process management

Hi, Xuerui,

On Sun, May 15, 2022 at 5:20 PM WANG Xuerui <kernel@...0n.name> wrote:
>
> On 5/14/22 16:03, Huacai Chen wrote:
> > Add process management support for LoongArch, including: thread info
> > definition, context switch and process tracing.
> >
> > Signed-off-by: Huacai Chen <chenhuacai@...ngson.cn>
> > ---
> >   arch/loongarch/include/asm/fpu.h         | 129 +++++++
> >   arch/loongarch/include/asm/idle.h        |   9 +
> >   arch/loongarch/include/asm/mmu.h         |  16 +
> >   arch/loongarch/include/asm/mmu_context.h | 152 ++++++++
> >   arch/loongarch/include/asm/processor.h   | 209 +++++++++++
> >   arch/loongarch/include/asm/ptrace.h      | 152 ++++++++
> >   arch/loongarch/include/asm/switch_to.h   |  37 ++
> >   arch/loongarch/include/asm/thread_info.h | 106 ++++++
> >   arch/loongarch/include/uapi/asm/ptrace.h |  52 +++
> >   arch/loongarch/kernel/fpu.S              | 264 ++++++++++++++
> >   arch/loongarch/kernel/idle.c             |  16 +
> >   arch/loongarch/kernel/process.c          | 260 ++++++++++++++
> >   arch/loongarch/kernel/ptrace.c           | 431 +++++++++++++++++++++++
> >   arch/loongarch/kernel/switch.S           |  35 ++
> >   14 files changed, 1868 insertions(+)
> >   create mode 100644 arch/loongarch/include/asm/fpu.h
> >   create mode 100644 arch/loongarch/include/asm/idle.h
> >   create mode 100644 arch/loongarch/include/asm/mmu.h
> >   create mode 100644 arch/loongarch/include/asm/mmu_context.h
> >   create mode 100644 arch/loongarch/include/asm/processor.h
> >   create mode 100644 arch/loongarch/include/asm/ptrace.h
> >   create mode 100644 arch/loongarch/include/asm/switch_to.h
> >   create mode 100644 arch/loongarch/include/asm/thread_info.h
> >   create mode 100644 arch/loongarch/include/uapi/asm/ptrace.h
> >   create mode 100644 arch/loongarch/kernel/fpu.S
> >   create mode 100644 arch/loongarch/kernel/idle.c
> >   create mode 100644 arch/loongarch/kernel/process.c
> >   create mode 100644 arch/loongarch/kernel/ptrace.c
> >   create mode 100644 arch/loongarch/kernel/switch.S
>
> The context handling code already saw use in released version of strace
> [1] [2], so it appears appropriate to consider the user-space additions
> to be in a reasonably good shape already.
>
> Reviewed-by: WANG Xuerui <git@...0n.name>
Thanks for your review.

Huacai
>
> [1]: https://github.com/strace/strace/pull/205
> [2]: https://github.com/strace/strace/pull/207
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ