Performance optimization of LoongArch architecture for Linux 6.4

LoongArch core maintainers have summarized their recent contributions to the kernel on the Linux kernel mailing list, most of which are adding basic support for the LoongArch CPU architecture, memory optimization, and implementing more kernel functions.

Memory optimizations facilitate handling of memset / memcpy / memmoove, as well as optimized checksum and CRC32/CRC32C calculations.

In addition, LoongArch back-traces are now more "human-friendly", providing kernel FPU functions, support for function error injection, FTRACE with direct call support and basic performance tool support.

It nicely incorporates the incremental improvements of LoongArch in Linux 6.4, especially memory optimizations and basic performance tools support.

The main changes of LoongArch in Linux 6.4:

  1. Better humanized backtracking;
  2. pass BCE exceptions to userland as SIGSEGV;
  3. Provide kernel fpu functions;
  4. Optimized memory operations (memset/memcpy/memmove);
  5. Optimize checksum and crc32(c) calculation;
  6. Add ARCH_HAS_FORTIFY_SOURCE option;
  7. Add function error injection support;
  8. Add ftrace direct call support;
  9. Add basic performance tools support.

See the mailing list for details .

Guess you like

Origin www.oschina.net/news/240084/loongarch-linux-6-4