Re: [PATCH v3 1/6] exit: perform add_device_randomness() without tasklist_lock

Oleg Nesterov
2025-02-03T17:52:00Z

On 02/01, Mateusz Guzik wrote:
>
> + add_device_randomness((const void*) &p->se.sum_exec_runtime,
> + sizeof(unsigned long long));

I won't insist, but do we really need to keep this ugly "(const void*)"
typecast? and perhaps sizeof(p->se.sum_exec_runtime) will look a bit
better?

Oleg.