The patch titled Subject: mm/vmscan.c: do_try_to_free_pages(): clean code by removing unnecessary assignment has been added to the -mm tree. Its filename is mm-vmscanc-do_try_to_free_pages-clean-code-by-removing-unnecessary-assignment.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-vmscanc-do_try_to_free_pages-clean-code-by-removing-unnecessary-assignment.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-vmscanc-do_try_to_free_pages-clean-code-by-removing-unnecessary-assignment.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Mateusz Nosek <mateusznosek0@xxxxxxxxx> Subject: mm/vmscan.c: do_try_to_free_pages(): clean code by removing unnecessary assignment sc->memcg_low_skipped resets skipped_deactivate to 0 but this is not needed as this code path is never reachable with skipped_deactivate != 0 due to previous sc->skipped_deactivate branch. [mhocko@xxxxxxxxxx: rewrite changelog] Link: http://lkml.kernel.org/r/20200319165938.23354-1-mateusznosek0@xxxxxxxxx Signed-off-by: Mateusz Nosek <mateusznosek0@xxxxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/vmscan.c | 1 - 1 file changed, 1 deletion(-) --- a/mm/vmscan.c~mm-vmscanc-do_try_to_free_pages-clean-code-by-removing-unnecessary-assignment +++ a/mm/vmscan.c @@ -3093,7 +3093,6 @@ retry: if (sc->memcg_low_skipped) { sc->priority = initial_priority; sc->force_deactivate = 0; - sc->skipped_deactivate = 0; sc->memcg_low_reclaim = 1; sc->memcg_low_skipped = 0; goto retry; _ Patches currently in -mm which might be from mateusznosek0@xxxxxxxxx are mm-micro-optimisation-save-two-branches-on-hot-page-allocation-path.patch mm-page_allocc-micro-optimisation-remove-unnecessary-branch.patch mm-vmscanc-clean-code-by-removing-unnecessary-assignment.patch mm-vmscanc-do_try_to_free_pages-clean-code-by-removing-unnecessary-assignment.patch mm-compactionc-clean-code-by-removing-unnecessary-assignment.patch mm-hugetlbc-clean-code-by-removing-unnecessary-initialization.patch mm-shmemc-clean-code-by-removing-unnecessary-assignment.patch mm-mm_initc-clean-code-use-build_bug_on-when-comparing-compile-time-constant.patch mm-dmapoolc-micro-optimisation-remove-unnecessary-branch.patch