[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Help with making stuff compile on non-Linux
From:       Sebastian =?utf-8?q?Tr=C3=BCg?= <strueg () mandriva ! com>
Date:       2008-07-23 15:10:10
Message-ID: 200807231710.10683.strueg () mandriva ! com
[Download RAW message or body]

On Wednesday 23 July 2008 15:27:42 Dirk Mueller wrote:
> On Wednesday 23 July 2008, Sebastian TrĂ¼g wrote:
> > > However, if that happens, the application will need code to pace
> > > itself.
> >
> > So, ionice was introduced in 2.6.13 then?
>
> Even worse, it is for root only until 2.6.26. In any case I don't think
> this code should be compiled for anything != linux. for other platforms,
> seting nice'ness is enough.

that should be fairly easy. Isnt's checking for the definition of 
SYS_ionice_set already enough?

> This also (almost) applies to linux: if your process has a low cpu
> nice'ness, it is also degraded to Best-effort/low priority. you can't set
> idle priority however via nice, thats why you need ionice.
>
> in any case it should use some sleep()'s at good places anyway.

But where? What are good places to sleep in the file indexer? Between files? 
That does not really help I think....

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic