File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -5149,6 +5149,7 @@ static void build_zonelists(pg_data_t *pgdat)
5149
5149
*/
5150
5150
static void setup_pageset (struct per_cpu_pageset * p , unsigned long batch );
5151
5151
static DEFINE_PER_CPU (struct per_cpu_pageset , boot_pageset ) ;
5152
+ static DEFINE_PER_CPU (struct per_cpu_nodestat , boot_nodestats ) ;
5152
5153
static void setup_zone_pageset (struct zone * zone );
5153
5154
5154
5155
/*
@@ -6049,6 +6050,8 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
6049
6050
spin_lock_init (& pgdat -> lru_lock );
6050
6051
lruvec_init (node_lruvec (pgdat ));
6051
6052
6053
+ pgdat -> per_cpu_nodestats = & boot_nodestats ;
6054
+
6052
6055
for (j = 0 ; j < MAX_NR_ZONES ; j ++ ) {
6053
6056
struct zone * zone = pgdat -> node_zones + j ;
6054
6057
unsigned long size , realsize , freesize , memmap_pages ;
You can’t perform that action at this time.
0 commit comments