Interception for a resource based scheduler
From: selvakumar nagendran (kernelselva_at_yahoo.com)
Date: 12/31/04
- Previous message: Joseph D. Wagner: "Kernel 2.6.10 Can't Open Initial Console on FC3"
- In reply to: Arjan van de Ven: "Re: Bug_reply : Out of range ptr error in module indicates bug in slab.c"
- Next in thread: Arjan van de Ven: "Re: Interception for a resource based scheduler"
- Reply: Arjan van de Ven: "Re: Interception for a resource based scheduler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Dec 2004 22:51:36 -0800 (PST) To: Arjan van de Ven <arjan@infradead.org>
hi,
I am using these information for the scheduler I am
developing in Linux. The scheduler selects the next
process to run based on the resources needed so that a
high priority process will not starve for a semaphore
key, file lock etc that were acquired by a low
priority process. The user may change the file
descriptor only through syscalls. If I intercept them
and update the resource history that I am maintaining,
then will the information break?
Thanks,
selva
--- Arjan van de Ven <arjan@infradead.org> wrote:
> On Thu, 2004-12-30 at 04:13 -0800, selvakumar
> nagendran wrote:
> >
> > Thanks for ur help. The user will be changing
> > this using system calls like dup,dup2 etc. If I
> keep
> > track of all these modifications by intercepting
> all
> > those syscalls and use inode number for
> identifying
> > the structure uniquely, will it break?
>
> it sure is not a reliable method. The user can
> change the fd's YOU log.
> So your logging is inaccurate. That may or may not
> be a problem, it
> depends on what the application of this is.
>
>
>
__________________________________
Do you Yahoo!?
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Joseph D. Wagner: "Kernel 2.6.10 Can't Open Initial Console on FC3"
- In reply to: Arjan van de Ven: "Re: Bug_reply : Out of range ptr error in module indicates bug in slab.c"
- Next in thread: Arjan van de Ven: "Re: Interception for a resource based scheduler"
- Reply: Arjan van de Ven: "Re: Interception for a resource based scheduler"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|