Re: [PATCH for-4.17 v3 15/15] tools/ocaml/libs/xc: fix use of uninitialized memory in shadow_allocation_get

2022-11-09 Thread Edwin Torok
On 8 Nov 2022, at 15:34, Edwin Török wrote: > > It has been noticed in 2013 that shadow allocation sometimes returns the > wrong value, which got worked around by adding a limit to the shadow > multiplier of 1000 and ignoring the value from Xen in that case > to avoid a shadow multiplier causing

[PATCH for-4.17 v3 15/15] tools/ocaml/libs/xc: fix use of uninitialized memory in shadow_allocation_get

2022-11-08 Thread Edwin Török
It has been noticed in 2013 that shadow allocation sometimes returns the wrong value, which got worked around by adding a limit to the shadow multiplier of 1000 and ignoring the value from Xen in that case to avoid a shadow multiplier causing a VM to request 6PB of memory for example: https://githu