Re: [PULL v2 11/14] os: add an ability to lock memory on_fault

2025-02-18 Thread Peter Xu
On Tue, Feb 18, 2025 at 04:36:31PM +, Daniel P. Berrangé wrote: > Yes, or actually turn on the warning about unused params and mark > the rest. It is initially noisey, but IME does end up flagging > real problems periodically. Anyway, given we're inconsistent already > there's no need to respin

Re: [PULL v2 11/14] os: add an ability to lock memory on_fault

2025-02-18 Thread Daniel P . Berrangé
On Wed, Feb 12, 2025 at 04:33:51PM -0500, Peter Xu wrote: > On Wed, Feb 12, 2025 at 06:03:30PM +, Daniel P. Berrangé wrote: > > On Wed, Feb 12, 2025 at 12:56:46PM -0500, Peter Xu wrote: > > > On Wed, Feb 12, 2025 at 05:48:46PM +, Daniel P. Berrangé wrote: > > > > On Wed, Feb 12, 2025 at 12:

Re: [PULL v2 11/14] os: add an ability to lock memory on_fault

2025-02-12 Thread Peter Xu
On Wed, Feb 12, 2025 at 06:03:30PM +, Daniel P. Berrangé wrote: > On Wed, Feb 12, 2025 at 12:56:46PM -0500, Peter Xu wrote: > > On Wed, Feb 12, 2025 at 05:48:46PM +, Daniel P. Berrangé wrote: > > > On Wed, Feb 12, 2025 at 12:38:23PM -0500, Peter Xu wrote: > > > > From: Daniil Tatianin > >

Re: [PULL v2 11/14] os: add an ability to lock memory on_fault

2025-02-12 Thread Daniel P . Berrangé
On Wed, Feb 12, 2025 at 12:56:46PM -0500, Peter Xu wrote: > On Wed, Feb 12, 2025 at 05:48:46PM +, Daniel P. Berrangé wrote: > > On Wed, Feb 12, 2025 at 12:38:23PM -0500, Peter Xu wrote: > > > From: Daniil Tatianin > > > > > > This will be used in the following commits to make it possible to o

Re: [PULL v2 11/14] os: add an ability to lock memory on_fault

2025-02-12 Thread Peter Xu
On Wed, Feb 12, 2025 at 05:48:46PM +, Daniel P. Berrangé wrote: > On Wed, Feb 12, 2025 at 12:38:23PM -0500, Peter Xu wrote: > > From: Daniil Tatianin > > > > This will be used in the following commits to make it possible to only > > lock memory on fault instead of right away. > > > > Signed-

Re: [PULL v2 11/14] os: add an ability to lock memory on_fault

2025-02-12 Thread Daniel P . Berrangé
On Wed, Feb 12, 2025 at 12:38:23PM -0500, Peter Xu wrote: > From: Daniil Tatianin > > 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 > Link: > h

[PULL v2 11/14] os: add an ability to lock memory on_fault

2025-02-12 Thread Peter Xu
From: Daniil Tatianin 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 Link: https://lore.kernel.org/r/20250212143920.1269754-2-d-tatia...@yandex-team.ru