Re: [PATCH] mm: Move check for SHRINKER_NUMA_AWARE to do_shrink_slab()

From: David Howells
Date: Fri Aug 03 2018 - 07:18:51 EST


David Howells <dhowells@xxxxxxxxxx> wrote:

> But! I'm not sure why the reproducer works at all because the umount2() call
> is *after* the chroot, so should fail on ENOENT before it even gets that
> far.

No, it shouldn't. It did chroot() not chdir().

> In fact, umount2() can be called multiple times, apparently successfully, and
> doesn't actually unmount anything.

Okay, because it chroot'd into the directory. Should it return EBUSY though?

David