On 2/12/25 7:42 PM, Peter Xu wrote:
On Wed, Feb 12, 2025 at 07:17:45PM +0300, Daniil Tatianin wrote:
-static inline int os_mlock(void)
+static inline int os_mlock(bool on_fault)
{
+(void)on_fault;
Is this really needed ? Our compiler flags don't enable warnings
about unused variables.
On Wed, Feb 12, 2025 at 07:17:45PM +0300, Daniil Tatianin wrote:
> > > -static inline int os_mlock(void)
> > > +static inline int os_mlock(bool on_fault)
> > > {
> > > +(void)on_fault;
> > Is this really needed ? Our compiler flags don't enable warnings
> > about unused variables.
>
> Hmm, I
On 2/12/25 6:30 PM, Daniel P. Berrangé wrote:
On Wed, Feb 12, 2025 at 05:39:17PM +0300, Daniil Tatianin wrote:
This will be used in the following commits to make it possible to only
lock memory on fault instead of right away.
Signed-off-by: Daniil Tatianin
---
include/system/os-posix.h | 2
On 12/2/25 16:23, Peter Xu wrote:
On Wed, Feb 12, 2025 at 05:39:17PM +0300, Daniil Tatianin wrote:
This will be used in the following commits to make it possible to only
lock memory on fault instead of right away.
Signed-off-by: Daniil Tatianin
---
include/system/os-posix.h | 2 +-
include
On Wed, Feb 12, 2025 at 03:30:21PM +, Daniel P. Berrangé wrote:
> > diff --git a/include/system/os-win32.h b/include/system/os-win32.h
> > index b82a5d3ad9..cd61d69e10 100644
> > --- a/include/system/os-win32.h
> > +++ b/include/system/os-win32.h
> > @@ -123,8 +123,9 @@ static inline bool is_da
On Wed, Feb 12, 2025 at 05:39:17PM +0300, Daniil Tatianin wrote:
> This will be used in the following commits to make it possible to only
> lock memory on fault instead of right away.
>
> Signed-off-by: Daniil Tatianin
> ---
> include/system/os-posix.h | 2 +-
> include/system/os-win32.h | 3 +
On Wed, Feb 12, 2025 at 05:39:17PM +0300, Daniil Tatianin wrote:
> This will be used in the following commits to make it possible to only
> lock memory on fault instead of right away.
>
> Signed-off-by: Daniil Tatianin
> ---
> include/system/os-posix.h | 2 +-
> include/system/os-win32.h | 3 +
On 2/12/25 6:23 PM, Peter Xu wrote:
On Wed, Feb 12, 2025 at 05:39:17PM +0300, Daniil Tatianin wrote:
This will be used in the following commits to make it possible to only
lock memory on fault instead of right away.
Signed-off-by: Daniil Tatianin
---
include/system/os-posix.h | 2 +-
incl
On 12/2/25 15:51, Daniil Tatianin wrote:
On 2/12/25 5:48 PM, Philippe Mathieu-Daudé wrote:
Hi Daniil,
On 12/2/25 15:39, Daniil Tatianin wrote:
This will be used in the following commits to make it possible to only
lock memory on fault instead of right away.
Signed-off-by: Daniil Tatianin
--
On 2/12/25 5:48 PM, Philippe Mathieu-Daudé wrote:
Hi Daniil,
On 12/2/25 15:39, Daniil Tatianin wrote:
This will be used in the following commits to make it possible to only
lock memory on fault instead of right away.
Signed-off-by: Daniil Tatianin
---
include/system/os-posix.h | 2 +-
in
Hi Daniil,
On 12/2/25 15:39, Daniil Tatianin wrote:
This will be used in the following commits to make it possible to only
lock memory on fault instead of right away.
Signed-off-by: Daniil Tatianin
---
include/system/os-posix.h | 2 +-
include/system/os-win32.h | 3 ++-
meson.build
On 12.02.25 17:39, Daniil Tatianin wrote:
This will be used in the following commits to make it possible to only
lock memory on fault instead of right away.
Signed-off-by: Daniil Tatianin
Reviewed-by: Vladimir Sementsov-Ogievskiy
--
Best regards,
Vladimir
This will be used in the following commits to make it possible to only
lock memory on fault instead of right away.
Signed-off-by: Daniil Tatianin
---
include/system/os-posix.h | 2 +-
include/system/os-win32.h | 3 ++-
meson.build | 6 ++
migration/postcopy-ram.c | 2 +-
o
13 matches
Mail list logo