[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180529104855.vvrfdtbgrsqj27ga@sirius.home.kraxel.org>
Date: Tue, 29 May 2018 12:48:55 +0200
From: Gerd Hoffmann <kraxel@...hat.com>
To: dri-devel@...ts.freedesktop.org, David Airlie <airlied@...ux.ie>,
Tomeu Vizoso <tomeu.vizoso@...labora.com>,
Sumit Semwal <sumit.semwal@...aro.org>,
Shuah Khan <shuah@...nel.org>,
open list <linux-kernel@...r.kernel.org>,
"open list:DMA BUFFER SHARING FRAMEWORK"
<linux-media@...r.kernel.org>,
"moderated list:DMA BUFFER SHARING FRAMEWORK"
<linaro-mm-sig@...ts.linaro.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>
Subject: Re: [PATCH v3] Add udmabuf misc device
Hi,
> > > qemu test branch:
> > > https://git.kraxel.org/cgit/qemu/log/?h=sirius/udmabuf
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > > + if (!shmem_mapping(file_inode(ubuf->filp)->i_mapping))
> > > + goto err_free_ubuf;
>
> Can/should we test here that the memfd has a locked down size here?
Makes sense. Suggested way to check that? unstatic memfd_get_seals()
function (mm/shmem.c)? Or is there some better way?
Also which seals should we require? Is F_SEAL_SHRINK enough?
> On that: Link to userspace patches/git tree using this would be nice.
See above.
cheers,
Gerd
Powered by blists - more mailing lists