lkml.org 
[lkml]   [2023]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 12/18] x86/sgx: Add EPC OOM path to forcefully reclaim EPC
Date
From
On Wed, 18 Oct 2023 08:55:12 -0500, Dave Hansen <dave.hansen@intel.com>  
wrote:

> On 10/17/23 21:37, Haitao Huang wrote:
>> Yes we can introduce misc.reclaim to give user a knob to forcefully
>> reducing usage if that is really needed in real usage. The semantics
>> would make force-kill VMs explicit to user.
>
> Do any other controllers do something like this? It seems odd.

Maybe not in sense of killing something. My understanding memory.reclaim
does not necessarily invoke the OOM killer. But what I really intend to
say is we can have a separate knob for user to express the need for
reducing the current usage explicitly and keep "misc.max' non-preemptive
semantics intact. When we implement that new knob, then we can define what
kind of reclaim for that. Depending on vEPC implementation, it may or may
not involve killing VMs. But at least that semantics will be explicit for
user.

Thanks
Haitao

\
 
 \ /
  Last update: 2023-10-18 17:27    [W:0.439 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site