Re: [PATCH v2] mm: shmem: fix getting incorrect lruvec when replacing a shmem folio

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

 





On 2024/6/14 11:22, Matthew Wilcox wrote:
On Fri, Jun 14, 2024 at 08:49:13AM +0800, Baolin Wang wrote:
   * Charge @new as a replacement folio for @old. @old will
- * be uncharged upon free. This is only used by the page cache
- * (in replace_page_cache_folio()).
+ * be uncharged upon free. This is used by the page cache
+ * and shmem (in replace_page_cache_folio() and
+ * shmem_replace_folio()).

Please just delete this sentence.  Functions do not keep track of who
their callers are.

Sure. This sentence seems less helpful. Will do in v3.




[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