Re: [PATCH 2/2] mm: filemap: batch mm counter updating in filemap_map_pages()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 12, 2024 at 10:57:04AM +0800, Kefeng Wang wrote:
>  	} while ((folio = next_uptodate_folio(&xas, mapping, end_pgoff)) != NULL);
> +
> +	add_mm_counter(vma->vm_mm, mm_counter_file(folio), rss);

Can't folio be NULL here?




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux