Re: [PATCH v3 1/6] exit: perform add_device_randomness() without tasklist_lock
From: Oleg Nesterov
Date: Mon Feb 03 2025 - 12:52:08 EST
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.