diff options
author | 2020-06-01 21:49:19 -0700 | |
---|---|---|
committer | 2020-06-02 10:59:09 -0700 | |
commit | 09fe06ce0bf5abe53b77a9515d7fb7579edec9c0 (patch) | |
tree | 7a25eba3fee1b17f1f26c359638cbcb3e0f40a04 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/swapfile.c: __swap_entry_free() always free 1 entry (diff) | |
download | wireguard-linux-09fe06ce0bf5abe53b77a9515d7fb7579edec9c0.tar.xz wireguard-linux-09fe06ce0bf5abe53b77a9515d7fb7579edec9c0.zip |
mm/swapfile.c: use prandom_u32_max()
To improve the code readability and take advantage of the common
implementation.
Signed-off-by: "Huang, Ying" <ying.huang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
Cc: Hugh Dickins <hughd@google.com>
Link: http://lkml.kernel.org/r/20200512081013.520201-1-ying.huang@intel.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions