Repository navigation
Commit 5f7a75a
mm: page_alloc: do not cache reclaim distances
pgdat->reclaim_nodes tracks if a remote node is allowed to be reclaimed
by zone_reclaim due to its distance. As it is expected that
zone_reclaim_mode will be rarely enabled it is unreasonable for all
machines to take a penalty. Fortunately, the zone_reclaim_mode() path
is already slow and it is the path that takes the hit.
Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Reviewed-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 4f9b16a commit 5f7a75a
2 files changed
Lines changed: 2 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
766 | | - | |
767 | 766 | | |
768 | 767 | | |
769 | 768 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1850 | 1850 | | |
1851 | 1851 | | |
1852 | 1852 | | |
1853 | | - | |
1854 | | - | |
1855 | | - | |
1856 | | - | |
1857 | | - | |
1858 | | - | |
1859 | | - | |
1860 | | - | |
1861 | | - | |
1862 | | - | |
| 1853 | + | |
| 1854 | + | |
1863 | 1855 | | |
1864 | 1856 | | |
1865 | 1857 | | |
| |||
1893 | 1885 | | |
1894 | 1886 | | |
1895 | 1887 | | |
1896 | | - | |
1897 | | - | |
1898 | | - | |
1899 | 1888 | | |
1900 | 1889 | | |
1901 | 1890 | | |
| |||
4933 | 4922 | | |
4934 | 4923 | | |
4935 | 4924 | | |
4936 | | - | |
4937 | | - | |
4938 | 4925 | | |
4939 | 4926 | | |
4940 | 4927 | | |
| |||
0 commit comments