From: David Vrabel <david.vrabel@citrix.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: xen-devel@lists.xensource.com, roger.pau@citrix.com,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [GIT PULL] (xen) stable/for-jens-3.10 xenwatch: page allocation failure: order:7, mode:0x10c0d0
Date: Thu, 25 Apr 2013 11:04:59 +0100 [thread overview]
Message-ID: <5178FFCB.5060305@citrix.com> (raw)
In-Reply-To: <1094538380.20130424201637@eikelenboom.it>
On 24/04/13 19:16, Sander Eikelenboom wrote:
>
> Hi Konrad / Roger,
>
> I tried this pull on top of latest Linus latest linux-3.9 tree, but
> although it seems to boot and work fine at first, i seem to get trouble
> after running for about a day.
> Without this pull it runs fine for several days.
>
> Trying to start a new guest I ended up with the splat below. In the
> output of xl-dmesg i seem to see more of these than before:
> (XEN) [2013-04-24 14:37:40] grant_table.c:1250:d1 Expanding dom (1)
> grant table from (9) to (10) frames
> [18496.013743] xenwatch: page allocation failure: order:7, mode:0x10c0d0
I think this is the allocation of blkif->pending_reqs in
xen_blkif_alloc() which is now enormous requiring a 512 KiB contiguous
allocation.
All the arrays in struct pending_req need to be turned into individual
allocations so no individual allocation is larger than a page.
David
> [18496.031948] Pid: 54, comm: xenwatch Not tainted 3.9.0-rc8-20130424-jens+ #1
> [18496.049897] Call Trace:
> [18496.067674] [<ffffffff81100c51>] warn_alloc_failed+0xf1/0x140
> [18496.085453] [<ffffffff810b25ed>] ? trace_hardirqs_on+0xd/0x10
> [18496.102951] [<ffffffff810bdb24>] ? on_each_cpu_mask+0x94/0xd0
> [18496.120270] [<ffffffff811028af>] __alloc_pages_nodemask+0x69f/0x960
> [18496.137306] [<ffffffff8113a161>] alloc_pages_current+0xb1/0x160
> [18496.154051] [<ffffffff81100679>] __get_free_pages+0x9/0x40
> [18496.170579] [<ffffffff81142af4>] __kmalloc+0x134/0x160
> [18496.186921] [<ffffffff815832d0>] xen_blkbk_probe+0x170/0x2f0
> [18496.202963] [<ffffffff81474ce7>] xenbus_dev_probe+0x77/0x130
> [18496.218714] [<ffffffff8156a390>] ? __driver_attach+0xa0/0xa0
> [18496.234237] [<ffffffff8156a151>] driver_probe_device+0x81/0x220
> [18496.249605] [<ffffffff8198198c>] ? klist_next+0x8c/0x110
> [18496.264681] [<ffffffff8156a390>] ? __driver_attach+0xa0/0xa0
> [18496.279500] [<ffffffff8156a3db>] __device_attach+0x4b/0x50
> [18496.294138] [<ffffffff815684e8>] bus_for_each_drv+0x68/0x90
> [18496.308553] [<ffffffff8156a0c9>] device_attach+0x89/0x90
> [18496.322694] [<ffffffff81569258>] bus_probe_device+0xa8/0xd0
> [18496.336640] [<ffffffff81567c80>] device_add+0x650/0x720
> [18496.350209] [<ffffffff81573103>] ? device_pm_sleep_init+0x43/0x70
> [18496.363602] [<ffffffff81567d69>] device_register+0x19/0x20
> [18496.376721] [<ffffffff8147495b>] xenbus_probe_node+0x14b/0x160
> [18496.389611] [<ffffffff815685b4>] ? bus_for_each_dev+0xa4/0xb0
> [18496.402298] [<ffffffff81474b2c>] xenbus_dev_changed+0x1bc/0x1c0
> [18496.414732] [<ffffffff810b67f7>] ? lock_release+0x117/0x260
> [18496.426904] [<ffffffff81474f66>] backend_changed+0x16/0x20
> [18496.438835] [<ffffffff81472f5e>] xenwatch_thread+0x4e/0x150
> [18496.450579] [<ffffffff8108abb0>] ? wake_up_bit+0x40/0x40
> [18496.462048] [<ffffffff81472f10>] ? xs_watch+0x60/0x60
> [18496.473286] [<ffffffff8108a546>] kthread+0xd6/0xe0
> [18496.484235] [<ffffffff8108a470>] ? __init_kthread_worker+0x70/0x70
> [18496.494987] [<ffffffff819979bc>] ret_from_fork+0x7c/0xb0
> [18496.505560] [<ffffffff8108a470>] ? __init_kthread_worker+0x70/0x70
next prev parent reply other threads:[~2013-04-25 10:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 14:44 [GIT PULL] (xen) stable/for-jens-3.10 Konrad Rzeszutek Wilk
2013-04-24 18:16 ` [GIT PULL] (xen) stable/for-jens-3.10 xenwatch: page allocation failure: order:7, mode:0x10c0d0 Sander Eikelenboom
2013-04-25 8:35 ` Roger Pau Monné
2013-04-25 8:40 ` Sander Eikelenboom
2013-04-25 8:43 ` Roger Pau Monné
2013-04-25 12:32 ` Sander Eikelenboom
2013-04-25 12:39 ` Roger Pau Monné
2013-04-25 15:52 ` Roger Pau Monné
2013-04-25 16:38 ` David Vrabel
2013-04-25 10:04 ` David Vrabel [this message]
2013-04-29 15:46 ` [Xen-devel] " Konrad Rzeszutek Wilk
2013-04-29 16:05 ` Sander Eikelenboom
2013-04-29 16:05 ` Sander Eikelenboom
2013-05-04 7:34 ` [Xen-devel] " Sander Eikelenboom
2013-05-04 7:34 ` Sander Eikelenboom
2013-05-06 9:00 ` Roger Pau Monné
2013-04-29 19:14 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5178FFCB.5060305@citrix.com \
--to=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=linux@eikelenboom.it \
--cc=roger.pau@citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.