refcount_t and various related bits
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | refcount_t: A special purpose refcount typeinclude/ lib/ | +307 | 2 replies | |
| 2/5 | kref: Implement using refcount_tinclude/ | +11 | 1 reply | |
| 3/5 | x86: Implement __WARN using UD2arch/ arch/ arch/ | +56 | 0 replies | |
| 4/5 | atomic: Introduce atomic_try_cmpxchg()arch/ arch/ include/ | +97 | 3 replies | |
| 5/5 | refcount: Use atomic_try_cmpxchg()include/ | +12 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Greg Kroah-Hartman |
|---|---|
| 1/5 | |
| 2/5 | A-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] refcount_t and various related bits
Hi all,
Here is the refcount_t patch and some related bits that I hacked up the past few days while playing with it in order to make it generate less aweful code (on x86_64).
I think we can start by merging the refcount_t and kref patches, the rest can come later if so desired. New here is the Kconfig knob to turn warnings off -- it significantly reduces the generated code while still avoiding the UAF.
I added David Howells because both he and hpa have suggested something like try_cmpxchg() in the past.