[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YuE5BYqgDrSlw8k7@kroah.com>
Date: Wed, 27 Jul 2022 15:09:25 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Jiho Chu <jiho.chu@...sung.com>
Cc: arnd@...db.de, linux-kernel@...r.kernel.org,
yelini.jeong@...sung.com, myungjoo.ham@...sung.com
Subject: Re: [PATCH 4/9] trinity: Add schduler module
On Mon, Jul 25, 2022 at 03:53:03PM +0900, Jiho Chu wrote:
> This patch includes NPU scheduler interface.
>
> Tasks can be pushed to the NPU in order by the scheduler. The default
> schduling algorithm is provided using Priority policy.
> The scheduler waits request from the user. When the requests are
> invoked, it submits each request to the NPU by the priority, and waits
> until complete interrupt arrives. The priority is calculated with
> remained time to requested timeout.
>
> Thus the scheduler algorithm may be added more in the later, it
> provides an interface which can support various schedulers.
Please do not add interfaces that you do not use at all. Just make it
simple for the first version and then, if you really need to add new
types of "schedulers" add them later on.
As it is, this is a whole layer of abstraction that is not needed and
can be removed.
thanks,
greg k-h
Powered by blists - more mailing lists