Re: [PATCH] stat: make free_clat_prio_stats() safe against NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 4 Feb 2022 00:17:49 +0000, Niklas Cassel wrote:
> From: Niklas Cassel <niklas.cassel@xxxxxxx>
> 
> The sfree() in free_clat_prio_stats() itself handles NULL, so the function
> already handles a struct thread_stat without any per priority stats.
> (Per priority stats are disabled on threads/thread_stats that we know will
> never be able to contain more than a single priority.)
> 
> [...]

Applied, thanks!

[1/1] stat: make free_clat_prio_stats() safe against NULL
      commit: e23aa8174d6a1242d81491ce30f10a8d5f9acb10

Best regards,
-- 
Jens Axboe





[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux