> One problem here is that you might end up with a weightless
> process having grabbed a superblock lock, after which a
> normal priority CPU hog kicks in and starves the weightless
> process.
---
One way would be to set a flag "I'm holding a lock" and when
it releases the lock(s), deschedule it?
> This makes little sense. If the system doesn't page out
> the least used page in the system, the disks will be more
> busy on page faults than they need to be, taking away IO
> bandwidth from more important processes ;)
---
Strictly speaking, true, probably nothing to make an exception for.
-l
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/