lkml.org 
[lkml]   [2022]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v14 08/14] mm: multi-gen LRU: support page table walks
On Mon, Aug 15, 2022 at 01:13:27AM -0600, Yu Zhao wrote:
> + for (i = pmd_index(start), addr = start; addr != end; i++, addr = next) {
> + pmd_t val = pmd_read_atomic(pmd + i);
> +
> + /* for pmd_read_atomic() */
> + barrier();

Please clarify the above. This is an entirely inadequate ordering
comment.

> +
> + next = pmd_addr_end(addr, end);

\
 
 \ /
  Last update: 2022-10-13 17:06    [W:0.236 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site