Re: [PATCH v6 09/12] x86/sgx: Restructure top-level EPC reclaim function

2024-01-13 Thread Jarkko Sakkinen
On Sat Jan 13, 2024 at 11:04 PM EET, Jarkko Sakkinen wrote: > On Fri Jan 12, 2024 at 7:07 PM EET, Haitao Huang wrote: > > On Sun, 17 Dec 2023 19:44:56 -0600, Huang, Kai wrote: > > > > > > > >> > > > >> > The point is, with or w/o this patch, you can only reclaim 16 EPC > > >> pages > > >> > in o

Re: [PATCH v6 09/12] x86/sgx: Restructure top-level EPC reclaim function

2024-01-13 Thread Jarkko Sakkinen
On Fri Jan 12, 2024 at 7:07 PM EET, Haitao Huang wrote: > On Sun, 17 Dec 2023 19:44:56 -0600, Huang, Kai wrote: > > > > >> > > >> > The point is, with or w/o this patch, you can only reclaim 16 EPC > >> pages > >> > in one > >> > function call (as you have said you are going to remove > >> > SGX

Re: [PATCH v11 1/5] ring-buffer: Zero ring-buffer sub-buffers

2024-01-13 Thread Google
On Thu, 11 Jan 2024 16:17:08 + Vincent Donnefort wrote: > In preparation for the ring-buffer memory mapping where each subbuf will > be accessible to user-space, zero all the page allocations. > > Signed-off-by: Vincent Donnefort Looks good to me. Reviewed-by: Masami Hiramatsu (Google)

Re: [PATCH v11 4/5] Documentation: tracing: Add ring-buffer mapping

2024-01-13 Thread Google
On Thu, 11 Jan 2024 16:17:11 + Vincent Donnefort wrote: > It is now possible to mmap() a ring-buffer to stream its content. Add > some documentation and a code example. > > Signed-off-by: Vincent Donnefort > > diff --git a/Documentation/trace/index.rst b/Documentation/trace/index.rst > ind