Skip to content

zram: use statically allocated compression algorithm names#598

Open
blktests-ci[bot] wants to merge 1 commit intolinus-master_basefrom
series/1058375=>linus-master
Open

zram: use statically allocated compression algorithm names#598
blktests-ci[bot] wants to merge 1 commit intolinus-master_basefrom
series/1058375=>linus-master

Conversation

@blktests-ci
Copy link

@blktests-ci blktests-ci bot commented Feb 26, 2026

Pull request for series with
subject: zram: use statically allocated compression algorithm names
version: 2
url: https://patchwork.kernel.org/project/linux-block/list/?series=1058375

@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 26, 2026

Upstream branch: 7dff99b
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 27, 2026

Upstream branch: a75cb86
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from 1d5fefd to c696d3f Compare February 27, 2026 16:34
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 14f6b99 to 856dc37 Compare February 27, 2026 22:07
@blktests-ci
Copy link
Author

blktests-ci bot commented Feb 27, 2026

Upstream branch: 4d349ee
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from c696d3f to 80b7cb7 Compare February 27, 2026 22:13
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 856dc37 to 40967f0 Compare March 2, 2026 09:22
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 2, 2026

Upstream branch: 11439c4
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from 80b7cb7 to 6496d88 Compare March 2, 2026 09:28
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 40967f0 to d4e9bad Compare March 2, 2026 23:54
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 3, 2026

Upstream branch: af4e9ef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from 6496d88 to cbbce75 Compare March 3, 2026 00:01
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch 2 times, most recently from ecd10e2 to d0e1bed Compare March 4, 2026 07:45
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: af4e9ef
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from cbbce75 to e652564 Compare March 4, 2026 07:56
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from d0e1bed to 6b51c57 Compare March 4, 2026 09:34
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: 0031c06
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from e652564 to 7d89137 Compare March 4, 2026 09:40
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 6b51c57 to 78036b2 Compare March 4, 2026 19:57
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 4, 2026

Upstream branch: ecc64d2
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from 7d89137 to 5823dfd Compare March 4, 2026 20:02
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 78036b2 to bbb3394 Compare March 5, 2026 12:20
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: c107785
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from 5823dfd to bf8a536 Compare March 5, 2026 12:26
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from bbb3394 to 901a429 Compare March 5, 2026 21:37
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 5, 2026

Upstream branch: 5ee8dbf
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from bf8a536 to 07dbacb Compare March 5, 2026 21:43
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 901a429 to 1f19ba6 Compare March 10, 2026 06:29
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 10, 2026

Upstream branch: 1f318b9
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from 07dbacb to 52508ac Compare March 10, 2026 06:38
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from 1f19ba6 to e79276a Compare March 11, 2026 08:02
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 11, 2026

Upstream branch: None
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from 52508ac to cd466e7 Compare March 11, 2026 08:13
@blktests-ci blktests-ci bot force-pushed the linus-master_base branch from e79276a to 0dd9afc Compare March 12, 2026 01:40
Currently, zram dynamically allocates memory for compressor algorithm names
when they are set by the user. This requires careful memory management,
including explicit `kfree` calls and special handling to avoid freeing
statically defined default compressor names.

This patch refactors the way zram handles compression algorithm names.
Instead of storing dynamically allocated copies, `zram->comp_algs` will now
store pointers directly to the static name strings defined within the
`zcomp_ops` backend structures, thereby removing the need for conditional
`kfree` calls.

Signed-off-by: gao xu <gaoxu2@honor.com>
@blktests-ci
Copy link
Author

blktests-ci bot commented Mar 12, 2026

Upstream branch: 80234b5
series: https://patchwork.kernel.org/project/linux-block/list/?series=1058375
version: 2

@blktests-ci blktests-ci bot force-pushed the series/1058375=>linus-master branch from cd466e7 to 9674247 Compare March 12, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants