Thread (8 messages) 8 messages, 4 authors, 2014-03-17

Re: mmotm 2014-03-10-15-35 uploaded (virtio_balloon)

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2014-03-11 19:31:33
Also in: linux-fsdevel, linux-mm, lkml

On Tue, 11 Mar 2014 12:20:46 -0700 Josh Triplett [off-list ref] wrote:
quoted
quoted
ERROR: "balloon_devinfo_alloc" [drivers/virtio/virtio_balloon.ko] undefined!
ERROR: "balloon_page_enqueue" [drivers/virtio/virtio_balloon.ko] undefined!
ERROR: "balloon_page_dequeue" [drivers/virtio/virtio_balloon.ko] undefined!

when loadable module

or

virtio_balloon.c:(.text+0x1fa26): undefined reference to `balloon_page_enqueue'
virtio_balloon.c:(.text+0x1fb87): undefined reference to `balloon_page_dequeue'
virtio_balloon.c:(.text+0x1fdf1): undefined reference to `balloon_devinfo_alloc'

when builtin.
OK, thanks, I'll drop
http://ozlabs.org/~akpm/mmots/broken-out/mm-disable-mm-balloon_compactionc-completely-when-config_balloon_compaction.patch
Sorry about that; I missed that case in my testing.  It always seems
strange that the dependency goes that way around.

With virtio-balloon being the one and only user of this API, would it be
reasonable to just only compile in balloon_compaction.o when
CONFIG_VIRTIO_BALLOON?
Better to make VIRTIO_BALLOON depend on (or select) BALLOON_COMPACTION.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help