diff options
| author | Kairui Song <[email protected]> | 2025-07-28 07:53:06 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2025-08-02 19:06:13 +0000 |
| commit | de55be42379cc0561aadfd9e1459239dea70be32 (patch) | |
| tree | 2cdb9aea7c4d9ea65aeea20372120a5a5c78b8c4 /fs/xfs/xfs_exchrange.c | |
| parent | mm/shmem, swap: rework swap entry and index calculation for large swapin (diff) | |
| download | kernel-de55be42379cc0561aadfd9e1459239dea70be32.tar.gz kernel-de55be42379cc0561aadfd9e1459239dea70be32.zip | |
mm/shmem, swap: fix major fault counting
If the swapin failed, don't update the major fault count. There is a long
existing comment for doing it this way, now with previous cleanups, we can
finally fix it.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Kairui Song <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Barry Song <[email protected]>
Cc: Chris Li <[email protected]>
Cc: Dev Jain <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Kemeng Shi <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Nhat Pham <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions
