On 11/23/21 9:21 AM, Johannes Thumshirn wrote: > On 23/11/2021 17:18, Jens Axboe wrote: >> + poll_stat = kzalloc(BLK_MQ_POLL_STATS_BKTS * sizeof(*poll_stat), >> + GFP_ATOMIC); > > Why not kcalloc()? Sure, can do. -- Jens Axboe
On 11/23/21 9:21 AM, Johannes Thumshirn wrote: > On 23/11/2021 17:18, Jens Axboe wrote: >> + poll_stat = kzalloc(BLK_MQ_POLL_STATS_BKTS * sizeof(*poll_stat), >> + GFP_ATOMIC); > > Why not kcalloc()? Sure, can do. -- Jens Axboe