Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Aug 2016 15:57:40 +0530
From:      Akshay Jaggi <jaggi@freebsd.org>
To:        =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= <royger@freebsd.org>,  freebsd-xen@freebsd.org
Subject:   Event Channel notification issue - Gntdev device
Message-ID:  <CAAeUNV=NNtqWwOk6V%2BE2LCrGy6aGxTPfLvPESKz200DpMSG6_A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I've been working on unmap notifications for the grant table user space
device (check progress: https://reviews.freebsd.org/D7293).

I've added and tested unmap_clear_byte notification and unmap_send_event
notification is left.

I was implementing the unmap_send_notify on event-channel, but I am stuck.
Basically, linux grabs a reference to the event-channel port, in case it is
deallocated, so that it can still send a notify. I could not find such a
reference-grabbing mechanism for event channel in FreeBSD. What should I do
now?
Should I add notify, adding the constraint that you cannot deallocate your
reference to that port till the notify is sent (ie, after an unmap).

Regards,
Akshay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAeUNV=NNtqWwOk6V%2BE2LCrGy6aGxTPfLvPESKz200DpMSG6_A>