Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b02064a9 authored by Michael Holzheu's avatar Michael Holzheu Committed by Martin Schwidefsky
Browse files

s390/numa: write kernel message when emu_size has been increased

parent 5b5f1455
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -436,9 +436,15 @@ static void emu_update_cpu_topology(void)
 */
static unsigned long emu_setup_size_adjust(unsigned long size)
{
	unsigned long size_new;

	size = size ? : CONFIG_EMU_SIZE;
	size = roundup(size, memory_block_size_bytes());
	size_new = roundup(size, memory_block_size_bytes());
	if (size_new == size)
		return size;
	pr_warn("Increasing memory stripe size from %ld MB to %ld MB\n",
		size >> 20, size_new >> 20);
	return size_new;
}

/*