Displaying 20 results from an estimated 37 matches for "__alloc_pages_slowpath".
2017 Oct 11
0
[PATCH v16 3/5] virtio-balloon: VIRTIO_BALLOON_F_SG
...gt; __alloc_pages_may_oom()
>>> Fails to take oom_lock and loop forever
>> __alloc_pages_may_oom() uses mutex_trylock(&oom_lock).
> Yes. But this mutex_trylock(&oom_lock) is semantically mutex_lock(&oom_lock)
> because __alloc_pages_slowpath() will continue looping until
> mutex_trylock(&oom_lock) succeeds (or somebody releases memory).
>
>> I think the second __alloc_pages_may_oom() will not continue since the
>> first one is in progress.
> The second __alloc_pages_may_oom() will be called repeatedly because
&...
2013 Feb 26
0
Dom0 OOM, page allocation failure
...wap: 4095 24 4071
Error logs:
kernel: md127_raid6: page allocation failure: order:0, mode:0x200000
kernel: Pid: 623, comm: md127_raid6 Not tainted 3.7.8+ #7
kernel: Call Trace:
kernel: [<ffffffff81117a93>] warn_alloc_failed+0xf3/0x140
kernel: [<ffffffff8111aa90>] __alloc_pages_slowpath+0x4b0/0x7b0
kernel: [<ffffffff8111aa90>] ? __alloc_pages_slowpath+0x4b0/0x7b0
kernel: [<ffffffff8111afaa>] __alloc_pages_nodemask+0x21a/0x230
kernel: [<ffffffff8111afaa>] ? __alloc_pages_nodemask+0x21a/0x230
kernel: [<ffffffff8115c9d4>] kmem_getpages+0x64/0x190
kernel: [<...
2017 Oct 23
1
problems running a vol over IPoIB, and qemu off it?
...0008010 ffff880c1c6eb8a8 00000000553c90b1
[Mon Oct 23 16:43:32 2017] Call Trace:
[Mon Oct 23 16:43:32 2017]? [<ffffffff816a3db1>]
dump_stack+0x19/0x1b
[Mon Oct 23 16:43:32 2017]? [<ffffffff81188810>]
warn_alloc_failed+0x110/0x180
[Mon Oct 23 16:43:32 2017]? [<ffffffff8169fd8a>]
__alloc_pages_slowpath+0x6b6/0x724
[Mon Oct 23 16:43:32 2017]? [<ffffffff8118cd85>]
__alloc_pages_nodemask+0x405/0x420
[Mon Oct 23 16:43:32 2017]? [<ffffffff81030f8f>]
dma_generic_alloc_coherent+0x8f/0x140
[Mon Oct 23 16:43:32 2017]? [<ffffffff81065c0d>]
gart_alloc_coherent+0x2d/0x40
[Mon Oct 23 16:4...
2019 Dec 04
5
[PATCH] virtio-balloon: fix managed page counts when migrating pages between zones
...ndard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu4
[ 238.341121] Call Trace:
[ 238.341337] dump_stack+0x8f/0xd0
[ 238.341630] dump_header+0x61/0x5ea
[ 238.341942] oom_kill_process.cold+0xb/0x10
[ 238.342299] out_of_memory+0x24d/0x5a0
[ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
[ 238.343024] __alloc_pages_nodemask+0x391/0x410
[ 238.343407] pagecache_get_page+0xc3/0x3a0
[ 238.343757] filemap_fault+0x804/0xc30
[ 238.344083] ? ext4_filemap_fault+0x28/0x42
[ 238.344444] ext4_filemap_fault+0x30/0x42
[ 238.344789] __do_fault+0x37/0x1a0
[...
2019 Dec 04
5
[PATCH] virtio-balloon: fix managed page counts when migrating pages between zones
...ndard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu4
[ 238.341121] Call Trace:
[ 238.341337] dump_stack+0x8f/0xd0
[ 238.341630] dump_header+0x61/0x5ea
[ 238.341942] oom_kill_process.cold+0xb/0x10
[ 238.342299] out_of_memory+0x24d/0x5a0
[ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
[ 238.343024] __alloc_pages_nodemask+0x391/0x410
[ 238.343407] pagecache_get_page+0xc3/0x3a0
[ 238.343757] filemap_fault+0x804/0xc30
[ 238.344083] ? ext4_filemap_fault+0x28/0x42
[ 238.344444] ext4_filemap_fault+0x30/0x42
[ 238.344789] __do_fault+0x37/0x1a0
[...
2019 Dec 05
2
[PATCH v2] virtio-balloon: fix managed page counts when migrating pages between zones
...ndard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu4
[ 238.341121] Call Trace:
[ 238.341337] dump_stack+0x8f/0xd0
[ 238.341630] dump_header+0x61/0x5ea
[ 238.341942] oom_kill_process.cold+0xb/0x10
[ 238.342299] out_of_memory+0x24d/0x5a0
[ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
[ 238.343024] __alloc_pages_nodemask+0x391/0x410
[ 238.343407] pagecache_get_page+0xc3/0x3a0
[ 238.343757] filemap_fault+0x804/0xc30
[ 238.344083] ? ext4_filemap_fault+0x28/0x42
[ 238.344444] ext4_filemap_fault+0x30/0x42
[ 238.344789] __do_fault+0x37/0x1a0
[...
2019 Dec 05
2
[PATCH v2] virtio-balloon: fix managed page counts when migrating pages between zones
...ndard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu4
[ 238.341121] Call Trace:
[ 238.341337] dump_stack+0x8f/0xd0
[ 238.341630] dump_header+0x61/0x5ea
[ 238.341942] oom_kill_process.cold+0xb/0x10
[ 238.342299] out_of_memory+0x24d/0x5a0
[ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
[ 238.343024] __alloc_pages_nodemask+0x391/0x410
[ 238.343407] pagecache_get_page+0xc3/0x3a0
[ 238.343757] filemap_fault+0x804/0xc30
[ 238.344083] ? ext4_filemap_fault+0x28/0x42
[ 238.344444] ext4_filemap_fault+0x30/0x42
[ 238.344789] __do_fault+0x37/0x1a0
[...
2017 Oct 18
2
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...2 Not tainted 4.14.0-rc5+ #302
[ 19.532397] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 19.533285] Workqueue: events_freezable update_balloon_size_func [virtio_balloon]
[ 19.534143] Call Trace:
[ 19.535015] dump_stack+0x63/0x87
[ 19.535844] warn_alloc+0x114/0x1c0
[ 19.536667] __alloc_pages_slowpath+0x9a6/0xba7
[ 19.537491] ? sched_clock_cpu+0x11/0xb0
[ 19.538311] __alloc_pages_nodemask+0x26a/0x290
[ 19.539188] alloc_pages_current+0x6a/0xb0
[ 19.540004] balloon_page_enqueue+0x25/0xf0
[ 19.540818] update_balloon_size_func+0xe1/0x260 [virtio_balloon]
[ 19.541626] process_one_wo...
2017 Oct 18
2
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...2 Not tainted 4.14.0-rc5+ #302
[ 19.532397] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[ 19.533285] Workqueue: events_freezable update_balloon_size_func [virtio_balloon]
[ 19.534143] Call Trace:
[ 19.535015] dump_stack+0x63/0x87
[ 19.535844] warn_alloc+0x114/0x1c0
[ 19.536667] __alloc_pages_slowpath+0x9a6/0xba7
[ 19.537491] ? sched_clock_cpu+0x11/0xb0
[ 19.538311] __alloc_pages_nodemask+0x26a/0x290
[ 19.539188] alloc_pages_current+0x6a/0xb0
[ 19.540004] balloon_page_enqueue+0x25/0xf0
[ 19.540818] update_balloon_size_func+0xe1/0x260 [virtio_balloon]
[ 19.541626] process_one_wo...
2017 Oct 09
4
[PATCH v16 3/5] virtio-balloon: VIRTIO_BALLOON_F_SG
On Sat, Sep 30, 2017 at 12:05:52PM +0800, Wei Wang wrote:
> +static inline void xb_set_page(struct virtio_balloon *vb,
> + struct page *page,
> + unsigned long *pfn_min,
> + unsigned long *pfn_max)
> +{
> + unsigned long pfn = page_to_pfn(page);
> +
> + *pfn_min = min(pfn, *pfn_min);
> + *pfn_max = max(pfn, *pfn_max);
> +
2017 Oct 09
4
[PATCH v16 3/5] virtio-balloon: VIRTIO_BALLOON_F_SG
On Sat, Sep 30, 2017 at 12:05:52PM +0800, Wei Wang wrote:
> +static inline void xb_set_page(struct virtio_balloon *vb,
> + struct page *page,
> + unsigned long *pfn_min,
> + unsigned long *pfn_max)
> +{
> + unsigned long pfn = page_to_pfn(page);
> +
> + *pfn_min = min(pfn, *pfn_min);
> + *pfn_max = max(pfn, *pfn_max);
> +
2020 Apr 23
0
[PATCH 40/70] x86/sev-es: Setup per-cpu GHCBs for the runtime handler
...urns -ENOMEM when
> > alloc_pages() fails. Do you boot the guest with minal RAM assigned?
> >
> > Regards,
> >
> > Joerg
> >
>
> I just want to add some context around this. The call path that lead to the
> failure is like the following:
>
> __alloc_pages_slowpath
> __alloc_pages_nodemask
> alloc_pages_current
> alloc_pages
> split_large_page
> __change_page_attr
> __change_page_attr_set_clr
> __set_memory_enc_dec
> set_memory_decrypted
> sev_es_init_ghcbs
> trap_init -> before mm_init (in init/main.c)
> start...
2017 Oct 18
0
[PATCH] virtio: avoid possible OOM lockup at virtballoon_oom_notify()
...> [ 19.532397] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
> [ 19.533285] Workqueue: events_freezable update_balloon_size_func [virtio_balloon]
> [ 19.534143] Call Trace:
> [ 19.535015] dump_stack+0x63/0x87
> [ 19.535844] warn_alloc+0x114/0x1c0
> [ 19.536667] __alloc_pages_slowpath+0x9a6/0xba7
> [ 19.537491] ? sched_clock_cpu+0x11/0xb0
> [ 19.538311] __alloc_pages_nodemask+0x26a/0x290
> [ 19.539188] alloc_pages_current+0x6a/0xb0
> [ 19.540004] balloon_page_enqueue+0x25/0xf0
> [ 19.540818] update_balloon_size_func+0xe1/0x260 [virtio_balloon]
>...
2019 Dec 11
1
[PATCH v3] virtio-balloon: fix managed page counts when migrating pages between zones
...ndard PC (i440FX + PIIX, 1996), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu4
[ 238.341121] Call Trace:
[ 238.341337] dump_stack+0x8f/0xd0
[ 238.341630] dump_header+0x61/0x5ea
[ 238.341942] oom_kill_process.cold+0xb/0x10
[ 238.342299] out_of_memory+0x24d/0x5a0
[ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
[ 238.343024] __alloc_pages_nodemask+0x391/0x410
[ 238.343407] pagecache_get_page+0xc3/0x3a0
[ 238.343757] filemap_fault+0x804/0xc30
[ 238.344083] ? ext4_filemap_fault+0x28/0x42
[ 238.344444] ext4_filemap_fault+0x30/0x42
[ 238.344789] __do_fault+0x37/0x1a0
[...
2019 Dec 10
1
[PATCH v2] virtio-balloon: fix managed page counts when migrating pages between zones
...e321-prebuilt.qemu4
> > [ 238.341121] Call Trace:
> > [ 238.341337] dump_stack+0x8f/0xd0
> > [ 238.341630] dump_header+0x61/0x5ea
> > [ 238.341942] oom_kill_process.cold+0xb/0x10
> > [ 238.342299] out_of_memory+0x24d/0x5a0
> > [ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
> > [ 238.343024] __alloc_pages_nodemask+0x391/0x410
> > [ 238.343407] pagecache_get_page+0xc3/0x3a0
> > [ 238.343757] filemap_fault+0x804/0xc30
> > [ 238.344083] ? ext4_filemap_fault+0x28/0x42
> > [ 238.344444] ext4_filemap_fault+0x30/...
2019 Jul 12
2
Out of memory: kill process
...ne, BIOS Hyper-V UEFI Release v1.0 11/26/2012
[762303.508357] Call Trace:
[762303.508366] dump_stack+0x5c/0x7b
[762303.508369] dump_header+0x6b/0x29c
[762303.508371] oom_kill_process+0x272/0x280
[762303.508372] ? oom_badness+0x23/0x130
[762303.508374] out_of_memory+0x10c/0x480
[762303.508377] __alloc_pages_slowpath+0x9d8/0xdb0
[762303.508380] ? blk_mq_make_request+0x28a/0x530
[762303.508382] __alloc_pages_nodemask+0x258/0x2a0
[762303.508386] alloc_pages_vma+0x7c/0x1d0
[762303.508390] __read_swap_cache_async+0x147/0x200
[762303.508392] read_swap_cache_async+0x28/0x60
[762303.508394] swap_cluster_readahea...
2020 Apr 02
0
Stacktrace from 5.4.26 kernel.
...785.581212] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
> [ 785.581251] Workqueue: ceph-msgr ceph_con_workfn [libceph]
> [ 785.581252] Call Trace:
> [ 785.581255] <IRQ>
> [ 785.581271] dump_stack+0x6d/0x95
> [ 785.581275] warn_alloc+0xfe/0x160
> [ 785.581277] __alloc_pages_slowpath+0xe07/0xe40
> [ 785.581282] ? dev_gro_receive+0x626/0x690
> [ 785.581284] __alloc_pages_nodemask+0x2cd/0x320
> [ 785.581287] alloc_pages_current+0x6a/0xe0
> [ 785.581298] skb_page_frag_refill+0xd4/0x100
> [ 785.581302] try_fill_recv+0x3ed/0x740 [virtio_net]
> [ 785.5813...
2019 Dec 05
0
[PATCH] virtio-balloon: fix managed page counts when migrating pages between zones
..., BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu4
> [ 238.341121] Call Trace:
> [ 238.341337] dump_stack+0x8f/0xd0
> [ 238.341630] dump_header+0x61/0x5ea
> [ 238.341942] oom_kill_process.cold+0xb/0x10
> [ 238.342299] out_of_memory+0x24d/0x5a0
> [ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
> [ 238.343024] __alloc_pages_nodemask+0x391/0x410
> [ 238.343407] pagecache_get_page+0xc3/0x3a0
> [ 238.343757] filemap_fault+0x804/0xc30
> [ 238.344083] ? ext4_filemap_fault+0x28/0x42
> [ 238.344444] ext4_filemap_fault+0x30/0x42
> [ 238.344789...
2019 Dec 10
0
[PATCH] virtio-balloon: fix managed page counts when migrating pages between zones
..., BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu4
> [ 238.341121] Call Trace:
> [ 238.341337] dump_stack+0x8f/0xd0
> [ 238.341630] dump_header+0x61/0x5ea
> [ 238.341942] oom_kill_process.cold+0xb/0x10
> [ 238.342299] out_of_memory+0x24d/0x5a0
> [ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
> [ 238.343024] __alloc_pages_nodemask+0x391/0x410
> [ 238.343407] pagecache_get_page+0xc3/0x3a0
> [ 238.343757] filemap_fault+0x804/0xc30
> [ 238.344083] ? ext4_filemap_fault+0x28/0x42
> [ 238.344444] ext4_filemap_fault+0x30/0x42
> [ 238.344789...
2019 Dec 10
0
[PATCH v2] virtio-balloon: fix managed page counts when migrating pages between zones
..., BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu4
> [ 238.341121] Call Trace:
> [ 238.341337] dump_stack+0x8f/0xd0
> [ 238.341630] dump_header+0x61/0x5ea
> [ 238.341942] oom_kill_process.cold+0xb/0x10
> [ 238.342299] out_of_memory+0x24d/0x5a0
> [ 238.342625] __alloc_pages_slowpath+0xd12/0x1020
> [ 238.343024] __alloc_pages_nodemask+0x391/0x410
> [ 238.343407] pagecache_get_page+0xc3/0x3a0
> [ 238.343757] filemap_fault+0x804/0xc30
> [ 238.344083] ? ext4_filemap_fault+0x28/0x42
> [ 238.344444] ext4_filemap_fault+0x30/0x42
> [ 238.344789...