Re: [Xenomai-core] [PATCH] fix xnheap_alloc rounding

2006-07-15 Thread Philippe Gerum
On Sat, 2006-07-15 at 10:07 +0200, Jan Kiszka wrote: > Philippe Gerum wrote: > > On Tue, 2006-07-11 at 16:02 +0200, Jan Kiszka wrote: > >> Hi, > >> > >> playing a stupid rt_heap user (actually I didn't just play this...), I > >> stumbled over this undocumented oddity: > >> > >> rt_heap_create(&heap

Re: [Xenomai-core] [PATCH] fix xnheap_alloc rounding

2006-07-15 Thread Jan Kiszka
Philippe Gerum wrote: > On Tue, 2006-07-11 at 16:02 +0200, Jan Kiszka wrote: >> Hi, >> >> playing a stupid rt_heap user (actually I didn't just play this...), I >> stumbled over this undocumented oddity: >> >> rt_heap_create(&heap, name, 1, H_PRIO|H_MAPPABLE); >> rt_heap_alloc(&heap, 1, TM_

Re: [Xenomai-core] [PATCH] fix xnheap_alloc rounding

2006-07-14 Thread Philippe Gerum
On Tue, 2006-07-11 at 16:02 +0200, Jan Kiszka wrote: > Hi, > > playing a stupid rt_heap user (actually I didn't just play this...), I > stumbled over this undocumented oddity: > > rt_heap_create(&heap, name, 1, H_PRIO|H_MAPPABLE); > rt_heap_alloc(&heap, 1, TM_NONBLOCK, &ptr); > > Creatio

Re: [Xenomai-core] [PATCH] fix xnheap_alloc rounding

2006-07-12 Thread Jan Kiszka
Gilles Chanteperdrix wrote: > Jan Kiszka wrote: > > Hi, > > > > playing a stupid rt_heap user (actually I didn't just play this...), I > > stumbled over this undocumented oddity: > > > > rt_heap_create(&heap, name, 1, H_PRIO|H_MAPPABLE); > > rt_heap_alloc(&heap, 1, TM_NONBLOCK, &pt

Re: [Xenomai-core] [PATCH] fix xnheap_alloc rounding

2006-07-12 Thread Gilles Chanteperdrix
Jan Kiszka wrote: > Hi, > > playing a stupid rt_heap user (actually I didn't just play this...), I > stumbled over this undocumented oddity: > > rt_heap_create(&heap, name, 1, H_PRIO|H_MAPPABLE); > rt_heap_alloc(&heap, 1, TM_NONBLOCK, &ptr); > > Creation is successful, allocatio