aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-05-19 14:08:52 -0700
committerakpm <akpm@linux-foundation.org>2022-05-19 14:08:52 -0700
commit4b9ae8426cb4a9160ae41bc968391f499feece7e (patch)
tree3c40bec41e874999626977bb843bc00cb91bbc5b /tools/perf/scripts/python/export-to-postgresql.py
parentmm/swap: avoid calling swp_swap_info when try to check SWP_STABLE_WRITES (diff)
downloadlinux-dev-4b9ae8426cb4a9160ae41bc968391f499feece7e.tar.xz
linux-dev-4b9ae8426cb4a9160ae41bc968391f499feece7e.zip
mm/swap: add helper swap_offset_available()
Add helper swap_offset_available() to remove some duplicated codes. Minor readability improvement. [akpm@linux-foundation.org: s/swap_offset_available/swap_offset_available_and_locked/, per Neil] Link: https://lkml.kernel.org/r/20220509131416.17553-12-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Alistair Popple <apopple@nvidia.com> Cc: David Hildenbrand <david@redhat.com> Cc: David Howells <dhowells@redhat.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Naoya Horiguchi <naoya.horiguchi@nec.com> Cc: NeilBrown <neilb@suse.de> Cc: Peter Xu <peterx@redhat.com> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Oscar Salvador <osalvador@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions