diff options
author | Huang Ying <ying.huang@intel.com> | 2023-05-29 08:13:52 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-10 01:25:49 +0200 |
commit | 46a774d3eae523fd9a1907ba90e9a116cd1c5ddc (patch) | |
tree | 60147f54fc30d7d7bb9bb77b7276bd6cb18bcbd6 /kernel/scftorture.c | |
parent | swap: remove get/put_swap_device() in __swap_count() (diff) | |
download | linux-46a774d3eae523fd9a1907ba90e9a116cd1c5ddc.tar.xz linux-46a774d3eae523fd9a1907ba90e9a116cd1c5ddc.zip |
swap, __read_swap_cache_async(): enlarge get/put_swap_device protection range
This makes the function a little easier to be understood because we don't
need to consider swapoff. And this makes it possible to remove
get/put_swap_device() calling in some functions called by
__read_swap_cache_async().
Link: https://lkml.kernel.org/r/20230529061355.125791-3-ying.huang@intel.com
Signed-off-by: "Huang, Ying" <ying.huang@intel.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Chris Li (Google) <chrisl@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Yu Zhao <yuzhao@google.com>
Cc: Yosry Ahmed <yosryahmed@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/scftorture.c')
0 files changed, 0 insertions, 0 deletions