linux-next: manual merge of the virtio tree with Linus' tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rusty,

Today's linux-next merge of the virtio tree got a conflict in
drivers/virtio/virtio_balloon.c between commit e22504296d4f
("virtio_balloon: introduce migration primitives to balloon pages") from
Linus' tree and commit 41395dfb3d35 ("virtio: Convert dev_printk
(KERN_<LEVEL> to dev_<level>(") from the virtio tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx

diff --cc drivers/virtio/virtio_balloon.c
index 2a70558,586395c..0000000
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@@ -133,16 -125,14 +133,15 @@@ static void fill_balloon(struct virtio_
  	/* We can only do one array worth at a time. */
  	num = min(num, ARRAY_SIZE(vb->pfns));
  
 +	mutex_lock(&vb->balloon_lock);
  	for (vb->num_pfns = 0; vb->num_pfns < num;
  	     vb->num_pfns += VIRTIO_BALLOON_PAGES_PER_PAGE) {
 -		struct page *page = alloc_page(GFP_HIGHUSER | __GFP_NORETRY |
 -					__GFP_NOMEMALLOC | __GFP_NOWARN);
 +		struct page *page = balloon_page_enqueue(vb_dev_info);
 +
  		if (!page) {
- 			if (printk_ratelimit())
- 				dev_printk(KERN_INFO, &vb->vdev->dev,
- 					   "Out of puff! Can't get %u pages\n",
- 					   VIRTIO_BALLOON_PAGES_PER_PAGE);
+ 			dev_info_ratelimited(&vb->vdev->dev,
 -					     "Out of puff! Can't get %zu pages\n",
 -					     num);
++					     "Out of puff! Can't get %u pages\n",
++					     VIRTIO_BALLOON_PAGES_PER_PAGE);
  			/* Sleep for at least 1/5 of a second before retry. */
  			msleep(200);
  			break;

Attachment: pgp64zk9ERkZB.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux