]> git.baikalelectronics.ru Git - kernel.git/commit
mm: migrate: change to use bool type for 'page_was_mapped'
authorBaolin Wang <baolin.wang@linux.alibaba.com>
Wed, 8 Sep 2021 22:18:06 +0000 (15:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 8 Sep 2021 22:32:34 +0000 (15:32 -0700)
commit86781ea83e026081d171cf16a11017843b4fe8d8
tree598965250cd967518da5282948df77136cecc6b1
parentd48be5d1fd0acbdb146e6a53e4c96a15e31cc072
mm: migrate: change to use bool type for 'page_was_mapped'

Change to use bool type for 'page_was_mapped' variable making it more
readable.

Link: https://lkml.kernel.org/r/ce1279df18d2c163998c403e0b5ec6d3f6f90f7a.1629447552.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/migrate.c