diff options
author | 2024-10-24 10:02:01 +1300 | |
---|---|---|
committer | 2024-10-30 20:14:11 -0700 | |
commit | b54e1bfecc4b2775c184d2edb319232b853a686d (patch) | |
tree | 9c899f187184ae5dd40d652418e355cc73ecfb34 /scripts/generate_rust_analyzer.py | |
parent | mm: avoid VM_BUG_ON when try to map an anon large folio to zero page. (diff) | |
download | linux-rng-b54e1bfecc4b2775c184d2edb319232b853a686d.tar.xz linux-rng-b54e1bfecc4b2775c184d2edb319232b853a686d.zip |
mm: fix PSWPIN counter for large folios swap-in
Similar to PSWPOUT, we should count the number of base pages instead of
large folios.
Link: https://lkml.kernel.org/r/20241023210201.2798-1-21cnbao@gmail.com
Fixes: 242d12c98174 ("mm: support large folios swap-in for sync io devices")
Signed-off-by: Barry Song <v-songbaohua@oppo.com>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Chris Li <chrisl@kernel.org>
Cc: Yosry Ahmed <yosryahmed@google.com>
Cc: "Huang, Ying" <ying.huang@intel.com>
Cc: Kairui Song <kasong@tencent.com>
Cc: Ryan Roberts <ryan.roberts@arm.com>
Cc: Kanchana P Sridhar <kanchana.p.sridhar@intel.com>
Cc: Usama Arif <usamaarif642@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions