Skip to contentSkip to conversation

Why we always pass NULL to drain_local_pages() in drain_local_pages_wq()?

Question Wei Yang 1 participant 1 message Dec 7, 2018 Memory management

lore
Share & tools
lore

Wei Yang

author
#0 lore raw

Just took a look into the code of __offline_pages().

Even we may get the zone information, but it is never told to the WQ. This will leads to the WQ drain pcp for all zones, even some of them are not what we want to.

Curious about the background behind this.

Signature · 2 lines
Wei Yang
Help you, Help me