diff options
| author | 2025-08-11 14:56:28 +0800 | |
|---|---|---|
| committer | 2025-09-01 08:37:29 -0600 | |
| commit | 2a0614522885b136e9e650791c794dd49abb5b31 (patch) | |
| tree | 90c19cca1c0ecda19fa69f9ec25ed7e770922259 /scripts/basic/git:/ssh: | |
| parent | blk-mq: check kobject state_in_sysfs before deleting in blk_mq_unregister_hctx (diff) | |
| download | wireguard-linux-2a0614522885b136e9e650791c794dd49abb5b31.tar.xz wireguard-linux-2a0614522885b136e9e650791c794dd49abb5b31.zip | |
brd: use page reference to protect page lifetime
As discussed [1], hold rcu for copying data from/to page is too heavy,
it's better to protect page with rcu around for page lookup and then
grab a reference to prevent page to be freed by discard.
[1] https://lore.kernel.org/all/eb41cab3-5946-4fe3-a1be-843dd6fca159@kernel.dk/
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20250811065628.1829339-1-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/basic/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
