Skip to content

hv_balloon: fixes for num_pages_onlined accounting and misc improvements

Vitaly Kuznetsov lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/24 patches 0 repliesNew
  2. v1 posting 1/24 patches 3 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hv_balloon: fix printk logleveldrivers/hv/hv_balloon.c+6 -60 replies
2/4hv_balloon: simplify hv_online_page()/hv_page_online_one()drivers/hv/hv_balloon.c+5 -220 replies
3/4hv_balloon: fix bugs in num_pages_onlined accountingdrivers/hv/hv_balloon.c+69 -130 replies
4/4hv_balloon: trace post_statusdrivers/hv/Makefile drivers/hv/hv_balloon.c drivers/hv/hv_trace_balloon.h+55 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RESEND 0/4] hv_balloon: fixes for num_pages_onlined accounting and misc improvements

I just noticed that this series got lost; the initial submission was on Nov, 8 but nothing happened after. Resending.

Original description:

While doing routing code review I noticed that commit 6df8d9aaf3af ("Drivers: hv: balloon: Correctly update onlined page count") introduced an issue with num_pages_onlined accounting on memory offlining. Deeper look showed that the accounting was always buggy. This is fixed in PATCH3. PATCHes 1 and 2 are preparatory cleanups, PATCH4 adds a tracepoint to post_status so it's now possible to see what's being sent to the host and where the data comes from.

Vitaly Kuznetsov (4):
hv_balloon: fix printk loglevel
hv_balloon: simplify hv_online_page()/hv_page_online_one()
hv_balloon: fix bugs in num_pages_onlined accounting
hv_balloon: trace post_status

 drivers/hv/Makefile           |   1 +
 drivers/hv/hv_balloon.c       | 121 +++++++++++++++++++++++++++++-------------
 drivers/hv/hv_trace_balloon.h |  48 +++++++++++++++++
 3 files changed, 132 insertions(+), 38 deletions(-)
 create mode 100644 drivers/hv/hv_trace_balloon.h
Signature · 6 lines
2.14.3

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel