Skip to content

block: partitions: replace __get_free_page() with kmalloc()#860

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

block: partitions: replace __get_free_page() with kmalloc()#860
blktests-ci[bot] wants to merge 1 commit into
linus-master_basefrom
series/1097842=>linus-master

Conversation

@blktests-ci
Copy link
Copy Markdown

@blktests-ci blktests-ci Bot commented May 20, 2026

Pull request for series with
subject: block: partitions: replace __get_free_page() with kmalloc()
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1097842

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 20, 2026

Upstream branch: 70eda68
series: https://patchwork.kernel.org/project/linux-block/list/?series=1097842
version: 1

@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 21, 2026

Upstream branch: 8bc67e4
series: https://patchwork.kernel.org/project/linux-block/list/?series=1097842
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1097842=>linus-master branch from b4a6550 to 1c752c7 Compare May 21, 2026 03:13
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from c1feb59 to ea833a1 Compare May 22, 2026 01:53
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 22, 2026

Upstream branch: 6779b50
series: https://patchwork.kernel.org/project/linux-block/list/?series=1097842
version: 1

@blktests-ci blktests-ci Bot force-pushed the series/1097842=>linus-master branch from 1c752c7 to c31e96a Compare May 22, 2026 02:12
@blktests-ci blktests-ci Bot force-pushed the linus-master_base branch from ea833a1 to 7af85d1 Compare May 23, 2026 06:11
@blktests-ci
Copy link
Copy Markdown
Author

blktests-ci Bot commented May 23, 2026

Upstream branch: 79bd2dd
series: https://patchwork.kernel.org/project/linux-block/list/?series=1097842
version: 1

check_partition() allocates a buffer to use as backing buffer for
seq_buf.

This buffer can be allocated with kmalloc() as there's nothing special
about it to go directly to the page allocator.

Replace use of __get_free_page() with kmalloc() and free_page() with
kfree().

Link: https://lore.kernel.org/all/635405e4-9423-4a25-a6e7-e03c8ea0bcbe@redhat.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
@blktests-ci blktests-ci Bot force-pushed the series/1097842=>linus-master branch from c31e96a to dc7b9c8 Compare May 23, 2026 06:34
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.

1 participant