[all-commits] [llvm/llvm-project] 6a7cd4: [libc][NFC] Do not call mmap and munmap from threa...

Siva Chandra via All-commits all-commits at lists.llvm.org
Fri Apr 1 22:12:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a7cd4a1df6c394f5d0dae93c9be26f8f777cd7f
      https://github.com/llvm/llvm-project/commit/6a7cd4a1df6c394f5d0dae93c9be26f8f777cd7f
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-04-02 (Sat, 02 Apr 2022)

  Changed paths:
    M libc/src/threads/linux/CMakeLists.txt
    M libc/src/threads/linux/thrd_create.cpp
    M libc/src/threads/linux/thrd_join.cpp

  Log Message:
  -----------
  [libc][NFC] Do not call mmap and munmap from thread functions.

Instead, memory is allocated and deallocated using mmap and munmap
syscalls directly.

Reviewed By: lntue, michaelrj

Differential Revision: https://reviews.llvm.org/D122876




More information about the All-commits mailing list