convert dc to using krefs for object reference counts

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

 



On 2017-10-02 10:38 PM, Dave Airlie wrote:
> This series might be a bit of a too big step :-)
> 

Should be okay since ref counts are pretty self-contained.

> So in the kernel we use krefs for reference counts for lots of good
> reasons, the main one, is no bugs with roll your own atomic reference
> counting for structs, which lots of this code is.
> 
> I've ported all the structs I could find using hand rolled atomic
> reference counters to use krefs.
> 

I'd still echo Christian's nitpick but knowing the state of DC code
style this series is
Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> Dave.
> 
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> 


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

  Powered by Linux