lkml.org 
[lkml]   [2020]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 0/3] make vm_committed_as_batch aware of vm overcommit policy
Date


>If it's true, then there could be 2 solutions, one is to skip the WARN_ONCE as it has no practical value, as the real >check is the following code, the other is to rectify the percpu counter when the policy is changing to >OVERCOMMIT_NEVER.

I think it's better to fix it up when the policy changes. That's the right place. The WARN_ON might be useful to catch other bugs.

-Andi


\
 
 \ /
  Last update: 2020-05-28 17:22    [W:0.072 / U:3.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site