mbox series

[v2,0/2] xmalloc patches

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

Message

Paul Durrant July 5, 2019, 9:02 a.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 | 44 +++++++++++++--------------------------
 xen/include/xen/string.h  |  2 ++
 xen/include/xen/xmalloc.h |  2 --
 5 files changed, 43 insertions(+), 32 deletions(-)
---
 v2:
  - Patch #1 of v1 of the series already commmitted, so dropped
  - 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>

Comments

Paul Durrant July 5, 2019, 9:04 a.m. UTC | #1
> -----Original Message-----
> From: Paul Durrant <paul.durrant@citrix.com>
> Sent: 05 July 2019 10:03
> To: xen-devel@lists.xenproject.org
> Cc: Paul Durrant <Paul.Durrant@citrix.com>; Andrew Cooper <Andrew.Cooper3@citrix.com>; George Dunlap
> <George.Dunlap@citrix.com>; Ian Jackson <Ian.Jackson@citrix.com>; Jan Beulich <jbeulich@suse.com>;
> Julien Grall <julien.grall@arm.com>; Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>; Stefano
> Stabellini <sstabellini@kernel.org>; Tim (Xen.org) <tim@xen.org>; Wei Liu <wl@xen.org>
> Subject: [PATCH v2 0/2] xmalloc patches
> 
> 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 | 44 +++++++++++++--------------------------
>  xen/include/xen/string.h  |  2 ++
>  xen/include/xen/xmalloc.h |  2 --
>  5 files changed, 43 insertions(+), 32 deletions(-)
> ---
>  v2:
>   - Patch #1 of v1 of the series already commmitted, so dropped
>   - Patch #2 now removes the init_region

^ For clarity that's old patch #2, new patch #1.

  Paul

> 
> 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>
> --
> 2.20.1.2.gb21ebb671