zram: Replace bit spinlocks with a spinlock_t.
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 4 repliesApplied
- v33 patches 1 replySuperseded
- v23 patches 7 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 3 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | zram: Replace bit spinlocks with a spinlock_t.drivers/ drivers/ | +15 | 0 replies | |
| 2/3 | zram: Remove ZRAM_LOCKdrivers/ drivers/ | +3 | 0 replies | |
| 3/3 | zram: Shrink zram_table_entry::flags.drivers/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Sergey Senozhatsky | Jens Axboe |
|---|---|---|
| Series | R-b | |
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/3] zram: Replace bit spinlocks with a spinlock_t.
Hi,
this is follow up to the previous posting, making the lock unconditionally. The original problem with bit spinlock is that it disabled preemption and the following operations (within the atomic section) perform operations that may sleep on PREEMPT_RT. Mike expressed that he would like to keep using zram on PREEMPT_RT.
v3…v4: https://lore.kernel.org/linux-block/[email protected]
- Inline lock init into zram_meta_alloc().
v2…v3 https://lore.kernel.org/all/[email protected]/
- Do "size_t index" within the for loop.
v1…v2: https://lore.kernel.org/all/[email protected]/:
- Add the spinlock_t unconditionally
- Remove ZRAM_LOCK since it has no user after the lock has been added.
- Make zram_table_entry::flags an integer so struct zram_table_entry does not gain additional weight.
Sebastian