Thread (75 messages) 75 messages, 9 authors, 2020-02-05

Re: [PATCH v6 08/10] mm/memory_hotplug: Don't check for "all holes" in shrink_zone_span()

From: David Hildenbrand <hidden>
Date: 2020-02-05 14:56:05
Also in: linux-arm-kernel, linux-mm, linux-s390, linux-sh, lkml

On 05.02.20 15:54, David Laight wrote:
From: Wei Yang
quoted
Sent: 05 February 2020 09:59
...
quoted
If it is me, I would like to take out these two similar logic out.

For example:

	if () {
	} else if () {
	} else {
		goto out;
	}
I'm pretty sure the kernel layout rules disallow 'else if'.
Huh?

git grep "else if" | wc -l
49336

I'm afraid I don't get what you mean :)

-- 
Thanks,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help