[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <12714.1533295125@warthog.procyon.org.uk>
Date: Fri, 03 Aug 2018 12:18:45 +0100
From: David Howells <dhowells@...hat.com>
To: unlisted-recipients:; (no To-header on input)
Cc: dhowells@...hat.com, Kirill Tkhai <ktkhai@...tuozzo.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, vdavydov.dev@...il.com,
mhocko@...e.com, aryabinin@...tuozzo.com, ying.huang@...el.com,
penguin-kernel@...ove.SAKURA.ne.jp, willy@...radead.org,
shakeelb@...gle.com, jbacik@...com, linux-mm@...ck.org
Subject: Re: [PATCH] mm: Move check for SHRINKER_NUMA_AWARE to do_shrink_slab()
David Howells <dhowells@...hat.com> 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
Powered by blists - more mailing lists