[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141117165348.GA19712@suse.de>
Date: Mon, 17 Nov 2014 17:53:48 +0100
From: Joerg Roedel <jroedel@...e.de>
To: Jesse Barnes <jbarnes@...tuousgeek.org>
Cc: Oded Gabbay <oded.gabbay@....com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] mm: export find_extend_vma and handle_mm_fault for
driver use
On Wed, Nov 12, 2014 at 02:07:41PM -0800, Jesse Barnes wrote:
> I wonder if we need a new "device_task_struct" or
> "coprocessor_task_struct" or something to wrap some simple stuff on
> non-CPU devices. They could be sub-classed by drivers that needed
> additional driver specific data.
Yes, I think something like a device_task_struct may be needed at some
point. It could be used in some generic code for task scheduling and
management on the devices too. The KFD driver already implements a
scheduler and stuff, maybe some of this code can be generalized to be
useable by other drivers and a common userspace interface (at least to
some degree).
Joerg
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists