On Tue, Mar 23, 2021 at 05:27:30PM +0800, yanfei...@windriver.com wrote:
> From: Yanfei Xu
>
> READ_ONCE() is more selective and lightweight. It is more appropriate that
> using a READ_ONCE() for the certain variable to prevent the compiler from
> reordering.
>
> Signed-off-by: Yanfei Xu
Acked
From: Yanfei Xu
READ_ONCE() is more selective and lightweight. It is more appropriate that
using a READ_ONCE() for the certain variable to prevent the compiler from
reordering.
Signed-off-by: Yanfei Xu
---
mm/khugepaged.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/m
2 matches
Mail list logo