Re: [PATCH v4] Drivers: hv: vmbus: Expose monitor data only when monitor pages are used

2019-03-03 Thread Greg KH
On Sun, Mar 03, 2019 at 04:11:28PM -0500, Kimberly Brown wrote: > On Sun, Mar 03, 2019 at 09:05:43AM +0100, Greg KH wrote: > > On Fri, Mar 01, 2019 at 02:18:24PM -0500, Kimberly Brown wrote: > > > +/* > > > + * Channel-level attribute_group callback function. Returns the > > > permission for > >

Re: [PATCH v4] Drivers: hv: vmbus: Expose monitor data only when monitor pages are used

2019-03-03 Thread Kimberly Brown
On Sat, Mar 02, 2019 at 06:39:30PM +, Michael Kelley wrote: > From: Kimberly Brown Sent: Friday, March 1, 2019 > 11:18 AM > > > > +/* > > + * Channel-level attribute_group callback function. Returns the permission > > for > > + * each attribute, and returns 0 if an attribute is not

Re: [PATCH v4] Drivers: hv: vmbus: Expose monitor data only when monitor pages are used

2019-03-03 Thread Kimberly Brown
On Sun, Mar 03, 2019 at 09:05:43AM +0100, Greg KH wrote: > On Fri, Mar 01, 2019 at 02:18:24PM -0500, Kimberly Brown wrote: > > +/* > > + * Channel-level attribute_group callback function. Returns the permission > > for > > + * each attribute, and returns 0 if an attribute is not visible. > > + */

Re: [PATCH v4] Drivers: hv: vmbus: Expose monitor data only when monitor pages are used

2019-03-03 Thread Greg KH
On Fri, Mar 01, 2019 at 02:18:24PM -0500, Kimberly Brown wrote: > +/* > + * Channel-level attribute_group callback function. Returns the permission > for > + * each attribute, and returns 0 if an attribute is not visible. > + */ > +static umode_t vmbus_chan_attr_is_visible(struct kobject *kobj, >

RE: [PATCH v4] Drivers: hv: vmbus: Expose monitor data only when monitor pages are used

2019-03-02 Thread Michael Kelley
From: Kimberly Brown Sent: Friday, March 1, 2019 11:18 AM > > +/* > + * Channel-level attribute_group callback function. Returns the permission > for > + * each attribute, and returns 0 if an attribute is not visible. > + */ > +static umode_t vmbus_chan_attr_is_visible(struct kobject *kobj, >

[PATCH v4] Drivers: hv: vmbus: Expose monitor data only when monitor pages are used

2019-03-01 Thread Kimberly Brown
There are two methods for signaling the host: the monitor page mechanism and hypercalls. The monitor page mechanism is used by performance critical channels (storage, networking, etc.) because it provides improved throughput. However, latency is increased. Monitor pages are allocated to these