This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Number of Scheduler Priority Level -


"Alok Singh" <aloks@broadcom.com> writes:

> Hi, 
>     I'm using latest eCos Code base. By default, the number of priority
> levels used by eCos is 32(1- 32). I tried to change it to some bigger
> number(say 64)by configuring the option CYGNUM_KERNEL_SCHED_PRIORITIES.
> But it throws a conflict saying that 64 is not a legal value. Does it
> mean that this option is un-usable as of now, and we have to use the
> default priority levels only?

It does work, but the maximum value is 32, you can always set smaller
values. The intention was to accommodate systems that didn't need so
many priorities and could save some space in the data structures.

Going beyond 32 requires a reorganization of the way in which the
priority bitmaps are organized. I produced a patch some time ago which
should still be in the mail list archives.


-- 
Nick Garnett                                     eCos Kernel Architect
eCosCentric Limited     http://www.eCosCentric.com/   The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.    Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]