[lkml]   [2019]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 1/2] vfio-mdev/mtty: Simplify interrupt generation
On Thu, Aug 08, 2019 at 09:12:54AM -0500, Parav Pandit wrote:
> While generating interrupt, mdev_state is already available for which
> interrupt is generated.
> Instead of doing indirect way from state->device->uuid-> to searching
> state linearly in linked list on every interrupt generation,
> directly use the available state.
> Hence, simplify the code to use mdev_state and remove unused helper
> function with that.
> Reviewed-by: Cornelia Huck <>
> Signed-off-by: Parav Pandit <>

Looks good, the old code is rather backwards and a bad example to

Reviewed-by: Christoph Hellwig <>

 \ /
  Last update: 2019-08-13 18:40    [W:0.103 / U:0.324 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site