1. 25 7月, 2023 1 次提交
  2. 05 7月, 2023 1 次提交
  3. 13 6月, 2023 1 次提交
  4. 28 2月, 2023 1 次提交
  5. 07 12月, 2022 1 次提交
  6. 18 11月, 2022 2 次提交
  7. 02 11月, 2022 1 次提交
  8. 27 10月, 2022 1 次提交
  9. 29 9月, 2022 2 次提交
  10. 01 9月, 2022 5 次提交
  11. 19 7月, 2022 1 次提交
  12. 06 7月, 2022 2 次提交
  13. 31 5月, 2022 1 次提交
  14. 23 5月, 2022 1 次提交
  15. 10 5月, 2022 1 次提交
  16. 27 4月, 2022 1 次提交
  17. 19 4月, 2022 1 次提交
  18. 22 3月, 2022 2 次提交
  19. 23 2月, 2022 1 次提交
    • M
      mm: Introduce memory reliable · 6c59ddf2
      Ma Wupeng 提交于
      hulk inclusion
      category: feature
      bugzilla: https://gitee.com/openeuler/kernel/issues/I4PM01
      CVE: NA
      
      --------------------------------
      
      Introduction
      
      ============
      
      Memory reliable feature is a memory tiering mechanism. It is based on
      kernel mirror feature, which splits memory into two sperate regions,
      mirrored(reliable) region and non-mirrored (non-reliable) region.
      
      for kernel mirror feature:
      
      - allocate kernel memory from mirrored region by default
      - allocate user memory from non-mirrored region by default
      
      non-mirrored region will be arranged into ZONE_MOVABLE.
      
      for kernel reliable feature, it has additional features below:
      
      - normal user tasks never alloc memory from mirrored region with userspace
        apis(malloc, mmap, etc.)
      - special user tasks will allocate memory from mirrored region by default
      - tmpfs/pagecache allocate memory from mirrored region by default
      - upper limit of mirrored region allcated for user tasks, tmpfs and
        pagecache
      
      Support Reliable fallback mechanism which allows special user tasks, tmpfs
      and pagecache can fallback to alloc non-mirrored region, it's the default
      setting.
      
      In order to fulfil the goal
      
      - ___GFP_RELIABLE flag added for alloc memory from mirrored region.
      
      - the high_zoneidx for special user tasks/tmpfs/pagecache is set to
        ZONE_NORMAL.
      
      - normal user tasks could only alloc from ZONE_MOVABLE.
      
      This patch is just the main framework, memory reliable support for special
      user tasks, pagecache and tmpfs has own patches.
      
      To enable this function, mirrored(reliable) memory is needed and
      "kernelcore=reliable" should be added to kernel parameters.
      Signed-off-by: NMa Wupeng <mawupeng1@huawei.com>
      Reviewed-by: NKefeng Wang <wangkefeng.wang@huawei.com>
      Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
      6c59ddf2
  20. 27 1月, 2022 2 次提交
  21. 22 1月, 2022 2 次提交
  22. 19 1月, 2022 2 次提交
  23. 14 1月, 2022 1 次提交
  24. 12 1月, 2022 2 次提交
  25. 10 1月, 2022 2 次提交
  26. 07 1月, 2022 1 次提交
  27. 30 12月, 2021 1 次提交