Re: [Xen-devel] [PATCH v3] xmalloc: add support for checking the pool integrity

2014-12-10 Thread Jan Beulich
>>> On 10.12.14 at 13:13, wrote: > +#define xmem_pool_check_locked(pool) __xmem_pool_check_locked(__FILE__, > __LINE__, pool) > +static bool_t __xmem_pool_check_locked(const char *file, int line, const > struct xmem_pool *pool) Long lines. > +{ > +int i; unsigned int > +static bool_t

Re: [Xen-devel] [PATCH v3] xmalloc: add support for checking the pool integrity

2014-12-10 Thread Mihai Donțu
On Wed, 10 Dec 2014 14:13:58 +0200 Mihai Donțu wrote: > Implemented xmem_pool_check(), xmem_pool_check_locked() and > xmem_pool_check_unlocked() to verity the integrity of the TLSF matrix. > > Signed-off-by: Mihai Donțu > > --- > Changes since v2: > - print the name of the corrupted pool > - a

[Xen-devel] [PATCH v3] xmalloc: add support for checking the pool integrity

2014-12-10 Thread Mihai Donțu
Implemented xmem_pool_check(), xmem_pool_check_locked() and xmem_pool_check_unlocked() to verity the integrity of the TLSF matrix. Signed-off-by: Mihai Donțu --- Changes since v2: - print the name of the corrupted pool - adjusted the messages to better fit within 80 columns - minor style chan