On Tue, 2009-10-20 at 13:44 +0200, Jan Kiszka wrote:
> Philippe Gerum wrote:
> > On Mon, 2009-10-19 at 21:09 +0200, Jan Kiszka wrote:
> >> Gilles Chanteperdrix wrote:
> >>> Jan Kiszka wrote:
> @@ -234,12 +239,65 @@ int xnheap_init(xnheap_t *heap,
>
> appendq(&heap->extents
Philippe Gerum wrote:
> On Mon, 2009-10-19 at 21:09 +0200, Jan Kiszka wrote:
>> Gilles Chanteperdrix wrote:
>>> Jan Kiszka wrote:
@@ -234,12 +239,65 @@ int xnheap_init(xnheap_t *heap,
appendq(&heap->extents, &extent->link);
+ vsnprintf(heap->name, sizeof(heap->name)
On Mon, 2009-10-19 at 21:09 +0200, Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
> > Jan Kiszka wrote:
> >> @@ -234,12 +239,65 @@ int xnheap_init(xnheap_t *heap,
> >>
> >>appendq(&heap->extents, &extent->link);
> >>
> >> + vsnprintf(heap->name, sizeof(heap->name), name, args);
> >> +
> >
Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> @@ -234,12 +239,65 @@ int xnheap_init(xnheap_t *heap,
>>
>> appendq(&heap->extents, &extent->link);
>>
>> +vsnprintf(heap->name, sizeof(heap->name), name, args);
>> +
>> +spin_lock(&heapq_lock);
>> +appendq(&heapq, &heap->stat_
Jan Kiszka wrote:
> @@ -234,12 +239,65 @@ int xnheap_init(xnheap_t *heap,
>
> appendq(&heap->extents, &extent->link);
>
> + vsnprintf(heap->name, sizeof(heap->name), name, args);
> +
> + spin_lock(&heapq_lock);
> + appendq(&heapq, &heap->stat_link);
> + spin_unlock(&heapq_