forked from mirrors/linux
		
	mm: fix folio_alloc_noprof()
folio_alloc_noprof) wasn't calling the _noprof version, causing allocations to be accounted here instead of to the caller Link: https://lkml.kernel.org/r/20240901202459.4867-1-kent.overstreet@linux.dev Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									96ae4c9019
								
							
						
					
					
						commit
						0a6fff20d3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -319,7 +319,7 @@ static inline struct page *alloc_pages_mpol_noprof(gfp_t gfp, unsigned int order | ||||||
| } | } | ||||||
| static inline struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order) | static inline struct folio *folio_alloc_noprof(gfp_t gfp, unsigned int order) | ||||||
| { | { | ||||||
| 	return __folio_alloc_node(gfp, order, numa_node_id()); | 	return __folio_alloc_node_noprof(gfp, order, numa_node_id()); | ||||||
| } | } | ||||||
| static inline struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order, | static inline struct folio *folio_alloc_mpol_noprof(gfp_t gfp, unsigned int order, | ||||||
| 		struct mempolicy *mpol, pgoff_t ilx, int nid) | 		struct mempolicy *mpol, pgoff_t ilx, int nid) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Kent Overstreet
						Kent Overstreet