Re: [PATCH 1/2] Drivers: hv: vmbus: Cleanup hv_post_message()

2014-08-29 Thread Sitsofe Wheeler
On Thu, Aug 28, 2014 at 06:29:52PM -0700, K. Y. Srinivasan wrote: > Minimize failures in this function by pre-allocating the buffer > for posting messages. The hypercall for posting the message can fail > for a number of reasons: > > > Cc: Is this patch useful for all longterm (2.6.32.63, 3.2.

[PATCH 1/2] Drivers: hv: vmbus: Cleanup hv_post_message()

2014-08-28 Thread K. Y. Srinivasan
Minimize failures in this function by pre-allocating the buffer for posting messages. The hypercall for posting the message can fail for a number of reasons: 1. Transient resource related issues 2. Buffer alignment 3. Buffer cannot span a page boundry We address issues 2 a