mbox series

[v3,0/2] xmalloc patches

Message ID 20190705144855.15259-1-paul.durrant@citrix.com (mailing list archive)
Headers show
Series xmalloc patches | expand

Message

Paul Durrant July 5, 2019, 2:48 p.m. UTC
These are the remaining patches to xmalloc_tlsf.c that stem from debugging
the problem that led to commit 56ad6265 "x86/msi: fix loop termination
condition in pci_msi_conf_write_intercept()".

Paul Durrant (2):
  xmalloc: remove struct xmem_pool init_region
  xmalloc: add a Kconfig option to poison free pool memory

 xen/Kconfig.debug         |  7 ++++++
 xen/common/string.c       | 20 +++++++++++++++++
 xen/common/xmalloc_tlsf.c | 46 ++++++++++++++-------------------------
 xen/include/xen/string.h  |  2 ++
 xen/include/xen/xmalloc.h |  2 --
 5 files changed, 45 insertions(+), 32 deletions(-)
 ---
 v3:
  - Extra note on patch #1 commit comment
  - Couple of fixes to patch #2
  
 v2:
  - Patch #1 of v1 of the series already commmitted, so dropped
  - New patch #1 (old patch #2) now removes the init_region

Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Julien Grall <julien.grall@arm.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Tim Deegan <tim@xen.org>
Cc: Wei Liu <wl@xen.org>