Re: [PATCH v12 0/6] implement getrandom() in vDSO

2022-12-21 Thread Eric Biggers
On Wed, Dec 21, 2022 at 03:25:49PM +0100, Jason A. Donenfeld wrote: > On Tue, Dec 20, 2022 at 08:13:14PM +, Eric Biggers wrote: > > On Tue, Dec 20, 2022 at 05:17:52PM +, Christophe Leroy wrote: > > > Hi Jason, > > > > > > Le 12/12/2022 à 19:53, Jason A. Donenfeld a écrit : > > > > Changes

Re: [PATCH v12 0/6] implement getrandom() in vDSO

2022-12-21 Thread Jason A. Donenfeld
On Tue, Dec 20, 2022 at 08:13:14PM +, Eric Biggers wrote: > On Tue, Dec 20, 2022 at 05:17:52PM +, Christophe Leroy wrote: > > Hi Jason, > > > > Le 12/12/2022 à 19:53, Jason A. Donenfeld a écrit : > > > Changes v11->v12: > > > > > > - In order to avoid mlock()ing pages, and

Re: [PATCH v12 0/6] implement getrandom() in vDSO

2022-12-21 Thread Jason A. Donenfeld
On Tue, Dec 20, 2022 at 05:17:52PM +, Christophe Leroy wrote: > I would have liked to give it a try on powerpc, but the series > conflicts. I tried both on v6.1 and on linus/master from now: I'll send a rebased v+1 shortly. Jason

Re: [PATCH v12 0/6] implement getrandom() in vDSO

2022-12-20 Thread Eric Biggers
On Tue, Dec 20, 2022 at 05:17:52PM +, Christophe Leroy wrote: > Hi Jason, > > Le 12/12/2022 à 19:53, Jason A. Donenfeld a écrit : > > Changes v11->v12: > > > > - In order to avoid mlock()ing pages, and the related rlimit and fork > >inheritance issues there, Introduce VM_D

Re: [PATCH v12 0/6] implement getrandom() in vDSO

2022-12-20 Thread Christophe Leroy
Hi Jason, Le 12/12/2022 à 19:53, Jason A. Donenfeld a écrit : > Changes v11->v12: > > - In order to avoid mlock()ing pages, and the related rlimit and fork >inheritance issues there, Introduce VM_DROPPABLE to prevent swapping >while meeting the cache-like requirements of v