diff options
author | David Hildenbrand <[email protected]> | 2020-11-12 14:38:12 +0100 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2020-12-18 16:14:27 -0500 |
commit | faa45ff4ce885af93a3233a408c5a74b2943226b (patch) | |
tree | bce7520db00f3ac28cd050d2e8833e44d10697cb /kernel/gcov/base.c | |
parent | 4ba50cd3355d742c8befbfe38dcbe559f2b0f758 (diff) |
virtio-mem: allow to force Big Block Mode (BBM) and set the big block size
Let's allow to force BBM, even if subblocks would be possible. Take care
of properly calculating the first big block id, because the start
address might no longer be aligned to the big block size.
Also, allow to manually configure the size of Big Blocks.
Reviewed-by: Wei Yang <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Jason Wang <[email protected]>
Cc: Pankaj Gupta <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Wei Yang <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'kernel/gcov/base.c')
0 files changed, 0 insertions, 0 deletions