Skip to content

RFC do not depend on cpuhotplug logs in lru_add_drain_all

Michal Hocko linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2shmem: drop lru_add_drain_all from shmem_wait_for_pinsmm/shmem.c+1 -35 replies
2/2mm: drop hotplug lock from lru_add_drain_allinclude/linux/swap.h mm/memory_hotplug.c mm/page_alloc.c +1 more+6 -105 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] do not depend on cpuhotplug logs in lru_add_drain_all

Hi,
this is an RFC to drop get_online_cpus from lru_add_drain_all ad this has caused a very subtle lockdep splats recently [1]. I didn't get even to properly test this yet and I am sending it early to check whether the thinking behind is sound. I am basically following the same pattern we have used for removing get_online_cpus from drain_all_pages which should be the similar case.

Does anybody see any obvious problem?

[1] http://lkml.kernel.org/r/[email protected]

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>