Displaying 5 results from an estimated 5 matches for "did_i_migr".
2020 Jul 07
2
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
On Fri 03-07-20 15:29:22, Jann Horn wrote:
> On Fri, Jul 3, 2020 at 1:30 PM Michal Hocko <mhocko at kernel.org> wrote:
> > On Fri 03-07-20 10:34:09, Catangiu, Adrian Costin wrote:
> > > This patch adds logic to the kernel power code to zero out contents of
> > > all MADV_WIPEONSUSPEND VMAs present in the system during its transition
> > > to any suspend
2020 Jul 07
2
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
On Fri 03-07-20 15:29:22, Jann Horn wrote:
> On Fri, Jul 3, 2020 at 1:30 PM Michal Hocko <mhocko at kernel.org> wrote:
> > On Fri 03-07-20 10:34:09, Catangiu, Adrian Costin wrote:
> > > This patch adds logic to the kernel power code to zero out contents of
> > > all MADV_WIPEONSUSPEND VMAs present in the system during its transition
> > > to any suspend
2020 Jul 07
3
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...; > application has to be changed anyway then why not simply use a
> > transparent and proper signaling mechanism like poll on a fd. That
>
> The goal is to have cryprographically-safe get_random_number() with 0
> syscalls.
>
> You'd need to do:
>
> if (!poll(did_i_migrate)) {
> use_prng_seed();
> if (poll(did_i_migrate)) {
> /* oops_they_migrated_me_in_middle_of_computation,
> lets_redo_it() */
> goto retry:
> }
> }
>
> Which means two syscalls..
Is this a real problem though? Do we have any ac...
2020 Jul 07
3
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...; > application has to be changed anyway then why not simply use a
> > transparent and proper signaling mechanism like poll on a fd. That
>
> The goal is to have cryprographically-safe get_random_number() with 0
> syscalls.
>
> You'd need to do:
>
> if (!poll(did_i_migrate)) {
> use_prng_seed();
> if (poll(did_i_migrate)) {
> /* oops_they_migrated_me_in_middle_of_computation,
> lets_redo_it() */
> goto retry:
> }
> }
>
> Which means two syscalls..
Is this a real problem though? Do we have any ac...
2020 Jul 07
0
[RFC]: mm,power: introduce MADV_WIPEONSUSPEND
...nd the expected usecase but if the target
> application has to be changed anyway then why not simply use a
> transparent and proper signaling mechanism like poll on a fd. That
The goal is to have cryprographically-safe get_random_number() with 0
syscalls.
You'd need to do:
if (!poll(did_i_migrate)) {
use_prng_seed();
if (poll(did_i_migrate)) {
/* oops_they_migrated_me_in_middle_of_computation,
lets_redo_it() */
goto retry:
}
}
Which means two syscalls..
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky,...