This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Number of Scheduler Priority Level -
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Alok Singh" <aloks at broadcom dot com>
- Cc: <ecos-discuss at ecos dot sourceware dot org>
- Date: 01 May 2007 10:05:53 +0100
- Subject: Re: [ECOS] Number of Scheduler Priority Level -
- References: <395D1D85A454F14CB58638B1AC60D7093EC13E@server.imagine-com.local> <463603F0.1070808@mlbassoc.com> <FE7FB54DCB7C6949A1D3F9FF22DA6C1353F9D6@lvl7in-mail01.lvl7.com>
"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