diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-02 13:56:48 +0200 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-02 13:56:48 +0200 | 
| commit | 0e509f537f8ddd89f237e62f77818dbdbc8be395 (patch) | |
| tree | 4e747a1cad81d0c085d435923366bcce30484bc8 /mm/page_alloc.c | |
| parent | f8ae07f4b8bfde0f33761e1a1aaee45a4e85e9d6 (diff) | |
| parent | 672c0c5173427e6b3e2a9bbb7be51ceeec78093a (diff) | |
Merge 5.18-rc5 into driver-core-next
We need the kernfs/driver core fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page_alloc.c')
| -rw-r--r-- | mm/page_alloc.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6e5b4488a0c5..0e42038382c1 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -6131,7 +6131,7 @@ static int build_zonerefs_node(pg_data_t *pgdat, struct zoneref *zonerefs)  	do {  		zone_type--;  		zone = pgdat->node_zones + zone_type; -		if (managed_zone(zone)) { +		if (populated_zone(zone)) {  			zoneref_set_zone(zone, &zonerefs[nr_zones++]);  			check_highest_zone(zone_type);  		} @@ -8919,7 +8919,7 @@ void *__init alloc_large_system_hash(const char *tablename,  				table = memblock_alloc_raw(size,  							   SMP_CACHE_BYTES);  		} else if (get_order(size) >= MAX_ORDER || hashdist) { -			table = __vmalloc(size, gfp_flags); +			table = vmalloc_huge(size, gfp_flags);  			virt = true;  			if (table)  				huge = is_vm_area_hugepages(table);  | 
