Content-Type: multipart/mixed; boundary="===============5471637714712053455==" MIME-Version: 1.0 From: Al Viro To: kbuild-all@lists.01.org Subject: Re: [PATCH v2] ovl: provide real_file() and overlayfs get_unmapped_area() Date: Thu, 11 Jun 2020 03:17:10 +0100 Message-ID: <20200611021710.GA23230@ZenIV.linux.org.uk> In-Reply-To: <20200611013616.GM19604@bombadil.infradead.org> List-Id: --===============5471637714712053455== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Wed, Jun 10, 2020 at 06:36:16PM -0700, Matthew Wilcox wrote: > while (file->f_mode & FMODE_OVL_UPPER) > file =3D file->private_data; > return file; > = > Or are you proposing that overlayfs copy FMODE_HUGEPAGES from the > underlying fs to the overlaying fs? The latter - that way nobody outside of overlayfs needs to know what its ->private_data points to, for one thing. And it's cheaper that way, obviously. --===============5471637714712053455==--