Commit db7b337
virtio-mem: prioritize unplug from ZONE_MOVABLE in Big Block Mode
Let's handle unplug in Big Block Mode similar to Sub Block Mode --
prioritize memory blocks onlined to ZONE_MOVABLE.
We won't care further about big blocks with mixed zones, as it's
rather a corner case that won't matter in practice.
Signed-off-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20210602185720.31821-8-david@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>1 parent c6bc142 commit db7b337
1 file changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2121 | 2121 | | |
2122 | 2122 | | |
2123 | 2123 | | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
2124 | 2147 | | |
2125 | 2148 | | |
2126 | 2149 | | |
| |||
2134 | 2157 | | |
2135 | 2158 | | |
2136 | 2159 | | |
2137 | | - | |
| 2160 | + | |
2138 | 2161 | | |
2139 | 2162 | | |
2140 | 2163 | | |
| |||
2144 | 2167 | | |
2145 | 2168 | | |
2146 | 2169 | | |
| 2170 | + | |
| 2171 | + | |
2147 | 2172 | | |
2148 | 2173 | | |
2149 | 2174 | | |
| |||
0 commit comments